Stian Soiland-Reyes created TAVERNA-1041:
--------------------------------------------

             Summary: Java 9 support: replace maven-jaxb2-plugin?
                 Key: TAVERNA-1041
                 URL: https://issues.apache.org/jira/browse/TAVERNA-1041
             Project: Apache Taverna
          Issue Type: Bug
          Components: Taverna Language, Taverna OSGi, Taverna Plugin Component, 
Taverna Server
         Environment: JDK 9
            Reporter: Stian Soiland-Reyes


It would be good if our project can compile (and not just run) with Java 9. 
This might require updating/replacing some Maven plugins. I ran into an issue 
with maven-jaxb2-plugin when [compiling taverna-language on 
JDK9|https://builds.apache.org/user/stain/my-views/view/taverna/job/incubator-taverna-language/469/console].

{{[ERROR] Failed to execute goal 
org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.3:generate (default) on project 
taverna-baclava-language: Execution default of goal 
org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.3:generate failed: Prefix '' is 
already bound to '' -> [Help 1]}}

It seems maven-jaxb2-plugin is [still working on Java 9 
support|https://github.com/highsource/maven-jaxb2-plugin/issues/114], in 
particular an issue with setting [package 
names|https://github.com/highsource/maven-jaxb2-plugin/issues/120], which 
probably would affect us.

This issue will investigate if there are workarounds for the current release of 
maven-jaxb2-plugin or if we should switch to alternatives like Apache 
[cxf-xjc-plugin|http://cxf.apache.org/cxf-xjc-plugin.html]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to