-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
JDK Version SupportSupport new or multiple JDKsSupport new or multiple JDKsenhancementhelp wantedmavenMaven related issueMaven related issue
Milestone
Description
One assumption of the current release plan is that it is not (easily) possible to create a build for both JDK8 and JDK9. If this is possible, then we could simplify the release plan and support both JDK8 and JDK9.
One advantage of using JDK9 for the build is that there is an easy way to declare a dependency on the javac and tools modules. Unfortunately, when that is done, it is no longer possible to have JDK9 build a JDK8 compatible module.
A possible fix would be to use two pom files, one for JDK8 and one for JDK9. Our jars would need to have a jdk suffix (jdk8 or jdk9) to indicate which is which. The two pom files might share a single parent pom.
What needs to be investigated:
- How hard is it to set up a build for two pom files, each using different JDKs?
- Can we create module files that are only included in the JDK9 build and do not interfere with the JDK8 build?
- The complication of what our exported modules are for AndHow will need to be sorted out - we can save that for a later task.
Metadata
Metadata
Assignees
Labels
JDK Version SupportSupport new or multiple JDKsSupport new or multiple JDKsenhancementhelp wantedmavenMaven related issueMaven related issue