chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1723514 - in /chemistry/opencmis/trunk: README.txt pom.xml
Date Thu, 07 Jan 2016 11:27:35 GMT
Author: fmui
Date: Thu Jan  7 11:27:35 2016
New Revision: 1723514

URL: http://svn.apache.org/viewvc?rev=1723514&view=rev
Log:
enforce Java 8 for build

Modified:
    chemistry/opencmis/trunk/README.txt
    chemistry/opencmis/trunk/pom.xml

Modified: chemistry/opencmis/trunk/README.txt
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/README.txt?rev=1723514&r1=1723513&r2=1723514&view=diff
==============================================================================
--- chemistry/opencmis/trunk/README.txt (original)
+++ chemistry/opencmis/trunk/README.txt Thu Jan  7 11:27:35 2016
@@ -17,14 +17,13 @@ You can build OpenCMIS like this:
 
     mvn clean install
 
-You need Maven 3 with Java 7 (or higher) for the build.
-Set the environment variable MAVEN_OPTS to 
-'-Xmx1024m -XX:MaxPermSize=256m' to give Maven more memory.
+You need Maven 3 with Java 8 (or higher) for the build.
+
 
 License (see also package specific LICENSE files)
 =================================================
 
-Collective work: Copyright 2010-2015 The Apache Software Foundation.
+Collective work: Copyright 2010-2016 The Apache Software Foundation.
 
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with

Modified: chemistry/opencmis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/pom.xml?rev=1723514&r1=1723513&r2=1723514&view=diff
==============================================================================
--- chemistry/opencmis/trunk/pom.xml (original)
+++ chemistry/opencmis/trunk/pom.xml Thu Jan  7 11:27:35 2016
@@ -306,7 +306,12 @@
                 </plugin>
                 <plugin>
                     <artifactId>maven-resources-plugin</artifactId>
-                     <version>2.6</version>
+                    <version>2.6</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <version>1.4.1</version>
                 </plugin>
             </plugins>
         </pluginManagement>
@@ -479,6 +484,28 @@
                     <deployAtEnd>false</deployAtEnd>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>enforce-versions</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireJavaVersion>
+                                    <version>[1.8.0,)</version>
+                                </requireJavaVersion>
+                                <requireMavenVersion>
+                                    <version>[3.0,)</version>
+                                </requireMavenVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
         <extensions>
              <extension>



Mime
View raw message