aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-23 15:18:29 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-23 19:56:26 +0200
commite9782fdb646b47679802e4b7a04dd20daa14ddb1 (patch)
treef4cf1ff3663c228929bda8e76ccba2c0a8a52469
parent455f85c1a7cd15258569a56c4832a52ba98a8e8f (diff)
downloadsonarqube-e9782fdb646b47679802e4b7a04dd20daa14ddb1.tar.gz
sonarqube-e9782fdb646b47679802e4b7a04dd20daa14ddb1.zip
Do not redirect surefire logs to file
-rw-r--r--pom.xml2
-rw-r--r--server/sonar-server-benchmarks/pom.xml1
-rw-r--r--sonar-duplications/pom.xml4
-rwxr-xr-xtravis.sh10
4 files changed, 6 insertions, 11 deletions
diff --git a/pom.xml b/pom.xml
index 120f6405e1e..1bccaeb122e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -538,7 +538,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>random</runOrder>
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<!--
diff --git a/server/sonar-server-benchmarks/pom.xml b/server/sonar-server-benchmarks/pom.xml
index 2a93d45402c..9b81313a698 100644
--- a/server/sonar-server-benchmarks/pom.xml
+++ b/server/sonar-server-benchmarks/pom.xml
@@ -65,7 +65,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <redirectTestOutputToFile>false</redirectTestOutputToFile>
<skipTests>${skipBenchmarks}</skipTests>
<argLine>
-Xmx1G -Xms256m -server -Djava.awt.headless=true
diff --git a/sonar-duplications/pom.xml b/sonar-duplications/pom.xml
index 9e6ec34f5b6..d0acbdd568c 100644
--- a/sonar-duplications/pom.xml
+++ b/sonar-duplications/pom.xml
@@ -12,10 +12,6 @@
<name>SonarQube :: Duplications</name>
<description>Detect duplicated code</description>
- <properties>
- <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.codehaus.sonar</groupId>
diff --git a/travis.sh b/travis.sh
index b36add46a73..fc948728ac0 100755
--- a/travis.sh
+++ b/travis.sh
@@ -64,28 +64,28 @@ PRANALYSIS)
ITS_QUALITYGATE)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="qualitygate" -Dmaven.test.redirectTestOutputToFile=false
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="qualitygate" -e
;;
ITS_ISSUE)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="issue" -Dmaven.test.redirectTestOutputToFile=false
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="issue" -e
;;
ITS_UPDATECENTER)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="updatecenter" -Dmaven.test.redirectTestOutputToFile=false
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="updatecenter" -e
;;
ITS_TESTING)
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="testing" -Dmaven.test.redirectTestOutputToFile=false
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="testing" -e
;;
ITS_PLUGINS)
if [ -n "$GITHUB_TOKEN" ]; then
prepareIts
- mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="plugins" -Dmaven.test.redirectTestOutputToFile=false
+ mvn install -Pit,dev -DskipTests -Dsonar.runtimeVersion=DEV -Dcategory="plugins" -e
fi
;;