This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch 0.1.x in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git
The following commit(s) were added to refs/heads/0.1.x by this push: new e14ffb9 Update build settings e14ffb9 is described below commit e14ffb916fc67467b3e472267d19bae2df9892de Author: taogu.mxx <taogu....@taobao.com> AuthorDate: Thu Jun 21 17:40:58 2018 +0800 Update build settings --- dubbo-spring-boot-parent/pom.xml | 99 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) diff --git a/dubbo-spring-boot-parent/pom.xml b/dubbo-spring-boot-parent/pom.xml index 320787c..35b3420 100644 --- a/dubbo-spring-boot-parent/pom.xml +++ b/dubbo-spring-boot-parent/pom.xml @@ -46,7 +46,7 @@ <argline>-server -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true </argline> - <arguments /> + <arguments/> <!-- Maven plugins --> <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> @@ -56,6 +56,7 @@ <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> <apache-rat-plugin.version>0.12</apache-rat-plugin.version> <maven-release-plugin.version>2.5.3</maven-release-plugin.version> + <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> </properties> <dependencyManagement> @@ -200,6 +201,31 @@ </pluginRepositories> <build> + <!-- Used for packaging NOTICE & LICENSE to each sub-module jar--> + <resources> + <resource> + <directory>src/main/resources/</directory> + <filtering>false</filtering> + </resource> + <resource> + <directory>../</directory> + <targetPath>META-INF/</targetPath> + <filtering>false</filtering> + <includes> + <include>NOTICE</include> + <include>LICENSE</include> + </includes> + </resource> + <resource> + <directory>../../</directory> + <targetPath>META-INF/</targetPath> + <filtering>false</filtering> + <includes> + <include>NOTICE</include> + <include>LICENSE</include> + </includes> + </resource> + </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -298,6 +324,77 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven-surefire-plugin.version}</version> + <configuration> + <useSystemClassLoader>true</useSystemClassLoader> + <forkMode>once</forkMode> + <argLine>${argline} ${jacocoArgLine}</argLine> + <systemProperties> + <!-- common shared --> + <property> + <name>transporter</name> + <value>${transporter}</value> + </property> + <property> + <name>serialization</name> + <value>${serialization}</value> + </property> + <!-- server side --> + <property> + <name>port</name> + <value>${port}</value> + </property> + <property> + <name>threadpool</name> + <value>${threadpool}</value> + </property> + <property> + <name>threads</name> + <value>${threads}</value> + </property> + <property> + <name>iothreads</name> + <value>${iothreads}</value> + </property> + <!-- client side --> + <property> + <name>server</name> + <value>${server}</value> + </property> + <property> + <name>timeout</name> + <value>${timeout}</value> + </property> + <property> + <name>length</name> + <value>${length}</value> + </property> + <property> + <name>connections</name> + <value>${connections}</value> + </property> + <property> + <name>base</name> + <value>${base}</value> + </property> + <property> + <name>concurrent</name> + <value>${concurrent}</value> + </property> + <property> + <name>runs</name> + <value>${runs}</value> + </property> + <property> + <name>onerror</name> + <value>${onerror}</value> + </property> + </systemProperties> + </configuration> + </plugin> + <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>${apache-rat-plugin.version}</version>