[
https://issues.apache.org/jira/browse/CAMEL-10863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Poth updated CAMEL-10863:
------------------------------
Issue Type: Sub-task (was: Task)
Parent: CAMEL-10141
> Maven WAR plugin fails on Java 9
> ---------------------------------
>
> Key: CAMEL-10863
> URL: https://issues.apache.org/jira/browse/CAMEL-10863
> Project: Camel
> Issue Type: Sub-task
> Reporter: John Poth
> Priority: Minor
>
> Maven WAR plugin fails on Java 9 because of a dependency on XStream.
> XStream issue: https://github.com/x-stream/xstream/issues/74
> War plugin issue: https://issues.apache.org/jira/browse/MWAR-397
> Work around can be to set
> {code}
> export MAVEN_OPTS="--add-opens java.base/java.util=ALL-UNNAMED --add-opens
> java.base/java.lang.reflect=ALL-UNNAMED --add-opens
> java.base/java.text=ALL-UNNAMED --add-opens
> java.desktop/java.awt.font=ALL-UNNAMED"
> {code}
> Modules that fail are:
> {code}
> [INFO] Camel :: Example :: ActiveMQ :: Tomcat
> [INFO] Camel :: Example :: CDI :: REST :: Servlet
> [INFO] Camel :: Example :: CXF :: Tomcat
> [INFO] Camel :: Example :: Report Incident
> [INFO] Camel :: Example :: Restlet :: JDBC
> [INFO] Camel :: Example :: Servlet REST Blueprint
> [INFO] Camel :: Example :: Servlet Tomcat
> [INFO] Camel :: Example :: Servlet Tomcat without Spring
> [INFO] Camel :: Example :: Spring :: Web Services
> [INFO] Camel :: Example :: Spring :: Security
> [INFO] Camel :: Example :: Swagger :: (XML)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)