This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch slach-build8
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 875701221555aa22ad14445651db0cc0d2581adf
Author: Sylwester Lachiewicz <slachiew...@apache.org>
AuthorDate: Wed Nov 7 20:30:00 2018 +0100

    [MNG-3699] PoC - set minimum JDK to 8
---
 Jenkinsfile |  8 ++++----
 pom.xml     | 26 +++++++++++++++++++++++---
 2 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index fe3791b..69831ac 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,11 +21,11 @@ properties([buildDiscarder(logRotator(artifactNumToKeepStr: 
'5', numToKeepStr: e
 
 def buildOs = 'linux'
 def buildJdk = '8'
-def buildMvn = '3.5.4'
+def buildMvn = '3.6.0'
 def runITsOses = ['linux', 'windows']
-def runITsJdks = ['7', '8', '9']
-def runITsMvn = '3.5.4'
-def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // 
-DmavenDistro=... -Dmaven.test.failure.ignore=true
+def runITsJdks = ['8', '11']
+def runITsMvn = '3.6.0'
+def runITscommand = "mvn clean install -Drat.skip=true -Dcheckstyle.skip=true 
-Prun-its,embedded -B -U -V" // -DmavenDistro=... 
-Dmaven.test.failure.ignore=true
 def tests
 
 try {
diff --git a/pom.xml b/pom.xml
index d822c1f..d40645e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,9 +46,10 @@ under the License.
   <inceptionYear>2001</inceptionYear>
 
   <properties>
+    <javaVersion>8</javaVersion>
     <maven.version>3.0.5</maven.version>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
     <classWorldsVersion>2.5.2</classWorldsVersion>
     <commonsCliVersion>1.4</commonsCliVersion>
     <commonsLangVersion>3.8.1</commonsLangVersion>
@@ -555,7 +556,7 @@ under the License.
         <configuration>
           <signature>
             <groupId>org.codehaus.mojo.signature</groupId>
-            <artifactId>java17</artifactId>
+            <artifactId>java18</artifactId>
             <version>1.0</version>
           </signature>
         </configuration>
@@ -684,5 +685,24 @@ under the License.
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk8plus</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-compiler-plugin</artifactId>
+              <configuration>
+                <release>8</release>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>

Reply via email to