You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2018/02/04 12:45:09 UTC

commons-fileupload git commit: travis: use travis-jacoco profile from parent pom

Repository: commons-fileupload
Updated Branches:
  refs/heads/master 848007985 -> 56688e897


travis: use travis-jacoco profile from parent pom


Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/56688e89
Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/56688e89
Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/56688e89

Branch: refs/heads/master
Commit: 56688e897c098631e4a6c7d920d768b005df87f0
Parents: 8480079
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sun Feb 4 13:45:02 2018 +0100
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Sun Feb 4 13:45:02 2018 +0100

----------------------------------------------------------------------
 .travis.yml |  2 +-
 pom.xml     | 71 --------------------------------------------------------
 2 files changed, 1 insertion(+), 72 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/56688e89/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 8893f59..2e8e6b9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,4 +22,4 @@ jdk:
   - oraclejdk9
 
 after_success:
-  - mvn clean cobertura:cobertura coveralls:report
+  - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/56688e89/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ee13cd8..daef833 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,77 +413,6 @@
       </build>
     </profile>
     <profile>
-      <id>travis</id>
-      <activation>
-        <property>
-          <name>env.TRAVIS</name>
-          <value>true</value>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.jacoco</groupId>
-            <artifactId>jacoco-maven-plugin</artifactId>
-            <version>${commons.jacoco.version}</version>
-            <executions>
-              <execution>
-                <id>default-prepare-agent</id>
-                <goals>
-                  <goal>prepare-agent</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>default-prepare-agent-integration</id>
-                <goals>
-                  <goal>prepare-agent-integration</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>default-report</id>
-                <goals>
-                  <goal>report</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>default-report-integration</id>
-                <goals>
-                  <goal>report-integration</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>default-check</id>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-                <configuration>
-                  <rules>
-                    <!--  implementation is needed only for Maven 2  -->
-                    <rule implementation="org.jacoco.maven.RuleConfiguration">
-                      <element>BUNDLE</element>
-                      <limits>
-                        <!--  implementation is needed only for Maven 2  -->
-                        <limit implementation="org.jacoco.report.check.Limit">
-                          <counter>COMPLEXITY</counter>
-                          <value>COVEREDRATIO</value>
-                          <minimum>0.60</minimum>
-                        </limit>
-                      </limits>
-                    </rule>
-                  </rules>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.eluder.coveralls</groupId>
-            <artifactId>coveralls-maven-plugin</artifactId>
-            <version>3.1.0</version>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
       <id>java9</id>
       <activation>
         <jdk>9</jdk>