You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2017/08/22 22:57:38 UTC

svn commit: r1805836 - /archiva/parent/pom.xml

Author: olamy
Date: Tue Aug 22 22:57:38 2017
New Revision: 1805836

URL: http://svn.apache.org/viewvc?rev=1805836&view=rev
Log:
use last compiler plugin, add new flag to test with java 9

Modified:
    archiva/parent/pom.xml

Modified: archiva/parent/pom.xml
URL: http://svn.apache.org/viewvc/archiva/parent/pom.xml?rev=1805836&r1=1805835&r2=1805836&view=diff
==============================================================================
--- archiva/parent/pom.xml (original)
+++ archiva/parent/pom.xml Tue Aug 22 22:57:38 2017
@@ -89,8 +89,9 @@
     <enunciate.version>2.0.0</enunciate.version>
     <enunciate.debug>false</enunciate.debug>
 
-    <compiler.source>1.8</compiler.source>
-    <compiler.target>1.8</compiler.target>
+    <javaVersion>8</javaVersion>
+    <compiler.source>1.${javaVersion}</compiler.source>
+    <compiler.target>1.${javaVersion}</compiler.target>
 
   </properties>
 
@@ -664,10 +665,11 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.6.1</version>
+          <version>3.6.2</version>
           <configuration>
             <source>${compiler.source}</source>
             <target>${compiler.target}</target>
+            <release>${javaVersion}</release>
           </configuration>
         </plugin>
         <plugin>