maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject maven-surefire git commit: [SUREFIRE] Surefire requires 3.0.5 to build due to bugs in earlier versions
Date Wed, 14 Oct 2015 17:02:47 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master 54735ec20 -> fccbaaa35


[SUREFIRE] Surefire requires 3.0.5 to build due to bugs in earlier versions


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/fccbaaa3
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/fccbaaa3
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/fccbaaa3

Branch: refs/heads/master
Commit: fccbaaa35a2c91ac377bf0c3dcbe01fefb12f3ca
Parents: 54735ec
Author: Tibor17 <tibor17@lycos.com>
Authored: Wed Oct 14 19:01:11 2015 +0200
Committer: Tibor17 <tibor17@lycos.com>
Committed: Wed Oct 14 19:01:11 2015 +0200

----------------------------------------------------------------------
 README.TXT |  4 ++--
 pom.xml    | 19 +++++++++++++------
 2 files changed, 15 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/fccbaaa3/README.TXT
----------------------------------------------------------------------
diff --git a/README.TXT b/README.TXT
index baf03cf..5da114c 100644
--- a/README.TXT
+++ b/README.TXT
@@ -1,9 +1,9 @@
-Surefire needs Maven 3 to be built.
+Surefire needs Maven 3.0.5 and JDK 1.6+ to be built.
 But in order to test it tests, you can do:
 * -DmavenHomeUsed= path to a Maven 2.x home
 * or -Pmaven-2.2.1, this profile will download a Maven 2.2.1 distrib and use it for integration
tests.
 In order to run tests for a release check during the vote the following memory requirements
are needed:
-export MAVEN_OPTS="-Xmx2048m -Xms1024m -XX:MaxPermSize=512m -Djava.awt.headless=true"
+export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=1g -XX:SoftRefLRUPolicyMSPerMB=50 -Djava.awt.headless=true"
 
 Deploying web site
 ------------------

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/fccbaaa3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 44d434c..de3ea6f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -335,6 +335,19 @@
               </rules>
             </configuration>
           </execution>
+          <execution>
+            <id>enforce-maven</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <version>[3.0.5,)</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>
@@ -413,13 +426,7 @@
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>2.12.4</version> <!-- ${shadedVersion}, but resolved due
to http://jira.codehaus.org/browse/MRELEASE-799 -->
       </plugin>
-      <!-- plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-plugin-plugin</artifactId>
-      </plugin -->
-
     </plugins>
-
   </reporting>
 
   <profiles>


Mime
View raw message