diff --git a/ant/simple-project/.ci/build.sh b/ant/simple-project/.ci/build.sh index 8354b9a..d086ff1 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.17 -PMD_VERSION=7.24.0 +PMD_VERSION=7.25.0 BASEDIR="$(pwd)" mkdir -p tools diff --git a/custom-rules/maven-java/README.md b/custom-rules/maven-java/README.md index b97dcd7..10d14d5 100644 --- a/custom-rules/maven-java/README.md +++ b/custom-rules/maven-java/README.md @@ -57,7 +57,7 @@ The result is a zip file: `target/pmd-java-bin-1.0.0-SNAPSHOT.zip`. ```xml - 7.24.0 + 7.25.0 ... diff --git a/custom-rules/maven-java/pom.xml b/custom-rules/maven-java/pom.xml index 475249a..a049be0 100644 --- a/custom-rules/maven-java/pom.xml +++ b/custom-rules/maven-java/pom.xml @@ -14,7 +14,7 @@ UTF-8 8 ${java.version} - 7.24.0 + 7.25.0 7.19.2 diff --git a/custom-rules/maven-plsql/pom.xml b/custom-rules/maven-plsql/pom.xml index 950cd5d..4d29199 100644 --- a/custom-rules/maven-plsql/pom.xml +++ b/custom-rules/maven-plsql/pom.xml @@ -14,7 +14,7 @@ UTF-8 8 ${java.version} - 7.24.0 + 7.25.0 7.19.2 diff --git a/custom-rules/plain-java/.ci/build.sh b/custom-rules/plain-java/.ci/build.sh index de937c7..6fcdf25 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.24.0 +PMD_VERSION=7.25.0 echo echo "=======================================================" diff --git a/custom-rules/plain-java/README.md b/custom-rules/plain-java/README.md index 090634e..9e7518f 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.24.0-bin.zip: +2. Get the binary distribution of PMD from , e.g. pmd-dist-7.25.0-bin.zip: - $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.24.0/pmd-dist-7.24.0-bin.zip + $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.25.0/pmd-dist-7.24.0-bin.zip -3. Extract the zip file, e.g. `unzip pmd-dist-7.24.0-bin.zip` +3. Extract the zip file, e.g. `unzip pmd-dist-7.25.0-bin.zip` - $ unzip pmd-dist-7.24.0-bin.zip + $ unzip pmd-dist-7.25.0-bin.zip -4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.24.0`. +4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.25.0`. - This also includes the libraries in `~/code/pmd-bin-7.24.0/lib`. + This also includes the libraries in `~/code/pmd-bin-7.25.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.24.0/lib/*' src/*.java + $ javac -d build -cp '../../../pmd-bin-7.25.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.24.0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml + $ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.25.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 9859761..a2f2e91 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.24.0" + toolVersion = "7.25.0" consoleOutput = true //ruleSets = ["category/java/errorprone.xml"] // default diff --git a/maven/simple-project/pom.xml b/maven/simple-project/pom.xml index 48b415b..42e817c 100644 --- a/maven/simple-project/pom.xml +++ b/maven/simple-project/pom.xml @@ -11,7 +11,7 @@ UTF-8 3.28.0 - 7.24.0 + 7.25.0