You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "John Poth (JIRA)" <ji...@apache.org> on 2017/02/20 10:29:44 UTC
[jira] [Created] (CAMEL-10863) Maven WAR plugin fails on Java 9
John Poth created CAMEL-10863:
---------------------------------
Summary: Maven WAR plugin fails on Java 9
Key: CAMEL-10863
URL: https://issues.apache.org/jira/browse/CAMEL-10863
Project: Camel
Issue Type: Bug
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)