Hi all, I am trying to use the 2.0 version of the jaxb2-maven-plugin and I can't find a way to pass a JAR or Maven dependency to the XJC command, in order to use an existing JAXB episode.
I have generated an "A.jar" containing classes and a META-INF\sun-jaxbepisode. Now I want my "B.jar" to be constructed using the "A.jar" which is set as a dependency in Maven. I can't find anywhere a mechanism, such as the one described in this older/alternative version of the maven-jaxb2-plugin: https://github.com/highsource/maven-jaxb2-plugin/wiki/Using-Episodes I am basically looking for this kind of construct: <project ...> ... <dependencies> ... <dependency> <groupId>com.acme.foo</groupId> <artifactId>a-schema</artifactId> <version>1.0</version> </dependency> ... </dependencies> <build> <defaultGoal>test</defaultGoal> <plugins> <plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <configuration> <extension>true</extension> <episodes> <episode> <groupId>com.acme.foo</groupId> <artifactId>a-schema</artifactId> </episode> </episodes> </configuration> </plugin> </plugins> </build> ... </project> How can I achieve this in the 2.0 version of the jaxb2-maven-plugin? Thanks a lot -- View this message in context: http://mojo.10943.n7.nabble.com/How-to-use-an-existing-JAXB-episode-in-jaxb2-maven-plugin-v2-0-tp47426.html Sent from the User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email