[
http://jira.codehaus.org/browse/MXMLBEANS-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David J. M. Karlsen closed MXMLBEANS-51.
----------------------------------------
Resolution: Won't Fix
The dependency should be managed outside of the plugin like all other
dependencies.
You do not need to add xmlbeans to the plugins dependency list - this is
already there:
http://repo2.maven.org/maven2/org/codehaus/mojo/xmlbeans-maven-plugin/2.3.2/xmlbeans-maven-plugin-2.3.2.pom.
(But you may speciy a newer version of xmlbeans for instance).
This gives full control to the user over dependencies and xmlbeans version in
use.
> Issue with xmlbeans and plugin classpath
> ----------------------------------------
>
> Key: MXMLBEANS-51
> URL: http://jira.codehaus.org/browse/MXMLBEANS-51
> Project: Maven 2.x Xmlbeans Plugin
> Issue Type: Bug
> Affects Versions: 2.3.2
> Reporter: Julien HENRY
> Priority: Minor
>
> The only way for me to have the plugin working is to put xmlbeans dependency
> in my project dependencies. Adding it to xmlbeans-maven-plugin dependencies
> (plugin dependencies) is not enought.
> Even if most of the projects will add xmlbeans as a global dependency I think
> it would be better to make the plugin work all by itself.
> {noformat}
> <dependencies>
> <dependency>
> <groupId>org.apache.xmlbeans</groupId>
> <artifactId>xmlbeans</artifactId>
> <version>2.4.0</version>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>xmlbeans-maven-plugin</artifactId>
> <version>2.3.2</version>
> <executions>
> <execution>
> <goals>
> <goal>xmlbeans</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> {noformat}
> Works
> {noformat}
> <dependencies>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>xmlbeans-maven-plugin</artifactId>
> <version>2.3.2</version>
> <executions>
> <execution>
> <goals>
> <goal>xmlbeans</goal>
> </goals>
> </execution>
> </executions>
> <dependencies>
> <dependency>
>
> <groupId>org.apache.xmlbeans</groupId>
>
> <artifactId>xmlbeans</artifactId>
> <version>2.4.0</version>
> </dependency>
> </dependencies>
> </plugin>
> </plugins>
> </build>
> {noformat}
> Doesn't work
--
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