]> source.dussan.org Git - sonarqube.git/commitdiff
Drop the unused coverage-per-test profile from pom
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 10 Feb 2017 18:47:18 +0000 (19:47 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 10 Feb 2017 21:41:48 +0000 (22:41 +0100)
jacoco-build.sh [deleted file]
pom.xml

diff --git a/jacoco-build.sh b/jacoco-build.sh
deleted file mode 100755 (executable)
index 11ceb34..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export MAVEN_OPTS='-Xmx256m'
-mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install -B -e -V -Pcoverage-per-test -Dmaven.test.failure.ignore=true
diff --git a/pom.xml b/pom.xml
index 64c3d0f64ba7704b8378fd871e3230b9b9b9dc81..fad7d7ab7ea8fcc415fcac16e7667bb949021fcb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       </build>
     </profile>
 
-    <profile>
-      <id>coverage-per-test</id>
-      <activation>
-        <property>
-          <name>coveragePerTest</name>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>org.sonarsource.java</groupId>
-          <artifactId>sonar-jacoco-listeners</artifactId>
-          <version>${sonarJava.version}</version>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <properties>
-                <property>
-                  <name>listener</name>
-                  <value>org.sonar.java.jacoco.JUnitListener</value>
-                </property>
-              </properties>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-
     <!--
     The following profiles optimize the build for each team, according to their
      stack layers (scanner, server and web teams)