xmlbeans plugin adds bunch of dependencies to the project
---------------------------------------------------------
Key: MXMLBEANS-44
URL: http://jira.codehaus.org/browse/MXMLBEANS-44
Project: Maven 2.x Xmlbeans Plugin
Issue Type: Bug
Reporter: Eugene Kuleshov
If you take any project that is using xmlbeans plugin 2.3.0 or 2.3.1 and run
"mvn package dependency:tree" command (assuming that package phase will execute
xmlbeans) you'll see extra dependencies added
[INFO] [xmlbeans:xmlbeans {execution: main-schema}]
...
[INFO] [dependency:tree]
[INFO] org.apache.maven:org.apache.maven.pom:jar:1.0.0-SNAPSHOT
[INFO] +- org.apache.maven:maven-artifact:jar:2.0.6:compile
[INFO] +- org.apache.maven:maven-project:jar:2.0.6:compile
[INFO] | +- org.apache.maven:maven-settings:jar:2.0.6:compile
[INFO] | +- org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[INFO] | \-
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[INFO] | +- junit:junit:jar:3.8.1:compile
[INFO] | \- classworlds:classworlds:jar:1.1-alpha-2:compile
[INFO] +- org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[INFO] +- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[INFO] +- org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[INFO] +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile
[INFO] +- stax:stax-api:jar:1.0.1:compile
[INFO] +- org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[INFO] +- org.codehaus.plexus:plexus-utils:jar:1.4.2:compile
[INFO] +- org.apache.maven:maven-profile:jar:2.0.6:compile
[INFO] \- org.apache.maven:maven-model:jar:2.0.6:compile
PS: David Jencks suggested to comment out line 462 of AbstractXmlBeansPlugin in
trunk. I've tried that and it seem to resolve issue:
[INFO] [xmlbeans:xmlbeans {execution: main-schema}]
...
[INFO] [dependency:tree]
[INFO] org.apache.maven:org.apache.maven.pom:jar:1.0.0-SNAPSHOT
[INFO] \- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[INFO] \- stax:stax-api:jar:1.0.1:compile
--
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