Use cxf-xjc-plugin instead of maven-jaxb2-plugin
diff --git a/taverna-baclava-language/pom.xml b/taverna-baclava-language/pom.xml
index 567b992..7ac5122 100644
--- a/taverna-baclava-language/pom.xml
+++ b/taverna-baclava-language/pom.xml
@@ -31,6 +31,7 @@
<description>Support for reading and writing Baclava files</description>
<build>
<plugins>
+ <!--
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
@@ -46,6 +47,34 @@
<generatePackage>org.apache.taverna.baclava</generatePackage>
</configuration>
</plugin>
+ -->
+ <plugin>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-xjc-plugin</artifactId>
+ <version>3.2.1</version>
+ <configuration>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>xsdtojava</goal>
+ </goals>
+ <configuration>
+ <xsdOptions>
+ <xsdOption>
+ <xsd>src/main/resources/xsd/xscufl.xsd</xsd>
+ <packagename>org.apache.taverna.xscufl</packagename>
+ </xsdOption>
+
+ <xsdOption>
+ <xsd>src/main/resources/xsd/baclava.xsd</xsd>
+ <packagename>org.apache.taverna.baclava</packagename>
+ </xsdOption>
+ </xsdOptions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>