diff --git a/ant/simple-project/.ci/build.sh b/ant/simple-project/.ci/build.sh index 2e135ac..571b1b4 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.11.0 +PMD_VERSION=7.12.0 BASEDIR="$(pwd)" mkdir -p tools diff --git a/custom-rules/maven-java/README.md b/custom-rules/maven-java/README.md index c27b9b8..92a39b2 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.11.0 + 7.12.0 ... diff --git a/custom-rules/maven-java/pom.xml b/custom-rules/maven-java/pom.xml index e255e77..2052847 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.11.0 + 7.12.0 7.10.0 diff --git a/custom-rules/maven-plsql/pom.xml b/custom-rules/maven-plsql/pom.xml index bbbdcc4..ecdb1c3 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.11.0 + 7.12.0 7.10.0 diff --git a/custom-rules/plain-java/.ci/build.sh b/custom-rules/plain-java/.ci/build.sh index 16fb15c..2ef2bbc 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.11.0 +PMD_VERSION=7.12.0 echo echo "=======================================================" diff --git a/custom-rules/plain-java/README.md b/custom-rules/plain-java/README.md index 4975022..a8bf25e 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.11.0-bin.zip: +2. Get the binary distribution of PMD from , e.g. pmd-dist-7.12.0-bin.zip: - $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.11.0/pmd-dist-7.11.0-bin.zip + $ wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F7.12.0/pmd-dist-7.12.0-bin.zip -3. Extract the zip file, e.g. `unzip pmd-dist-7.11.0-bin.zip` +3. Extract the zip file, e.g. `unzip pmd-dist-7.12.0-bin.zip` - $ unzip pmd-dist-7.11.0-bin.zip + $ unzip pmd-dist-7.12.0-bin.zip -4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.11.0`. +4. Now, the pmd binaries are installed under `~/code/pmd-bin-7.12.0`. - This also includes the libraries in `~/code/pmd-bin-7.11.0/lib`. + This also includes the libraries in `~/code/pmd-bin-7.12.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.11.0/lib/*' src/*.java + $ javac -d build -cp '../../../pmd-bin-7.12.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.11.0/bin/pmd check --no-cache -f text -d testsrc -R myrule.xml + $ CLASSPATH=custom-rule-example.jar ../../pmd-bin-7.12.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 dc87022..f8803ae 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.11.0" + toolVersion = "7.12.0" consoleOutput = true //ruleSets = ["category/java/errorprone.xml"] // default diff --git a/maven/simple-project/README.md b/maven/simple-project/README.md index 923a613..be17bcb 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.11.0-SNAPSHOT -Dpmd.plugin.version=3.27.0-SNAPSHOT + mvn clean verify -Dpmd.version=7.13.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 dc5c5af..2e729bf 100644 --- a/maven/simple-project/pom.xml +++ b/maven/simple-project/pom.xml @@ -11,7 +11,7 @@ UTF-8 3.26.0 - 7.11.0 + 7.12.0