[
http://jira.codehaus.org/browse/MXMLBEANS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Corridor Software Developer closed MXMLBEANS-23.
------------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.1
Fixed the generated-classes parameter usage with MXMLBEANS-33. If you are
unable to change the classes output directory for the plugin, please reopen.
> XmlBeans plugin is not compatible with Clover plugin
> ----------------------------------------------------
>
> Key: MXMLBEANS-23
> URL: http://jira.codehaus.org/browse/MXMLBEANS-23
> Project: Maven 2.x Xmlbeans Plugin
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: Jason Dillon
> Assignee: Corridor Software Developer
> Priority: Critical
> Fix For: 2.0.1
>
>
> By default the xmlbeans plugin generates bits to
> target/classes/schemaorg_apache_xmlbeans...
> But clover recompiles everything and needs them to be in
> target/clover/classes... which means that when using xmlbeans you can not use
> clover or you must add additional antrun plugins to copy these files.
> Had to add this to get the site build to work with the xmlbeans plugin:
> {code:xml}
> <!--
> HACK: Copy the generated XmlBeans bits for clover
> -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-antrun-plugin</artifactId>
> <executions>
> <execution>
> <phase>generate-resources</phase>
> <goals>
> <goal>run</goal>
> </goals>
> <configuration>
> <tasks>
> <mkdir dir="${pom.basedir}/target/clover/classes"/>
> <copy todir="${pom.basedir}/target/clover/classes">
> <fileset dir="${pom.basedir}/target/classes">
> <include name="schemaorg_apache_xmlbeans/**"/>
> </fileset>
> </copy>
> </tasks>
> </configuration>
> </execution>
> </executions>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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