I don't want to make a copy of the schema which is publicly available in my project directory. So, I would like to pass a URL to maven-jaxb-plugin just like I can pass a URL to XJC. I tried doing this, but it does not work:
<plugin> <groupId>com.sun.tools.xjc.maven2</groupId> <artifactId>maven-jaxb-plugin</artifactId> <executions> <execution> <goals> <goal>generate</goal> </goals> <configuration> <args> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd </args> </configuration> </execution> </executions> </plugin>
I don't see args being passed to XJC.
Thanks, Sahoo
|