Skip to content

Commit 765df31

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 6f0d90e + a471f09 commit 765df31

File tree

334 files changed

+4902
-5142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+4902
-5142
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/maven.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
java: [ '11', '17', '21' ]
31-
name: Java ${{ matrix.Java }} build
30+
java: [ 11, 17, 21, 24 ]
31+
name: Java ${{ matrix.java }} build
3232

3333
steps:
3434
- uses: actions/checkout@v4
35-
- name: Set up JDK ${{ matrix.Java }}
35+
- name: Set up JDK ${{ matrix.java }}
3636
uses: actions/setup-java@v4
3737
with:
38-
java-version: ${{ matrix.Java }}
38+
java-version: ${{ matrix.java }}
3939
distribution: 'adopt'
40-
server-id: ossrh
40+
server-id: central
4141
server-username: MAVEN_USERNAME
4242
server-password: MAVEN_PASSWORD
4343

@@ -50,12 +50,12 @@ jobs:
5050
${{ runner.os }}-maven-
5151
5252
- name: Publish to the Maven Central Repository
53-
run: mvn --batch-mode --update-snapshots deploy
54-
if: matrix.Java == 11
53+
run: mvn --batch-mode --update-snapshots -P release-snapshot deploy
54+
if: matrix.java == 11
5555
env:
5656
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
5757
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
5858

5959
- name: Maven Build
6060
run: mvn --batch-mode --update-snapshots install
61-
if: matrix.Java != 11
61+
if: matrix.java != 11

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.helger/ph-css/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.helger/ph-css)
44
[![javadoc](https://javadoc.io/badge2/com.helger/ph-css/javadoc.svg)](https://javadoc.io/doc/com.helger/ph-css)
55
[![CodeCov](https://codecov.io/gh/phax/ph-css/branch/master/graph/badge.svg)](https://codecov.io/gh/phax/ph-css)
6+
[![libs.tech recommends](https://libs.tech/project/23304527/badge.svg)](https://libs.tech/project/23304527/ph-css)
67

78
Java CSS 2 and CSS 3 parser and builder. This version supersedes phloc-css.
89
The Maven plugin to compress CSS files at build time is located in sub-project ph-csscompress-maven-plugin and described further down.

ph-css/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,22 @@
167167
<doclint>none</doclint>
168168
</configuration>
169169
</plugin>
170+
<plugin>
171+
<groupId>com.mycila</groupId>
172+
<artifactId>license-maven-plugin</artifactId>
173+
<configuration>
174+
<strictCheck>true</strictCheck>
175+
<encoding>${project.build.sourceEncoding}</encoding>
176+
<licenseSets>
177+
<licenseSet>
178+
<header>src/etc/license-template.txt</header>
179+
<excludes>
180+
<exclude>src/test/resources/**/*utf16*.css</exclude>
181+
</excludes>
182+
</licenseSet>
183+
</licenseSets>
184+
</configuration>
185+
</plugin>
170186
</plugins>
171187
</build>
172188
</project>

ph-css/src/main/jjtree/ParserCSS30.jjt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2014-2023 Philip Helger (www.helger.com)
2+
* Copyright (C) 2014-2025 Philip Helger (www.helger.com)
33
* philip[at]helger[dot]com
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

ph-css/src/main/jjtree/ParserCSSCharsetDetector.jjt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2014-2023 Philip Helger (www.helger.com)
2+
* Copyright (C) 2014-2025 Philip Helger (www.helger.com)
33
* philip[at]helger[dot]com
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

ph-css/src/test/resources/testfiles/css21/good/themes/a11y/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
====
2-
Copyright (C) 2014-2023 Philip Helger (www.helger.com)
2+
Copyright (C) 2014-2025 Philip Helger (www.helger.com)
33
philip[at]helger[dot]com
44

55
Licensed under the Apache License, Version 2.0 (the "License");

ph-css/src/test/resources/testfiles/css30/bad_but_browsercompliant/external/namespace/syntax-004.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2014-2023 Philip Helger (www.helger.com)
2+
* Copyright (C) 2014-2025 Philip Helger (www.helger.com)
33
* philip[at]helger[dot]com
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

ph-css/src/test/resources/testfiles/css30/bad_but_browsercompliant/external/namespace/syntax-006.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2014-2023 Philip Helger (www.helger.com)
2+
* Copyright (C) 2014-2025 Philip Helger (www.helger.com)
33
* philip[at]helger[dot]com
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

ph-css/src/test/resources/testfiles/css30/bad_but_browsercompliant/external/namespace/syntax-013a.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (C) 2014-2023 Philip Helger (www.helger.com)
2+
* Copyright (C) 2014-2025 Philip Helger (www.helger.com)
33
* philip[at]helger[dot]com
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)