diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 94a5e3bd..b4315f44 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -13,7 +13,9 @@ runs: - name: Cache local Maven repository uses: actions/cache@v4 with: - path: ~/.m2/repository + path: | + ~/.m2/repository + net.sourceforge.pmd.eclipse.plugin/japicmp-data # re-cache on changes in the pom and target files key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.target') }} restore-keys: | diff --git a/.gitignore b/.gitignore index 26068c8f..ffd60c45 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ target/ .pmd .ruleset .pmdruleset.xml +net.sourceforge.pmd.eclipse.plugin/japicmp-data diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 1b7c0d15..d0abb2c3 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -14,6 +14,7 @@ This is a minor release. ### New and noteworthy ### Fixed Issues +* [#192](https://github.com/pmd/pmd-eclipse-plugin/pull/192): Add japicmp ### API Changes diff --git a/net.sourceforge.pmd.eclipse.plugin/pom.xml b/net.sourceforge.pmd.eclipse.plugin/pom.xml index 199d3043..f22759a8 100644 --- a/net.sourceforge.pmd.eclipse.plugin/pom.xml +++ b/net.sourceforge.pmd.eclipse.plugin/pom.xml @@ -110,6 +110,66 @@ checkstyle-suppressions.xml + + org.apache.maven.plugins + maven-antrun-plugin + 3.1.0 + + + verify + + + + + + + + + + run + + + + + + com.github.siom79.japicmp + japicmp-maven-plugin + + + + ${project.basedir}/japicmp-data/net.sourceforge.pmd.eclipse.p2updatesite-7.0.0.v20240322-0920-r/plugins/net.sourceforge.pmd.eclipse.plugin_7.0.0.v20240322-0920-r.jar + + + + + ${project.build.directory}/${project.artifactId}-${project.version}.jar + + + + true + true + + net.sourceforge.pmd.eclipse.core.internal + net.sourceforge.pmd.eclipse.logging.internal + net.sourceforge.pmd.eclipse.runtime.cmd.internal + net.sourceforge.pmd.eclipse.ui.actions.internal + net.sourceforge.pmd.eclipse.util.internal + + + + + + japicmp + verify + + cmp + + + + diff --git a/pom.xml b/pom.xml index 92e02769..20896c97 100644 --- a/pom.xml +++ b/pom.xml @@ -428,6 +428,11 @@ + + com.github.siom79.japicmp + japicmp-maven-plugin + 0.20.0 + org.eclipse.m2e