[ 
http://jira.codehaus.org/browse/MXMLBEANS-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159901#action_159901
 ] 

Corridor Software Developer commented on MXMLBEANS-51:
------------------------------------------------------

I agree with Karlsen here. the xmlbeans library is usually a compile time 
dependency of whatever application you build using the plugin. You need to have 
control over whether it's provided, what version, etc.


> 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


Reply via email to