Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Java 9/10/11+ #857

Closed
2 tasks done
Tracked by #1120
tfr42 opened this issue Oct 7, 2017 · 14 comments · Fixed by #1154
Closed
2 tasks done
Tracked by #1120

Support for Java 9/10/11+ #857

tfr42 opened this issue Oct 7, 2017 · 14 comments · Fixed by #1154
Labels
enhancement enhancement or improvement ready

Comments

@tfr42
Copy link
Member

tfr42 commented Oct 7, 2017

Support for Java 9/10/11+ at compile- and runtime incl. module-info (introduced with project jigsaw/JSR 376).

Prerequistes:

References:

Funding (under discussion):

@tfr42 tfr42 added contributions welcome asking for contribution (time and money sponsor) enhancement enhancement or improvement in progress labels Oct 7, 2017
@tfr42
Copy link
Member Author

tfr42 commented Oct 7, 2017

To validate the runtime support a new Dockerfile with Tomcat 9 on Java 10 was added.

@tfr42
Copy link
Member Author

tfr42 commented Jun 18, 2018

Java SE 11 will be next LTS version of Oracle JDK, see http://www.oracle.com/technetwork/java/javase/eol-135779.html
For users it comes with a quite important change of the license. Running Oracle JDK in production systems will require a commercial license (subscription).

@tfr42 tfr42 changed the title Support for Java 9 Support for Java 9/10/11 Aug 31, 2018
@tfr42 tfr42 changed the title Support for Java 9/10/11 Support for Java 9/10/11+ Sep 18, 2018
@tfr42
Copy link
Member Author

tfr42 commented Oct 2, 2018

Building deegree with OpenJDK 11 using docker:

docker run -it --rm -v "$PWD":/usr/src/deegree -v "$HOME/.m2":/root/.m2 -w /usr/src/deegree maven:3.5.4-jdk-11 mvn clean install -T 1C -fae -V -P oracle,mssql,integration-tests

Running deegree with Tomcat 9 on OpenJDK 10:

docker run -it --rm -v "$PWD"/deegree-services/deegree-webservices/target/deegree-webservices-${DEEGREE_VERSION}.war:/usr/local/tomcat/webapps/deegree-webservices.war -v "$HOME"/.deegree:/root/.deegree -p 8080:8080 tomcat:9.0.12-jre10

@tfr42 tfr42 added the funding welcome financial sponsoring wanted (money) label Oct 3, 2018
@tfr42
Copy link
Member Author

tfr42 commented May 11, 2019

Updates for building deegree with Maven and JDK 11:
docker run -it --rm -v "$PWD":/usr/src/deegree -v "$HOME/.m2":/root/.m2 -w /usr/src/deegree maven:3.6.1-jdk-11 mvn clean install -T 1C -fae -V -P oracle,mssql,integration-tests

Run deegree with Apache Tomcat 9 and JDK 11:
docker run -it --rm -v "$PWD"/deegree-services/deegree-webservices/target/deegree-webservices-${DEEGREE_VERSION}.war:/usr/local/tomcat/webapps/deegree-webservices.war -v "$HOME"/.deegree:/root/.deegree -p 8080:8080 tomcat:9.0-jre11

@tfr42
Copy link
Member Author

tfr42 commented Oct 6, 2020

tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
…e, enforcer and build-helper supporting Java 11
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 26, 2020
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 26, 2020
… to unresolvable shortcomings of deegree-maven-plugin
tfr42 added a commit to lat-lon/deegree3 that referenced this issue Nov 26, 2020
lgoltz pushed a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 28, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 29, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 29, 2021
@tfr42 tfr42 added ready and removed in progress labels Jun 29, 2021
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Jun 29, 2021
@tfr42
Copy link
Member Author

tfr42 commented Jun 29, 2021

lgoltz added a commit to lat-lon/deegree3 that referenced this issue Aug 16, 2021
@tfr42
Copy link
Member Author

tfr42 commented Nov 16, 2021

The TMC has decided to use OpenJDK 11/17 (LTS) Version from Eclipse Adoptium project called temurin: https://adoptium.net/releases.html

@tfr42
Copy link
Member Author

tfr42 commented Nov 16, 2021

Temurin 17 is installed on Jenkins CI.

lgoltz added a commit to lat-lon/deegree3 that referenced this issue Nov 25, 2021
stephanr pushed a commit that referenced this issue Dec 1, 2021
* #857 removed redundant repository elements from sub modules

* fixed merge (https instead of http)

* fixed merge (removed deegree-csw-bkg)

Co-authored-by: Torsten Friebe <torsten.friebe@gmail.com>
lgoltz added a commit to lat-lon/deegree3 that referenced this issue Dec 2, 2021
@tfr42
Copy link
Member Author

tfr42 commented Jan 11, 2022

Build with JDK 11 is stable as of https://buildserver.deegree.org/view/misc/job/deegree-3.4/job/deegree-3.4-openjdk11/77/

@tfr42
Copy link
Member Author

tfr42 commented Jan 11, 2022

Build job https://buildserver.deegree.org/view/misc/job/deegree-3.4/job/deegree-3.4-openjdk11/ configured to archive WAR file.

@tfr42
Copy link
Member Author

tfr42 commented May 12, 2022

The task #934 is not required by now. To add the module info can be added in future versions.

@tfr42 tfr42 mentioned this issue Aug 11, 2022
4 tasks
@tfr42 tfr42 removed contributions welcome asking for contribution (time and money sponsor) funding welcome financial sponsoring wanted (money) labels Jan 2, 2024
@tfr42
Copy link
Member Author

tfr42 commented Jun 13, 2024

The support of Java 11 was fully implemented with the final version of deegree webservices v3.5, see https://github.com/deegree/deegree3/wiki/End-of-Life-and-Support-Matrix for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement or improvement ready
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant