[
https://jira.codehaus.org/browse/MJAXB-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275671#comment-275671
]
Michael Osipov commented on MJAXB-36:
-------------------------------------
Works as desired automagically with dep section:
{code}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<clearOutputDir>false</clearOutputDir>
</configuration>
<executions>
<execution>
<id>defaults-jaxb-binding</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<schemaFiles>defaults.xsd</schemaFiles>
<staleFile>${project.build.directory}/jaxb.db.staleFlag</staleFile>
</configuration>
</execution>
<execution>
<id>alternatives-jaxb-binding</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<schemaFiles>alternatives.xsd</schemaFiles>
<staleFile>${project.build.directory}/jaxb.ab.staleFlag</staleFile>
</configuration>
</execution>
<execution>
<id>rule-jaxb-binding</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<schemaFiles>rule.xsd</schemaFiles>
<staleFile>${project.build.directory}/jaxb.rb.staleFlag</staleFile>
<arguments>-Xxew -delete</arguments>
</configuration>
</execution>
<execution>
<id>controlForm-jaxb-binding</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<schemaFiles>controlForm.xsd</schemaFiles>
<staleFile>${project.build.directory}/jaxb.cfb.staleFlag</staleFile>
</configuration>
</execution>
<execution>
<id>lockfile-jaxb-binding</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<schemaFiles>lockfile.xsd</schemaFiles>
<staleFile>${project.build.directory}/jaxb.lb.staleFlag</staleFile>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>dk.conspicio</groupId>
<artifactId>jaxb-xmlelementwrapper-plugin</artifactId>
<version>1.3-132</version>
</dependency>
</dependencies>
</plugin>
{code}
Feel free to close.
> Provide plugins element to support additional JAXB plugins
> ----------------------------------------------------------
>
> Key: MJAXB-36
> URL: https://jira.codehaus.org/browse/MJAXB-36
> Project: Maven 2.x JAXB 2.1 Plugin
> Issue Type: New Feature
> Affects Versions: 1.3
> Reporter: Michael Osipov
> Priority: Critical
>
> I am not able to attach custom plugins like JAXB commons. This extension does
> http://confluence.highsource.org/display/MJIIP/User+Guide please provide the
> same way to do it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email