Skip to content

Commit

Permalink
Move pitest-github-maven-plugin declaration to POM plugin management
Browse files Browse the repository at this point in the history
This is needed to allow Dependabot to detect plugin upgrades.
  • Loading branch information
scordio committed Jun 15, 2021
1 parent b19af7b commit c4cee17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pitest-updated-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
# The updatePR maven goal is used here with an explicit version. This allows us to upload without checking out
# the code, but does mean the version here must be maintained. An alternative would be to checkout the code and use
# the github goal. This will work as long as the artifact is extracted to the maven target directory
run: mvn -Ppitest -DrepoToken=${{ secrets.GITHUB_TOKEN }} com.groupcdg:pitest-github-maven-plugin:0.0.10:updatePR
run: mvn -Ppitest -DrepoToken=${{ secrets.GITHUB_TOKEN }} pitest-github:updatePR
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
<byte-buddy.version>1.11.2</byte-buddy.version>
<opentest4j.version>1.2.0</opentest4j.version>
<bnd.version>5.3.0</bnd.version>
<cdg.pitest.version>0.0.10</cdg.pitest.version>
<!-- Dependency versions overriding -->
<junit.version>4.13.2</junit.version>
<junit-jupiter.version>5.7.2</junit-jupiter.version>
<mockito.version>3.11.1</mockito.version>
<!-- Plugin versions overriding -->
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<cdg.pitest.version>0.0.10</cdg.pitest.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -639,6 +639,11 @@
<artifactId>sonar-maven-plugin</artifactId>
<version>3.9.0.2155</version>
</plugin>
<plugin>
<groupId>com.groupcdg</groupId>
<artifactId>pitest-github-maven-plugin</artifactId>
<version>${cdg.pitest.version}</version>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
Expand Down

0 comments on commit c4cee17

Please sign in to comment.