Skip to content

Commit

Permalink
use specific plugin version to generate report
Browse files Browse the repository at this point in the history
  • Loading branch information
siom79 committed Aug 25, 2024
1 parent d36487e commit 1aed38b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ jobs:
shell: bash
run: |
mvn -B install
mvn -pl japicmp site:site -Dspotbugs.skip=true
cat japicmp/target/site/japicmp.md >$GITHUB_STEP_SUMMARY
cat japicmp/target/japicmp/github-job-summary.md >$GITHUB_STEP_SUMMARY
25 changes: 25 additions & 0 deletions japicmp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,31 @@
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.23.0</version> <!-- hard code old version due to cyclic dependencies -->
<executions>
<execution>
<id>github-job-summary</id>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
<configuration>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
</file>
</newVersion>
<parameter>
<oldVersionPattern>\d+\.\d+\.\d+</oldVersionPattern>
<onlyModified>true</onlyModified>
</parameter>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 1aed38b

Please sign in to comment.