Bladeren bron

Update pom.xml

zhōuhào 7 jaren geleden
bovenliggende
commit
ff6daa4629
1 gewijzigde bestanden met toevoegingen van 31 en 0 verwijderingen
  1. 31 0
      pom.xml

+ 31 - 0
pom.xml

@@ -184,6 +184,37 @@
                   <repoToken>cWL9JBVesOJatx690o81AkOtujERogRXv</repoToken>
               </configuration>
           </plugin>
+          
+          <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.6</version>
+                <configuration>
+                    <formats>
+                        <format>xml</format>
+                        <format>html</format>
+                    </formats>
+                    <aggregate>true</aggregate>
+                    <instrumentation>
+                        <excludes>
+                            <exclude>**/*Test.class</exclude>
+                            <exclude>**/*Tests.class</exclude>
+                            <exclude>**/*Entity.class</exclude>
+                            <exclude>**/*Configuration.class</exclude>
+                        </excludes>
+                    </instrumentation>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>cobertura</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-scm-plugin</artifactId>