Fix surefire configs of spring-5 projects part 2
Disable invocation of testsuite in default profile
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
+ <!-- Because we are using custom surefire configs in live profile hence need to disable all other in default profile -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkCount>3</forkCount>
+ <reuseForks>true</reuseForks>
+ <excludes>
+ <exclude>**/*IntegrationTest.java</exclude>
+ <exclude>**/*IntTest.java</exclude>
+ <exclude>**/*LongRunningUnitTest.java</exclude>
+ <exclude>**/*ManualTest.java</exclude>
+ <exclude>**/*LiveTest.java</exclude>
+ <exclude>**/*TestSuite.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
