Add it plugin for separating it from profile configuration, you can use failsafe:integration-test run it but not run ut
Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/commit/33a99a41 Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/tree/33a99a41 Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/diff/33a99a41 Branch: refs/heads/master Commit: 33a99a4148cd216c800276029003f0ea6db14045 Parents: 118bdec Author: vongosling <[email protected]> Authored: Sat Jul 29 16:17:29 2017 +0800 Committer: vongosling <[email protected]> Committed: Sat Jul 29 16:17:29 2017 +0800 ---------------------------------------------------------------------- pom.xml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/blob/33a99a41/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 90f40d7..e5ef5e4 100644 --- a/pom.xml +++ b/pom.xml @@ -326,7 +326,24 @@ <artifactId>sonar-maven-plugin</artifactId> <version>3.0.2</version> </plugin> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + <version>2.19.1</version> + <configuration> + <excludes> + <exclude>**/NormalMsgDelayIT.java</exclude> + </excludes> + </configuration> + <executions> + <execution> + <goals> + <goal>integration-test</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> + <pluginManagement> <plugins> <plugin> @@ -401,8 +418,6 @@ <artifactId>maven-failsafe-plugin</artifactId> <version>2.19.1</version> <configuration> - <forkCount>1</forkCount> - <reuseForks>true</reuseForks> <argLine>@{failsafeArgLine}</argLine> <excludes> <exclude>**/NormalMsgDelayIT.java</exclude>
