Skip to content

Commit 47125b8

Browse files
authored
Bump pmd from 7.7.0 to 7.10.0 (#10)
1 parent 995d0f0 commit 47125b8

File tree

11 files changed

+23
-23
lines changed

11 files changed

+23
-23
lines changed

ant/simple-project/.ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
ANT_VERSION=1.10.15
7-
PMD_VERSION=7.7.0
7+
PMD_VERSION=7.10.0
88

99
BASEDIR="$(pwd)"
1010
mkdir -p tools

custom-rules/maven-java/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ The result is a zip file: `target/pmd-java-bin-1.0.0-SNAPSHOT.zip`.
5757

5858
```xml
5959
<properties>
60-
<pmd.version>7.7.0</pmd.version>
60+
<pmd.version>7.10.0</pmd.version>
6161
</properties>
6262
...
6363
<plugin>
6464
<groupId>org.apache.maven.plugins</groupId>
6565
<artifactId>maven-pmd-plugin</artifactId>
66-
<version>3.25.0</version>
66+
<version>3.26.0</version>
6767
<executions>
6868
<execution>
6969
<phase>verify</phase>

custom-rules/maven-java/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<java.version>8</java.version>
1616
<maven.compiler.release>${java.version}</maven.compiler.release>
17-
<pmd.version>7.7.0</pmd.version>
18-
<pmd-designer.version>7.2.0</pmd-designer.version>
17+
<pmd.version>7.10.0</pmd.version>
18+
<pmd-designer.version>7.10.0</pmd-designer.version>
1919
</properties>
2020

2121
<repositories>

custom-rules/maven-plsql/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<java.version>8</java.version>
1616
<maven.compiler.release>${java.version}</maven.compiler.release>
17-
<pmd.version>7.7.0</pmd.version>
18-
<pmd-designer.version>7.2.0</pmd-designer.version>
17+
<pmd.version>7.10.0</pmd.version>
18+
<pmd-designer.version>7.10.0</pmd-designer.version>
1919
</properties>
2020

2121
<repositories>

custom-rules/plain-java/.ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55
java -version
66

7-
PMD_VERSION=7.7.0
7+
PMD_VERSION=7.10.0
88

99
echo
1010
echo "======================================================="

custom-rules/plain-java/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ Just with `javac` and `jar`.
1111

1212
For the following steps, it is assumed, you are in that directory.
1313

14-
2. Get the binary distribution of PMD from <https://github.com/pmd/pmd/releases>, e.g. pmd-dist-7.7.0-bin.zip:
14+
2. Get the binary distribution of PMD from <https://github.com/pmd/pmd/releases>, e.g. pmd-dist-7.10.0-bin.zip:
1515

16-
$ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.7.0/pmd-dist-7.7.0-bin.zip
16+
$ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.10.0/pmd-dist-7.10.0-bin.zip
1717

18-
3. Extract the zip file, e.g. `unzip pmd-dist-7.7.0-bin.zip`
18+
3. Extract the zip file, e.g. `unzip pmd-dist-7.10.0-bin.zip`
1919

20-
$ unzip pmd-dist-7.7.0-bin.zip
20+
$ unzip pmd-dist-7.10.0-bin.zip
2121

22-
4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.7.0`.
22+
4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.10.0`.
2323

24-
This also includes the libraries in `~/code/pmd-bin-7.7.0/lib`.
24+
This also includes the libraries in `~/code/pmd-bin-7.10.0/lib`.
2525

2626
## Get the code from this example and build it
2727

@@ -37,7 +37,7 @@ Just with `javac` and `jar`.
3737

3838
3. Compile the sources, that are located in `src`, using the PMD libraries
3939

40-
$ javac -d build -cp '../../../pmd-bin-7.7.0/lib/*' src/*.java
40+
$ javac -d build -cp '../../../pmd-bin-7.10.0/lib/*' src/*.java
4141

4242
4. Create a jar file
4343

@@ -48,5 +48,5 @@ Just with `javac` and `jar`.
4848

4949
1. Run PMD with the just created jar file on the classpath, e.g. on the folder `testsrc`
5050

51-
$ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.7.0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml
51+
$ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.10.0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml
5252
/home/andreas/code/pmd-examples/testsrc/Test.java:2: Avoid the identifier foo.

gradle/simple-project/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ tasks.named('test') {
4747
}
4848

4949
pmd {
50-
toolVersion = "7.7.0"
50+
toolVersion = "7.10.0"
5151
consoleOutput = true
5252

5353
//ruleSets = ["category/java/errorprone.xml"] // default

gradle/simple-project/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[versions]
55
guava = "32.1.3-jre"
6-
junit-jupiter = "5.10.0"
6+
junit-jupiter = "5.11.4"
77

88
[libraries]
99
guava = { module = "com.google.guava:guava", version.ref = "guava" }

gradle/simple-project/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

maven/simple-project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This should find the following violations in Main.java:
1313

1414
Run with
1515

16-
mvn clean verify -Dpmd.version=7.0.0-SNAPSHOT -Dpmd.plugin.version=3.15.0-SNAPSHOT
16+
mvn clean verify -Dpmd.version=7.11.0-SNAPSHOT -Dpmd.plugin.version=3.27.0-SNAPSHOT
1717

1818
in order to set specific version for PMD and/or maven-pmd-plugin.
1919

0 commit comments

Comments
 (0)