Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <profile>
- <id>integrationtest</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>-client -Xmx896m -XX:MaxPermSize=192m</argLine>
- <forkMode>once</forkMode>
- <includes>
- <include>**/**/*Test.java</include>
- <include>**/**/*IntTest.java</include>
- </includes>
- <excludes>
- <exclude>**/**/*SeleniumTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <activation>
- <property>
- <name>integrationtest</name>
- </property>
- </activation>
- </profile>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>shitty-maven-plugin</artifactId>
- </plugin>
- </plugins>
- <profile>
- <id>normal</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/**/*IntTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- mvn -P integrationtest clean install
Add Comment
Please, Sign In to add comment