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/03/06 09:21:33 UTC

[jira] [Resolved] (CAMEL-10863) Maven WAR plugin fails on Java 9

     [ https://issues.apache.org/jira/browse/CAMEL-10863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Poth resolved CAMEL-10863.
-------------------------------
    Resolution: Fixed

> 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)