From 67d8c3dd7a7ff5b9e658c8fa8ac7daeddc582b96 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 12 Apr 2024 20:36:16 +0200 Subject: [PATCH 1/2] Add japicmp --- .github/actions/setup/action.yml | 4 +- .gitignore | 1 + net.sourceforge.pmd.eclipse.plugin/pom.xml | 60 ++++++++++++++++++++++ pom.xml | 5 ++ 4 files changed, 69 insertions(+), 1 deletion(-) 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/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 From 63fe2123dbcc11b818c6bfcf2f6e15698fe909f6 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 19 Apr 2024 08:51:12 +0200 Subject: [PATCH 2/2] [doc] Update release notes (#192) --- ReleaseNotes.md | 1 + 1 file changed, 1 insertion(+) 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