clara-rules icon indicating copy to clipboard operation
clara-rules copied to clipboard

Better options for Java 9 compatibility in project.clj

Open WilliamParker opened this issue 7 years ago • 1 comments

In https://github.com/cerner/clara-rules/pull/409 we added a profile with arguments necessary to run under Java 9. This profile will only be used during development by those running a Java 9 JVM. I suspect that it is possible to autodetect this in the project setup and adjust accordingly. Alternatively other Clojure(Script) projects may have landed on other standard approach(es) that we might consider.

WilliamParker avatar Dec 10 '18 08:12 WilliamParker

@WilliamParker It turns out that the module added for development on JDK9 was removed in JDK11, and that it was replaced with a set of normal Maven artifacts. If these artifacts also work on JDK9, then autodetecting is moot, as we can just make the java.xml.bind stuff dev dependencies.

/me goes off to make a patch

eraserhd avatar Dec 10 '18 14:12 eraserhd