GitHub user johnpoth opened a pull request:
https://github.com/apache/camel/pull/1503
Camel 10141 This builds Camel on Java 9
https://issues.apache.org/jira/browse/CAMEL-10141
This builds Camel on Java 9. Before building you must set
```
MAVEN_OPTS="--add-modules java.activation
--add-exports=java.xml/com.sun.org.apache.xml.internal.resolver.tools=ALL-UNNAMED
--add-exports=java.xml/com.sun.org.apache.xml.internal.resolver=ALL-UNNAMED
--add-opens java.base/java.text=ALL-UNNAMED --add-opens
java.desktop/java.awt.font=ALL-UNNAMED --add-opens
java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens
java.base/java.util.regex=ALL-UNNAMED --add-opens
java.base/java.net=ALL-UNNAMED"
```
I've added some scripts under buildingtools for convenience.
Thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/johnpoth/camel CAMEL-10141
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1503.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1503
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---