Merge pull request #733 from dailidong/dev
add embedded h2 db and jacoco report plugin for jenkinsrelease-1.2.0
commit
1e6d6b5fb9
36
pom.xml
36
pom.xml
|
|
@ -111,8 +111,14 @@
|
|||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-test</artifactId>
|
||||
<version>${spring.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<version>1.3.163</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.analysys</groupId>
|
||||
|
|
@ -446,9 +452,35 @@
|
|||
<includes>
|
||||
<include>**/*Test*.java</include><!--run test classes-->
|
||||
</includes>
|
||||
<skip>true</skip><!--skip run test classes-->
|
||||
<!-- <skip>true</skip> -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- jenkins plugin jacoco report-->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.8.4</version>
|
||||
<configuration>
|
||||
<destFile>target/jacoco.exec</destFile>
|
||||
<dataFile>target/jacoco.exec</dataFile>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>jacoco-initialize</id>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>jacoco-site</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
|
|
|||
Loading…
Reference in New Issue