@@ -79,8 +79,6 @@ | |||
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format> | |||
<license.title>SonarQube</license.title> | |||
<skipBatchTests>false</skipBatchTests> | |||
<skipServerTests>false</skipServerTests> | |||
<skipSanityChecks>false</skipSanityChecks> | |||
<argLine>-Xmx512m -Djava.awt.headless=true</argLine> | |||
@@ -379,7 +377,6 @@ | |||
--> | |||
<user.timezone>${testTimezone}</user.timezone> | |||
</systemPropertyVariables> | |||
<groups>${junitGroups}</groups> | |||
<threadCount>1</threadCount> | |||
</configuration> | |||
</plugin> | |||
@@ -1360,48 +1357,6 @@ | |||
</build> | |||
</profile> | |||
<!-- | |||
The following profiles optimize the build for each team, according to their | |||
stack layers (scanner, server and web teams) | |||
--> | |||
<profile> | |||
<!-- disable all tests --> | |||
<id>skipTests</id> | |||
<activation> | |||
<property> | |||
<name>skipTests</name> | |||
</property> | |||
</activation> | |||
<properties> | |||
<skipBatchTests>true</skipBatchTests> | |||
<skipServerTests>true</skipServerTests> | |||
</properties> | |||
</profile> | |||
<profile> | |||
<id>scanner</id> | |||
<properties> | |||
<skipServerTests>true</skipServerTests> | |||
</properties> | |||
</profile> | |||
<profile> | |||
<id>server</id> | |||
<properties> | |||
<skipBatchTests>true</skipBatchTests> | |||
</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> | |||
<profile> | |||
<!-- | |||
check if maven dependencies have vulnerabilities listed in CVE |
@@ -61,16 +61,4 @@ | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -126,13 +126,6 @@ | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jar-plugin</artifactId> |
@@ -91,13 +91,6 @@ | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jar-plugin</artifactId> |
@@ -73,18 +73,4 @@ | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
<profiles> | |||
</profiles> | |||
</project> |
@@ -26,16 +26,4 @@ | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -76,18 +76,5 @@ | |||
<artifactId>http-request</artifactId> | |||
<scope>test</scope> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -116,13 +116,6 @@ | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -65,16 +65,4 @@ | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -310,13 +310,6 @@ | |||
</archive> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
@@ -247,13 +247,6 @@ | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
<profiles> |
@@ -23,16 +23,4 @@ | |||
<scope>test</scope> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipBatchTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -79,16 +79,4 @@ | |||
<scope>test</scope> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipBatchTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -41,16 +41,4 @@ | |||
<scope>test</scope> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipServerTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |
@@ -190,6 +190,7 @@ | |||
<relocation> | |||
<pattern>com.google</pattern> | |||
<shadedPattern>org.sonar.api.internal.google</shadedPattern> | |||
</relocation> | |||
<relocation> | |||
<pattern>org.apache.commons</pattern> |
@@ -137,18 +137,6 @@ | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipBatchTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
<profiles> | |||
<profile> | |||
<id>runBenchmarks</id> |
@@ -76,13 +76,6 @@ | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-surefire-plugin</artifactId> | |||
<configuration> | |||
<skipTests>${skipBatchTests}</skipTests> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<artifactId>maven-assembly-plugin</artifactId> | |||
<configuration> |