Hi:
I am using maven-jaxb2-plugin to generate java files from xsd file.
The version of maven-jaxb2-plugin is 0.4 which depends on xjc version
2.1.3
But I want to use xjc version 2.1.5-SNAPSHOT
How can I do this?
Thanks
I try add 2.1.5-SNAPSHOT dependency as follow but faild.The plugin still
call version 2.1.3 to generate java files.
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.4</version>
<configuration>
<generateDirectory>
${project.build.sourceDirectory}
</generateDirectory>
<forceRegenerate>true</forceRegenerate>
</configuration>
<dependencies>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-xjc</artifactId>
<version>2.1.5-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks