diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-30 09:56:55 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-30 09:56:55 +0200 |
commit | f9b616759e48519bd59f14608fdd3057881de418 (patch) | |
tree | 8ec893d4fbffea741d06de3f3d3fbec97c1492b7 /pom.xml | |
parent | 7a6211086f961e128a3819743c59adf6eb2cd682 (diff) | |
parent | c48b703be87fea2174450cec018b5b3209d6d6fa (diff) | |
download | sonarqube-f9b616759e48519bd59f14608fdd3057881de418.tar.gz sonarqube-f9b616759e48519bd59f14608fdd3057881de418.zip |
Merge remote-tracking branch 'remotes/origin/branch-4.5'
Conflicts:
plugins/sonar-core-plugin/pom.xml
plugins/sonar-cpd-plugin/pom.xml
plugins/sonar-dbcleaner-plugin/pom.xml
plugins/sonar-design-plugin/pom.xml
plugins/sonar-email-notifications-plugin/pom.xml
plugins/sonar-l10n-en-plugin/pom.xml
plugins/sonar-xoo-plugin/pom.xml
pom.xml
server/pom.xml
server/sonar-process-monitor/pom.xml
server/sonar-process/pom.xml
server/sonar-search/pom.xml
server/sonar-server/pom.xml
server/sonar-web/pom.xml
server/sonar-ws-client/pom.xml
sonar-application/pom.xml
sonar-batch-maven-compat/pom.xml
sonar-batch-protocol/pom.xml
sonar-batch/pom.xml
sonar-check-api/pom.xml
sonar-colorizer/pom.xml
sonar-core/pom.xml
sonar-deprecated/pom.xml
sonar-duplications/pom.xml
sonar-graph/pom.xml
sonar-home/pom.xml
sonar-java-api/pom.xml
sonar-markdown/pom.xml
sonar-maven-plugin/pom.xml
sonar-maven3-plugin/pom.xml
sonar-plugin-api/pom.xml
sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java
sonar-testing-harness/pom.xml
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> @@ -82,6 +83,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> @@ -1333,7 +1338,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> <pluginExecution> @@ -1346,7 +1351,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> <pluginExecution> @@ -1360,7 +1365,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> <pluginExecution> @@ -1373,7 +1378,7 @@ </goals> </pluginExecutionFilter> <action> - <ignore /> + <ignore/> </action> </pluginExecution> </pluginExecutions> @@ -1412,6 +1417,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> |