diff --git a/ant/simple-project/.ci/build.sh b/ant/simple-project/.ci/build.sh index c26e608..6863cd5 100755 --- a/ant/simple-project/.ci/build.sh +++ b/ant/simple-project/.ci/build.sh @@ -4,7 +4,7 @@ set -e ANT_VERSION=1.10.15 -PMD_VERSION=7.7.0 +PMD_VERSION=7.10.0 BASEDIR="$(pwd)" mkdir -p tools diff --git a/custom-rules/maven-java/README.md b/custom-rules/maven-java/README.md index 73cc5c4..efc4c12 100644 --- a/custom-rules/maven-java/README.md +++ b/custom-rules/maven-java/README.md @@ -57,13 +57,13 @@ The result is a zip file: `target/pmd-java-bin-1.0.0-SNAPSHOT.zip`. ```xml - 7.7.0 + 7.10.0 ... org.apache.maven.plugins maven-pmd-plugin - 3.25.0 + 3.26.0 verify diff --git a/custom-rules/maven-java/pom.xml b/custom-rules/maven-java/pom.xml index 9a328da..4016e5d 100644 --- a/custom-rules/maven-java/pom.xml +++ b/custom-rules/maven-java/pom.xml @@ -14,8 +14,8 @@ UTF-8 8 ${java.version} - 7.7.0 - 7.2.0 + 7.10.0 + 7.10.0 diff --git a/custom-rules/maven-plsql/pom.xml b/custom-rules/maven-plsql/pom.xml index 48b95b8..9e96211 100644 --- a/custom-rules/maven-plsql/pom.xml +++ b/custom-rules/maven-plsql/pom.xml @@ -14,8 +14,8 @@ UTF-8 8 ${java.version} - 7.7.0 - 7.2.0 + 7.10.0 + 7.10.0 diff --git a/custom-rules/plain-java/.ci/build.sh b/custom-rules/plain-java/.ci/build.sh index 1b41a34..268c4c5 100755 --- a/custom-rules/plain-java/.ci/build.sh +++ b/custom-rules/plain-java/.ci/build.sh @@ -4,7 +4,7 @@ set -e java -version -PMD_VERSION=7.7.0 +PMD_VERSION=7.10.0 echo echo "=======================================================" diff --git a/custom-rules/plain-java/README.md b/custom-rules/plain-java/README.md index 4250337..dbc7d96 100644 --- a/custom-rules/plain-java/README.md +++ b/custom-rules/plain-java/README.md @@ -11,17 +11,17 @@ Just with `javac` and `jar`. For the following steps, it is assumed, you are in that directory. -2. Get the binary distribution of PMD from , e.g. pmd-dist-7.7.0-bin.zip: +2. Get the binary distribution of PMD from , e.g. pmd-dist-7.10.0-bin.zip: - $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.7.0/pmd-dist-7.7.0-bin.zip + $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.10.0/pmd-dist-7.10.0-bin.zip -3. Extract the zip file, e.g. `unzip pmd-dist-7.7.0-bin.zip` +3. Extract the zip file, e.g. `unzip pmd-dist-7.10.0-bin.zip` - $ unzip pmd-dist-7.7.0-bin.zip + $ unzip pmd-dist-7.10.0-bin.zip -4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.7.0`. +4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.10.0`. - This also includes the libraries in `~/code/pmd-bin-7.7.0/lib`. + This also includes the libraries in `~/code/pmd-bin-7.10.0/lib`. ## Get the code from this example and build it @@ -37,7 +37,7 @@ Just with `javac` and `jar`. 3. Compile the sources, that are located in `src`, using the PMD libraries - $ javac -d build -cp '../../../pmd-bin-7.7.0/lib/*' src/*.java + $ javac -d build -cp '../../../pmd-bin-7.10.0/lib/*' src/*.java 4. Create a jar file @@ -48,5 +48,5 @@ Just with `javac` and `jar`. 1. Run PMD with the just created jar file on the classpath, e.g. on the folder `testsrc` - $ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.7.0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml + $ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.10.0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml /home/andreas/code/pmd-examples/testsrc/Test.java:2: Avoid the identifier foo. diff --git a/gradle/simple-project/app/build.gradle b/gradle/simple-project/app/build.gradle index c0646c1..79a62cc 100644 --- a/gradle/simple-project/app/build.gradle +++ b/gradle/simple-project/app/build.gradle @@ -47,7 +47,7 @@ tasks.named('test') { } pmd { - toolVersion = "7.7.0" + toolVersion = "7.10.0" consoleOutput = true //ruleSets = ["category/java/errorprone.xml"] // default diff --git a/gradle/simple-project/gradle/libs.versions.toml b/gradle/simple-project/gradle/libs.versions.toml index f36c2f1..5d32d8d 100644 --- a/gradle/simple-project/gradle/libs.versions.toml +++ b/gradle/simple-project/gradle/libs.versions.toml @@ -3,7 +3,7 @@ [versions] guava = "32.1.3-jre" -junit-jupiter = "5.10.0" +junit-jupiter = "5.11.4" [libraries] guava = { module = "com.google.guava:guava", version.ref = "guava" } diff --git a/gradle/simple-project/gradle/wrapper/gradle-wrapper.properties b/gradle/simple-project/gradle/wrapper/gradle-wrapper.properties index df97d72..e18bc25 100644 --- a/gradle/simple-project/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/simple-project/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/maven/simple-project/README.md b/maven/simple-project/README.md index f1b20e6..923a613 100644 --- a/maven/simple-project/README.md +++ b/maven/simple-project/README.md @@ -13,7 +13,7 @@ This should find the following violations in Main.java: Run with - mvn clean verify -Dpmd.version=7.0.0-SNAPSHOT -Dpmd.plugin.version=3.15.0-SNAPSHOT + mvn clean verify -Dpmd.version=7.11.0-SNAPSHOT -Dpmd.plugin.version=3.27.0-SNAPSHOT in order to set specific version for PMD and/or maven-pmd-plugin. diff --git a/maven/simple-project/pom.xml b/maven/simple-project/pom.xml index 2a736b7..1d3d2ea 100644 --- a/maven/simple-project/pom.xml +++ b/maven/simple-project/pom.xml @@ -10,8 +10,8 @@ ${java.version} UTF-8 - 3.25.0 - 7.7.0 + 3.26.0 + 7.10.0 @@ -19,7 +19,7 @@ maven-compiler-plugin - 3.12.1 + 3.13.0