Skip to content

Commit fef768b

Browse files
committed
Move jacoco into a profile now it executed by default
1 parent 557904b commit fef768b

File tree

1 file changed

+35
-28
lines changed

1 file changed

+35
-28
lines changed

pom.xml

Lines changed: 35 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -717,34 +717,7 @@
717717
<linkXRef>false</linkXRef>
718718
<logViolationsToConsole>true</logViolationsToConsole>
719719
</configuration>
720-
</plugin>
721-
<plugin>
722-
<groupId>org.jacoco</groupId>
723-
<artifactId>jacoco-maven-plugin</artifactId>
724-
<version>0.8.6</version>
725-
<executions>
726-
<execution>
727-
<id>start-agent</id>
728-
<goals>
729-
<goal>prepare-agent</goal>
730-
</goals>
731-
</execution>
732-
<execution>
733-
<id>generate-report</id>
734-
<phase>test</phase>
735-
<goals>
736-
<goal>report</goal>
737-
</goals>
738-
</execution>
739-
<execution>
740-
<id>aggregate-report</id>
741-
<phase>verify</phase>
742-
<goals>
743-
<goal>report-aggregate</goal>
744-
</goals>
745-
</execution>
746-
</executions>
747-
</plugin>
720+
</plugin>
748721
</plugins>
749722
</build>
750723
<reporting>
@@ -789,6 +762,40 @@
789762
</plugins>
790763
</reporting>
791764
<profiles>
765+
<profile>
766+
<id>jacoco</id>
767+
<build>
768+
<plugins>
769+
<plugin>
770+
<groupId>org.jacoco</groupId>
771+
<artifactId>jacoco-maven-plugin</artifactId>
772+
<version>0.8.6</version>
773+
<executions>
774+
<execution>
775+
<id>start-agent</id>
776+
<goals>
777+
<goal>prepare-agent</goal>
778+
</goals>
779+
</execution>
780+
<execution>
781+
<id>generate-report</id>
782+
<phase>test</phase>
783+
<goals>
784+
<goal>report</goal>
785+
</goals>
786+
</execution>
787+
<execution>
788+
<id>aggregate-report</id>
789+
<phase>verify</phase>
790+
<goals>
791+
<goal>report-aggregate</goal>
792+
</goals>
793+
</execution>
794+
</executions>
795+
</plugin>
796+
</plugins>
797+
</build>
798+
</profile>
792799
<profile>
793800
<id>slow-tests</id>
794801
<build>

0 commit comments

Comments
 (0)