Skip to content

Commit ad90848

Browse files
reverted PMD amd CheckStyle before Jacoco
1 parent 27551cc commit ad90848

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

pom.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,14 @@
540540
</execution>
541541
</executions>
542542
</plugin>
543-
<!-- phase: process-test-classes -->
543+
<!-- phase: test -->
544+
<plugin>
545+
<!-- Needed because GitHub actions uses an old Maven version <3.9.0 -->
546+
<groupId>org.apache.maven.plugins</groupId>
547+
<artifactId>maven-surefire-plugin</artifactId>
548+
<version>${surefire.version}</version>
549+
</plugin>
550+
<!-- phase: verify -->
544551
<plugin>
545552
<groupId>org.apache.maven.plugins</groupId>
546553
<artifactId>maven-checkstyle-plugin</artifactId>
@@ -566,7 +573,7 @@
566573
<goals>
567574
<goal>check</goal>
568575
</goals>
569-
<phase>process-test-classes</phase>
576+
<phase>verify</phase>
570577
</execution>
571578
</executions>
572579
</plugin>
@@ -596,18 +603,10 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma
596603
<goals>
597604
<goal>check</goal>
598605
</goals>
599-
<phase>process-test-classes</phase>
606+
<phase>verify</phase>
600607
</execution>
601608
</executions>
602609
</plugin>
603-
<!-- phase: test -->
604-
<plugin>
605-
<!-- Needed because GitHub actions uses an old Maven version <3.9.0 -->
606-
<groupId>org.apache.maven.plugins</groupId>
607-
<artifactId>maven-surefire-plugin</artifactId>
608-
<version>${surefire.version}</version>
609-
</plugin>
610-
<!-- phase: verify -->
611610
<plugin>
612611
<groupId>org.jacoco</groupId>
613612
<artifactId>jacoco-maven-plugin</artifactId>

0 commit comments

Comments
 (0)