mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 13:36:06 +01:00
Updated Jacoco POM section
This commit is contained in:
parent
1b585a22c8
commit
84a38f4d8c
44
pom.xml
44
pom.xml
@ -356,35 +356,35 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.jacoco</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>3.3.1-SNAPSHOT</version>
|
<version>0.8.7</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<minimizeJar>true</minimizeJar>
|
<append>true</append>
|
||||||
<artifactSet>
|
<excludes>
|
||||||
<includes>
|
<!-- This is required to prevent Jacoco from adding
|
||||||
<include>lv.id.bonne:panelutils:*</include>
|
synthetic fields to a JavaBean class (causes errors in testing) -->
|
||||||
</includes>
|
<exclude>**/*Names*</exclude>
|
||||||
</artifactSet>
|
</excludes>
|
||||||
<transformers>
|
|
||||||
<!-- Add a transformer to exclude any other manifest files (possibly from dependencies). -->
|
|
||||||
<transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
|
|
||||||
<resource>MANIFEST.MF</resource>
|
|
||||||
</transformer>
|
|
||||||
<!-- Add a transformer to include your custom manifest file. -->
|
|
||||||
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
|
||||||
<resource>META-INF/MANIFEST.MF</resource>
|
|
||||||
<file>src/main/resources/META-INF/MANIFEST.MF</file>
|
|
||||||
</transformer>
|
|
||||||
</transformers>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<id>prepare-agent</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>shade</goal>
|
<goal>prepare-agent</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>report</id>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<formats>
|
||||||
|
<format>XML</format>
|
||||||
|
</formats>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
Loading…
Reference in New Issue
Block a user