Skip to content

Commit

Permalink
require JDK-11, drop JDK-8 build, tentatively build with jdk-19
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpablo-santos committed Oct 19, 2022
1 parent 278f17c commit 4aa268c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
11 changes: 7 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
*/

buildRepo = 'https://github.com/apache/jspwiki'
buildJdk8 = 'jdk_1.8_latest'
buildJdk11 = 'jdk_11_latest'
buildJdk17 = 'jdk_17_latest'
buildJdk19 = 'jdk_19_latest'
buildMvn = 'maven_3_latest'
errMsg = ''

Expand All @@ -30,11 +30,14 @@ try {
parallel jdk11Build: {
buildAndSonarWith( buildJdk11 )
},
jdk8Build: {
buildWith( buildJdk8 )
},
jdk17Build: {
buildWith( buildJdk17 )
},
jdk19Build: {
// don't fail build if jdk-19 build doesn't succeed
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
buildWith( buildJdk19 )
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Apache JSPWiki 2.11 - Documentation
# Apache JSPWiki 2.12 - Documentation

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
Expand Down Expand Up @@ -45,7 +45,7 @@ REQUIRED:

* And of course, a server to run the JSP engine on.

* JDK 8+
* JDK 11+


OPTIONAL:
Expand Down
12 changes: 11 additions & 1 deletion UPGRADING
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Apache JSPWiki 2.11.0 - Upgrading Notes
Apache JSPWiki 2.12.0 - Upgrading Notes
==================================================

Licensed to the Apache Software Foundation (ASF) under one
Expand All @@ -21,6 +21,16 @@ Apache JSPWiki 2.11.0 - Upgrading Notes

The license file can be found in LICENSE.

Upgrading JSPWiki to 2.12.0
---------------------------

Please see https://jspwiki-wiki.apache.org/Wiki.jsp?page=NewIn2.12 for details

1. New requirements
* Java 11 needed to run JSPWiki

2. Backwards API incompatible changes: https://jspwiki.apache.org/japicmp/2.12.0/

Upgrading JSPWiki to 2.11.0
---------------------------

Expand Down
4 changes: 2 additions & 2 deletions jspwiki-portable/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<property environment="env"/>

<!-- the build version if not overwritten by the caller -->
<property name="jspwiki.woas.version" value="2.11.0" />
<property name="jspwiki.woas.version" value="2.12.0" />

<!-- define the temporary build directory -->
<property name="jspwiki.woas.target.dir" value="${basedir}/target" />
Expand Down Expand Up @@ -159,7 +159,7 @@
<cp>${basedir}/target/unpack/tomcat/${jspwiki.tomcat.distribution}/bin/tomcat-juli.jar</cp>
</classPath>
<singleInstance mutexName="org.apache.jspwiki.jspwiki-portable" />
<jre minVersion="1.8.0" />
<jre minVersion="11.0.0" />
<versionInfo
fileVersion="${jspwiki.woas.version}.0"
txtFileVersion="JSPWiki ${jspwiki.woas.version}"
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.outputTimestamp>2022-07-30T11:42:48Z</project.build.outputTimestamp> <!-- will be changed by release plugin during releases -->
<jdk.version>1.8</jdk.version>
<jdk.javadoc.doclet.version>1.1.4</jdk.javadoc.doclet.version>
<jdk.version>11</jdk.version>
<jdk.javadoc.doclet.version>2.0.19</jdk.javadoc.doclet.version>
<maven.version>3.5</maven.version>

<akismet-java.version>1.02</akismet-java.version>
Expand Down

0 comments on commit 4aa268c

Please sign in to comment.