commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Fwd: commons-io git commit: Revert "remove argLine -Xmx25M option from surefire plugin, in order to get coveralls to work"
Date Thu, 10 Nov 2016 19:28:38 GMT
Nice :-)

Gary

---------- Forwarded message ----------
From: <pascalschumacher@apache.org>
Date: Thu, Nov 10, 2016 at 11:14 AM
Subject: commons-io git commit: Revert "remove argLine -Xmx25M option from
surefire plugin, in order to get coveralls to work"
To: commits@commons.apache.org


Repository: commons-io
Updated Branches:
  refs/heads/master 676401d29 -> 3867ddb39


Revert "remove argLine -Xmx25M option from surefire plugin, in order to get
coveralls to work"

This reverts commit 676401d298098a99f9262c26b8e084628b1e3009.

Use cobertura instead of jacoco on travis-ci.


Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/3867ddb3
Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/3867ddb3
Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/3867ddb3

Branch: refs/heads/master
Commit: 3867ddb393cadb8ecfe87509e922c0679c02947b
Parents: 676401d
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Thu Nov 10 20:14:42 2016 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Thu Nov 10 20:14:42 2016 +0100

----------------------------------------------------------------------
 .travis.yml |  2 +-
 pom.xml     | 63 ++++++++++----------------------------------------------
 2 files changed, 12 insertions(+), 53 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-io/blob/3867ddb3/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 2ac2ac5..c1335bd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,4 +21,4 @@ jdk:
   - oraclejdk8

 after_success:
-  - mvn clean test jacoco:report coveralls:report
+  - mvn clean cobertura:cobertura coveralls:report

http://git-wip-us.apache.org/repos/asf/commons-io/blob/3867ddb3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 56ab030..eedaf3c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -274,6 +274,8 @@ file comparators, endian transformation classes, and
much more.
           </classpathDependencyExcludes>
           <forkCount>1</forkCount>
           <reuseForks>false</reuseForks>
+          <!-- limit memory size see IO-161 -->
+          <argLine>-Xmx25M</argLine>
           <includes>
             <!-- Only include test classes, not test data -->
             <include>**/*Test*.class</include>
@@ -325,7 +327,7 @@ file comparators, endian transformation classes, and
much more.
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.7</version>
+        <version>${commons.cobertura.version}</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -424,57 +426,14 @@ file comparators, endian transformation classes, and
much more.
       <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>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>cobertura-maven-plugin</artifactId>
+            <version>${commons.cobertura.version}</version>
+            <configuration>
+              <formats>
+                <format>xml</format>
+              </formats>
+            </configuration>
           </plugin>
           <plugin>
             <groupId>org.eluder.coveralls</groupId>




-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message