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/23 11:10:20 UTC

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

Author: olamy
Date: Wed Aug 23 11:10:20 2017
New Revision: 1805878

URL: http://svn.apache.org/viewvc?rev=1805878&view=rev
Log:
fix mon jdk9 build my bad...

Modified:
    archiva/parent/pom.xml

Modified: archiva/parent/pom.xml
URL: http://svn.apache.org/viewvc/archiva/parent/pom.xml?rev=1805878&r1=1805877&r2=1805878&view=diff
==============================================================================
--- archiva/parent/pom.xml (original)
+++ archiva/parent/pom.xml Wed Aug 23 11:10:20 2017
@@ -669,7 +669,6 @@
           <configuration>
             <source>${compiler.source}</source>
             <target>${compiler.target}</target>
-            <release>${javaVersion}</release>
           </configuration>
         </plugin>
         <plugin>
@@ -822,6 +821,23 @@
 
   <profiles>
     <profile>
+      <id>jdk9</id>
+      <activation>
+        <jdk>[1.9,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+              <release>${javaVersion}</release>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>release</id>
       <build>
         <pluginManagement>