mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
update cobertura settings for reduce build time
This commit is contained in:
40
pom.xml
40
pom.xml
@@ -81,6 +81,8 @@
|
||||
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
||||
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
|
||||
<gmavenplus-plugin.version>1.6</gmavenplus-plugin.version>
|
||||
<cobertura.version>2.1.1</cobertura.version>
|
||||
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
@@ -153,11 +155,25 @@
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.cobertura</groupId>
|
||||
<artifactId>cobertura-runtime</artifactId>
|
||||
<version>${cobertura.version}</version>
|
||||
<scope>provided</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@@ -183,7 +199,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.7</version>
|
||||
<version>${cobertura-maven-plugin.version}</version>
|
||||
<configuration>
|
||||
<formats>
|
||||
<format>html</format>
|
||||
@@ -191,26 +207,6 @@
|
||||
</formats>
|
||||
<check/>
|
||||
<check />
|
||||
<instrumentation>
|
||||
<excludes>
|
||||
<exclude>org/springframework/cloud/alibaba/cloud/dependencies/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/cloud/docs/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/cloud/examples/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/cloud/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/start/alibaba/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/start/alicloud/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/nacos/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/nacos/config/server/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/sentinel/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alibaba/sentinel/datasource/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alicloud/acm/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alicloud/ans/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alicloud/context/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alicloud/oss/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/alicloud/scx/src/test/**.*.class</exclude>
|
||||
<exclude>org/springframework/cloud/stream/binder/rocketmq/src/test/**.*.class</exclude>
|
||||
</excludes>
|
||||
</instrumentation>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
||||
Reference in New Issue
Block a user