|
@@ -102,6 +102,9 @@
|
|
|
<spring_version>3.2.18.RELEASE</spring_version>
|
|
|
<maven-jacoco-plugin.version>0.8.3</maven-jacoco-plugin.version>
|
|
|
<maven-surefire.version>2.22.1</maven-surefire.version>
|
|
|
+ <argline>-server -Xms256m -Xmx512m -Dfile.encoding=UTF-8
|
|
|
+ -Djava.net.preferIPv4Stack=true -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m
|
|
|
+ </argline>
|
|
|
</properties>
|
|
|
|
|
|
<modules>
|
|
@@ -375,26 +378,20 @@
|
|
|
<version>${maven-jacoco-plugin.version}</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
+ <id>jacoco-initialize</id>
|
|
|
<goals>
|
|
|
<goal>prepare-agent</goal>
|
|
|
</goals>
|
|
|
<configuration>
|
|
|
- <destFile>
|
|
|
- ${project.build.directory}/coverage-reports/jacoco.exec
|
|
|
- </destFile>
|
|
|
<propertyName>jacocoArgLine</propertyName>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
<execution>
|
|
|
- <id>report</id>
|
|
|
- <phase>test</phase>
|
|
|
+ <id>report-aggregate</id>
|
|
|
+ <phase>verify</phase>
|
|
|
<goals>
|
|
|
- <goal>report</goal>
|
|
|
+ <goal>report-aggregate</goal>
|
|
|
</goals>
|
|
|
- <configuration>
|
|
|
- <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
|
|
|
- <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
|
|
|
- </configuration>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
@@ -405,7 +402,10 @@
|
|
|
<configuration>
|
|
|
<useSystemClassLoader>true</useSystemClassLoader>
|
|
|
<forkMode>once</forkMode>
|
|
|
- <argLine>${jacocoArgLine}</argLine>
|
|
|
+ <argLine>${argline} ${jacocoArgLine}</argLine>
|
|
|
+ <systemProperties>
|
|
|
+ <!-- common shared -->
|
|
|
+ </systemProperties>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!-- javadoc -->
|
|
@@ -428,30 +428,6 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
- <sourceDirectory>src/main/java</sourceDirectory>
|
|
|
- <testSourceDirectory>src/test/java</testSourceDirectory>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- <includes>
|
|
|
- <include>**/*</include>
|
|
|
- </includes>
|
|
|
- <excludes>
|
|
|
- <exclude>**/.svn/</exclude>
|
|
|
- </excludes>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <testResources>
|
|
|
- <testResource>
|
|
|
- <directory>src/test/resources</directory>
|
|
|
- <includes>
|
|
|
- <include>**/*</include>
|
|
|
- </includes>
|
|
|
- <excludes>
|
|
|
- <exclude>**/.svn/</exclude>
|
|
|
- </excludes>
|
|
|
- </testResource>
|
|
|
- </testResources>
|
|
|
<pluginManagement>
|
|
|
<plugins>
|
|
|
<plugin>
|