Details
-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Estimated Complexity:Unknown
-
External issue URL:
Description
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
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"
Modules that fail are:
[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)
Attachments
Issue Links
- relates to
-
CAMEL-10141
Test Apache Camel on Java 9
-
- Resolved
-