This is an automated email from the ASF dual-hosted git repository.
adangel pushed a change to branch pmd7
in repository https://gitbox.apache.org/repos/asf/maven-pmd-plugin.git
discard 0266383 Fix deprecate rule reference
discard 8a2aa0c Add separate testcase to detect deprecated rules
discard e0ecdc6 Fix integration test MPMD-243-excludeFromFailureFile
discard 36db393 Improve logging integration
discard 264d738 Fix integration tests
discard be6b013 Upgrade to PMD 7
add 66aa083 Bump animal-sniffer-maven-plugin from 1.16 to 1.21
add cc79513 Bump plexus-resources from 1.1.0 to 1.2.0
add 94b6da1 Bump commons-lang3 from 3.8.1 to 3.12.0
add b97b2a4 [MPMD-345] - Upgrade to PMD 6.47.0
add 2404708 [SECURITY] Fix Partial Path Traversal Vulnerability
add 5a0ae88 Bump maven-plugins from 36 to 37
add 10d345c [MPMD-347] - Upgrade to PMD 6.48.0
add 2ecd578 [MPMD-348] - Support Java 19
add 1740f00 (doc) Update releasenotes.md
add 2b7d2d7 [MPMD-349] Upgrade Maven Reporting API to 3.1.1/Maven
Reporting Impl to 3.2.0
add a28c27d [MPMD-350] Upgrade Maven Shared Utils to 3.3.4
add b62992f [MPMD-351] Upgrade Maven Artifact Transfer to 0.13.1
add 614f1a9 [MPMD-352] Upgrade Maven Common Artifact Filters to 3.3.1
add 23f5f39 [maven-release-plugin] prepare release maven-pmd-plugin-3.18.0
add 37c12f6 [maven-release-plugin] prepare for next development iteration
add b55fb9a (doc) Update releasenotes.md
add 584ac6d Bump release-drafter/release-drafter from 5.20.0 to 5.20.1
(#86)
add 1d7a2fb Set next dev version to 3.19.0-SNAPSHOT
add 7b4c330 [MPMD-353] - API incompatibility with jansi after upgrading
m-shared-utils (#91)
add ebd3579 [MPMD-354] - Upgrade to PMD 6.49.0 (#92)
add 68b7ed9 Bump wiremock from 1.49 to 2.27.2 (#57)
add e8b49f4 Bump animal-sniffer-maven-plugin from 1.21 to 1.22 (#88)
add d9be919 (doc) Update releasenotes.md
add 0781fc8 (doc) Update release notes [skip ci]
add 7033e9d [maven-release-plugin] prepare release maven-pmd-plugin-3.19.0
add 5634604 [maven-release-plugin] prepare for next development iteration
add e947369 Bump release-drafter/release-drafter from 5.20.1 to 5.21.0
(#93)
add 2ca4c8f Bump maven-common-artifact-filters from 3.3.1 to 3.3.2 (#95)
add 1d1116e [MPMD-356] - Upgrade to PMD 6.50.0 (#98)
add 8db6bb5 Bump release-drafter/release-drafter from 5.21.0 to 5.21.1
(#99)
add 7b6623b [MPMD-357] - Upgrade to PMD 6.51.0 (#100)
add 92434d0 add Reproducible Builds badge
add cd954cc [MPMD-335] - Aggregate mode doesn't use additional
repositories
add 255a35a (doc) Update releasenotes.md
add 1dcc7c1 Set next development version to 3.20.0-SNAPSHOT
add 6ee27fc [MPMD-358] - Upgrade to PMD 6.52.0 (#104)
add 3c7a47e Remove method available from super class
add b65c7a6 [MPMD-360] - Upgrade to PMD 6.53.0 (#109)
add f3e188a [MPMD-361] Explicitly start and end tables with Doxia Sinks
in report renderers
add 55c4d40 [maven-release-plugin] prepare release maven-pmd-plugin-3.20.0
add e6f88da [maven-release-plugin] prepare for next development iteration
add 806c49d (doc) Update releasenotes.md [skip ci]
new 98539a1 Upgrade to PMD 7
new 815723c Fix integration tests
new f7e7c78 Improve logging integration
new 7f96dcf Fix integration test MPMD-243-excludeFromFailureFile
new a8db485 Add separate testcase to detect deprecated rules
new e142d5b Fix deprecate rule reference
new 3119228 Fix compile errors and test failures
new 6eb1886 Fix integration tests
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (0266383)
\
N -- N -- N refs/heads/pmd7 (6eb1886)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/release-drafter.yml | 2 +-
README.md | 1 +
pom.xml | 76 ++++--
src/it/MPMD-128-xref-link/pom.xml | 2 +-
src/it/MPMD-172/pom.xml | 2 +-
src/it/MPMD-219-pmd-processing-error/verify.groovy | 3 +-
src/it/MPMD-244-logging/verify.groovy | 6 +-
src/it/MPMD-253-xref-link-multi-module/pom.xml | 2 +-
src/it/MPMD-268-deprecated-rules/verify.groovy | 2 +-
src/it/MPMD-270-325-JDK11/pom.xml | 1 -
src/it/MPMD-280-JDK12/pom.xml | 1 -
src/it/MPMD-289-format-html-check/pom.xml | 5 +-
src/it/MPMD-295-JDK13/pom.xml | 1 -
src/it/MPMD-302-JDK14/pom.xml | 1 -
src/it/MPMD-302-JDK15/pom.xml | 1 -
src/it/MPMD-304-toolchain-support/pom.xml | 1 -
src/it/MPMD-312-JDK16/pom.xml | 1 -
src/it/MPMD-312-JDK17/pom.xml | 1 -
src/it/MPMD-332-JDK18/pom.xml | 1 -
.../invoker.properties} | 2 +-
.../mpmd335-module1}/pom.xml | 32 +--
.../src/main/java/org/example/Foo.java} | 5 +-
.../pom.xml | 36 +--
.../mpmd335-dependency1-1.0.0-SNAPSHOT.pom} | 19 +-
.../verify.groovy | 7 +-
.../invoker.properties | 11 +-
.../pom.xml | 20 +-
.../src/main/java/com/mycompany/app/App.java | 0
.../src/main/java/com/mycompany/app/Foo.java | 0
.../verify.groovy | 0
src/it/empty-rulesets/pom.xml | 1 -
src/it/mpmd-168-empty-report/pom.xml | 7 +-
src/it/mpmd-168/pom.xml | 7 +-
.../maven/plugins/pmd/AbstractPmdReport.java | 82 +-----
.../org/apache/maven/plugins/pmd/CpdReport.java | 60 +----
.../maven/plugins/pmd/CpdReportGenerator.java | 2 +
.../maven/plugins/pmd/PmdCollectingRenderer.java | 6 +-
.../org/apache/maven/plugins/pmd/PmdReport.java | 54 +---
.../maven/plugins/pmd/PmdReportGenerator.java | 6 +
.../apache/maven/plugins/pmd/exec/CpdExecutor.java | 2 +-
.../apache/maven/plugins/pmd/exec/CpdRequest.java | 11 -
.../apache/maven/plugins/pmd/exec/Executor.java | 4 +-
.../apache/maven/plugins/pmd/exec/PmdExecutor.java | 2 +-
.../apache/maven/plugins/pmd/exec/PmdRequest.java | 11 -
.../apt/examples/upgrading-PMD-at-runtime.apt.vm | 6 +
src/site/apt/usage.apt.vm | 4 +-
src/site/markdown/releasenotes.md | 84 ++++++
.../maven/plugins/pmd/AbstractPmdReportTest.java | 113 --------
.../plugins/pmd/AbstractPmdReportTestCase.java | 168 ++++++++++++
.../apache/maven/plugins/pmd/CpdReportTest.java | 147 ++++-------
.../plugins/pmd/CpdViolationCheckMojoTest.java | 26 +-
.../plugins/pmd/DependencyArtifactStubFactory.java | 69 +++++
.../apache/maven/plugins/pmd/PmdReportTest.java | 289 +++++++--------------
.../plugins/pmd/PmdViolationCheckMojoTest.java | 40 +--
.../stubs/CustomConfigurationMavenProjectStub.java | 3 +-
.../DefaultConfigurationMavenProjectStub.java | 3 +-
.../pmd/stubs/InvalidFormatMavenProjectStub.java | 3 +-
...rtifactHandlerStub.java => PmdProjectStub.java} | 35 +--
.../cpd-custom-configuration-plugin-config.xml | 3 +-
.../cpd-txt-format-configuration-plugin-config.xml | 4 +-
.../custom-configuration-plugin-config.xml | 6 +-
.../custom-configuration/skip-plugin-config.xml | 4 +-
.../cpd-default-configuration-plugin-config.xml | 4 +-
.../cpd-encoding-configuration-plugin-config.xml | 4 +-
.../cpd-javascript-plugin-config.xml | 4 +-
.../cpd-jsp-plugin-config.xml | 4 +-
...-cpd-exclusions-configuration-plugin-config.xml | 4 +-
...pd-report-include-xml-in-site-plugin-config.xml | 4 +-
.../default-configuration-plugin-config.xml | 4 +-
.../javascript-configuration-plugin-config.xml | 3 +-
.../jsp-configuration-plugin-config.xml | 3 +-
.../pmd-report-custom-rules.xml | 3 +-
...md-report-include-xml-in-site-plugin-config.xml | 4 +-
...pmd-report-no-render-violations-by-priority.xml | 4 +-
...port-not-render-rule-priority-plugin-config.xml | 5 +-
...-pmd-exclusions-configuration-plugin-config.xml | 4 +-
.../pmd-report-resolve-rulesets.xml | 3 +-
.../pmd-with-analysis-cache-plugin-config.xml | 4 +-
...with-suppressMarker-no-render-plugin-config.xml | 5 +-
.../pmd-with-suppressMarker-plugin-config.xml | 5 +-
.../cpd-empty-report-plugin-config.xml | 3 +-
.../cpd-skip-empty-report-plugin-config.xml | 2 +-
.../empty-report/empty-report-plugin-config.xml | 3 +-
.../skip-empty-report-plugin-config.xml | 2 +-
.../pmd-exclude-roots-plugin-config.xml | 5 +-
.../invalid-format-plugin-config.xml | 2 +-
.../invalid-target-jdk-plugin-config.xml | 3 +-
...md-processing-error-no-report-plugin-config.xml | 3 +-
.../pmd-processing-error-plugin-config.xml | 2 +-
.../pmd-processing-error-skip-plugin-config.xml | 3 +-
90 files changed, 748 insertions(+), 855 deletions(-)
copy src/it/{MPMD-172/src/main/resources/my.properties =>
MPMD-335-aggregate-classpath-repositories/invoker.properties} (97%)
copy src/it/{MPMD-259-analysis-cache-auxclasspath/missing-compile =>
MPMD-335-aggregate-classpath-repositories/mpmd335-module1}/pom.xml (65%)
copy src/it/{MPMD-187/src/main/java/App.java =>
MPMD-335-aggregate-classpath-repositories/mpmd335-module1/src/main/java/org/example/Foo.java}
(95%)
copy src/it/{MPMD-323-ruleset-basedir-jgitver =>
MPMD-335-aggregate-classpath-repositories}/pom.xml (63%)
copy src/it/{mpmd-138/mod-2/pom.xml =>
MPMD-335-aggregate-classpath-repositories/private-repo/org/apache/maven/plugins/pmd/it/mpmd335-dependency1/1.0.0-SNAPSHOT/mpmd335-dependency1-1.0.0-SNAPSHOT.pom}
(78%)
copy src/it/{MPMD-163 =>
MPMD-335-aggregate-classpath-repositories}/verify.groovy (73%)
copy src/it/{MPMD-304-toolchain-support => MPMD-348-JDK19}/invoker.properties
(76%)
copy src/it/{MPMD-304-toolchain-support => MPMD-348-JDK19}/pom.xml (86%)
copy src/it/{MPMD-270-325-JDK11 =>
MPMD-348-JDK19}/src/main/java/com/mycompany/app/App.java (100%)
copy src/it/{MPMD-270-325-JDK11 =>
MPMD-348-JDK19}/src/main/java/com/mycompany/app/Foo.java (100%)
copy src/it/{MPMD-270-325-JDK11 => MPMD-348-JDK19}/verify.groovy (100%)
delete mode 100644
src/test/java/org/apache/maven/plugins/pmd/AbstractPmdReportTest.java
create mode 100644
src/test/java/org/apache/maven/plugins/pmd/AbstractPmdReportTestCase.java
create mode 100644
src/test/java/org/apache/maven/plugins/pmd/DependencyArtifactStubFactory.java
copy
src/test/java/org/apache/maven/plugins/pmd/stubs/{DefaultArtifactHandlerStub.java
=> PmdProjectStub.java} (50%)