[
https://issues.apache.org/jira/browse/CAMEL-10141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892536#comment-15892536
]
ASF GitHub Bot commented on CAMEL-10141:
----------------------------------------
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
----
----
> Test Apache Camel on Java 9
> ---------------------------
>
> Key: CAMEL-10141
> URL: https://issues.apache.org/jira/browse/CAMEL-10141
> Project: Camel
> Issue Type: Test
> Components: build system
> Reporter: Claus Ibsen
>
> To find out early if we have problems with Java 9 and Apache Camel.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)