diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 58 |
1 files changed, 53 insertions, 5 deletions
@@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.codehaus.sonar</groupId> @@ -83,6 +84,10 @@ <timestamp>${maven.build.timestamp}</timestamp> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format> + <skipBatchTests>false</skipBatchTests> + <skipServerTests>false</skipServerTests> + <skipWebTests>false</skipWebTests> + <!-- To configure animal-sniffer to check API compat --> <animal-sniffer.signature.groupId>org.codehaus.mojo.signature</animal-sniffer.signature.groupId> <animal-sniffer.signature.artifactId>java16</animal-sniffer.signature.artifactId> @@ -1348,7 +1353,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> <pluginExecution> @@ -1361,7 +1366,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> <pluginExecution> @@ -1375,7 +1380,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> <pluginExecution> @@ -1388,7 +1393,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> </pluginExecutions> @@ -1427,6 +1432,49 @@ </plugins> </build> </profile> + + + <!-- + The following profiles optimize the build for each team, according to their + stack layers (batch, server and web teams) + --> + <profile> + <!-- disable all tests --> + <id>skipTests</id> + <activation> + <property> + <name>skipTests</name> + </property> + </activation> + <properties> + <skipWebTests>true</skipWebTests> + <skipBatchTests>true</skipBatchTests> + <skipServerTests>true</skipServerTests> + </properties> + </profile> + <profile> + <id>batch</id> + <properties> + <skipServerTests>true</skipServerTests> + <skipWebTests>true</skipWebTests> + </properties> + </profile> + <profile> + <id>server</id> + <properties> + <skipBatchTests>true</skipBatchTests> + <skipWebTests>true</skipWebTests> + </properties> + </profile> + <profile> + <id>web</id> + <properties> + <!-- the web team does not care about java tests --> + <skipBatchTests>true</skipBatchTests> + <skipServerTests>true</skipServerTests> + <skipTests>true</skipTests> + </properties> + </profile> </profiles> </project> |