File tree Expand file tree Collapse file tree 5 files changed +70
-1
lines changed
net.sourceforge.pmd.eclipse.plugin Expand file tree Collapse file tree 5 files changed +70
-1
lines changed Original file line number Diff line number Diff line change 1313 - name : Cache local Maven repository
1414 uses : actions/cache@v4
1515 with :
16- path : ~/.m2/repository
16+ path : |
17+ ~/.m2/repository
18+ net.sourceforge.pmd.eclipse.plugin/japicmp-data
1719 # re-cache on changes in the pom and target files
1820 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.target') }}
1921 restore-keys : |
Original file line number Diff line number Diff line change 66.pmd
77.ruleset
88.pmdruleset.xml
9+ net.sourceforge.pmd.eclipse.plugin /japicmp-data
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ This is a minor release.
1414### New and noteworthy
1515
1616### Fixed Issues
17+ * [ #192 ] ( https://github.com/pmd/pmd-eclipse-plugin/pull/192 ) : Add japicmp
1718
1819### API Changes
1920
Original file line number Diff line number Diff line change 110110 <suppressionsLocation >checkstyle-suppressions.xml</suppressionsLocation >
111111 </configuration >
112112 </plugin >
113+ <plugin >
114+ <groupId >org.apache.maven.plugins</groupId >
115+ <artifactId >maven-antrun-plugin</artifactId >
116+ <version >3.1.0</version >
117+ <executions >
118+ <execution >
119+ <phase >verify</phase >
120+ <configuration >
121+ <target description =" Download previous plugin version for japicmp"
122+ unless =" japicmp.skip" >
123+ <property name =" oldVersion" value =" 7.0.0.v20240322-0920-r" />
124+ <mkdir dir =" ${project.basedir}/japicmp-data/net.sourceforge.pmd.eclipse.p2updatesite-${oldVersion}" />
125+ <get src =" https://github.com/pmd/pmd-eclipse-plugin/releases/download/${oldVersion}/net.sourceforge.pmd.eclipse.p2updatesite-${oldVersion}.zip"
126+ dest =" ${project.basedir}/japicmp-data/" skipexisting =" true" />
127+ <unzip src =" ${project.basedir}/japicmp-data/net.sourceforge.pmd.eclipse.p2updatesite-${oldVersion}.zip"
128+ dest =" ${project.basedir}/japicmp-data/net.sourceforge.pmd.eclipse.p2updatesite-${oldVersion}/" />
129+ </target >
130+ </configuration >
131+ <goals >
132+ <goal >run</goal >
133+ </goals >
134+ </execution >
135+ </executions >
136+ </plugin >
137+ <plugin >
138+ <groupId >com.github.siom79.japicmp</groupId >
139+ <artifactId >japicmp-maven-plugin</artifactId >
140+ <configuration >
141+ <oldVersion >
142+ <file >
143+ <path >${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</path >
144+ </file >
145+ </oldVersion >
146+ <newVersion >
147+ <file >
148+ <path >${project.build.directory} /${project.artifactId} -${project.version} .jar</path >
149+ </file >
150+ </newVersion >
151+ <parameter >
152+ <breakBuildBasedOnSemanticVersioning >true</breakBuildBasedOnSemanticVersioning >
153+ <onlyModified >true</onlyModified >
154+ <excludes >
155+ <exclude >net.sourceforge.pmd.eclipse.core.internal</exclude >
156+ <exclude >net.sourceforge.pmd.eclipse.logging.internal</exclude >
157+ <exclude >net.sourceforge.pmd.eclipse.runtime.cmd.internal</exclude >
158+ <exclude >net.sourceforge.pmd.eclipse.ui.actions.internal</exclude >
159+ <exclude >net.sourceforge.pmd.eclipse.util.internal</exclude >
160+ </excludes >
161+ </parameter >
162+ </configuration >
163+ <executions >
164+ <execution >
165+ <id >japicmp</id >
166+ <phase >verify</phase >
167+ <goals >
168+ <goal >cmp</goal >
169+ </goals >
170+ </execution >
171+ </executions >
172+ </plugin >
113173 </plugins >
114174 <pluginManagement >
115175 <plugins >
Original file line number Diff line number Diff line change 428428 </dependency >
429429 </dependencies >
430430 </plugin >
431+ <plugin >
432+ <groupId >com.github.siom79.japicmp</groupId >
433+ <artifactId >japicmp-maven-plugin</artifactId >
434+ <version >0.20.0</version >
435+ </plugin >
431436 <!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
432437 <plugin >
433438 <groupId >org.eclipse.m2e</groupId >
You can’t perform that action at this time.
0 commit comments