Skip to content

Commit c4cee17

Browse files
committed
Move pitest-github-maven-plugin declaration to POM plugin management
This is needed to allow Dependabot to detect plugin upgrades.
1 parent b19af7b commit c4cee17

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/pitest-updated-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
# The updatePR maven goal is used here with an explicit version. This allows us to upload without checking out
4343
# the code, but does mean the version here must be maintained. An alternative would be to checkout the code and use
4444
# the github goal. This will work as long as the artifact is extracted to the maven target directory
45-
run: mvn -Ppitest -DrepoToken=${{ secrets.GITHUB_TOKEN }} com.groupcdg:pitest-github-maven-plugin:0.0.10:updatePR
45+
run: mvn -Ppitest -DrepoToken=${{ secrets.GITHUB_TOKEN }} pitest-github:updatePR

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
<byte-buddy.version>1.11.2</byte-buddy.version>
2929
<opentest4j.version>1.2.0</opentest4j.version>
3030
<bnd.version>5.3.0</bnd.version>
31+
<cdg.pitest.version>0.0.10</cdg.pitest.version>
3132
<!-- Dependency versions overriding -->
3233
<junit.version>4.13.2</junit.version>
3334
<junit-jupiter.version>5.7.2</junit-jupiter.version>
3435
<mockito.version>3.11.1</mockito.version>
3536
<!-- Plugin versions overriding -->
3637
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
37-
<cdg.pitest.version>0.0.10</cdg.pitest.version>
3838
</properties>
3939

4040
<dependencyManagement>
@@ -639,6 +639,11 @@
639639
<artifactId>sonar-maven-plugin</artifactId>
640640
<version>3.9.0.2155</version>
641641
</plugin>
642+
<plugin>
643+
<groupId>com.groupcdg</groupId>
644+
<artifactId>pitest-github-maven-plugin</artifactId>
645+
<version>${cdg.pitest.version}</version>
646+
</plugin>
642647
<plugin>
643648
<groupId>net.alchim31.maven</groupId>
644649
<artifactId>yuicompressor-maven-plugin</artifactId>

0 commit comments

Comments
 (0)