Hi.
I've coded my first XJC plugin but have the problem that the maven-
> jaxb-plugin seems not to recognize the plugin.
Use dependencies/dependency inside of the <plugin.../> to add dependencies
to the plugin.
See also this Maven plugin:
https://maven-jaxb1-plugin.dev.java.net/
Here's an example:
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb1.maven2</groupId>
<artifactId>maven-jaxb1-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.jvnet.jaxbvalidation</groupId>
<artifactId>jaxbvalidation-core</artifactId>
<version>1.0.5</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<args>
<arg>-Xjaxbvalidation</arg>
</args>
</configuration>
</plugin>
</plugins>
</build>
I think the same should work with the other plugin as well.
Bye.
/lexi