On 17/09/2007, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > I guess that the presence of > [WARNING] "plexus:plexus-container-default:jar:1.0-alpha-6:compile" > is a bad sign? > > Is the right way to fix this, to excluding this from whichever > dependency is pulling it in? > > I'll try to run 'mvn package -X' and see is I can find where it's coming > from, or is there an easier/better way?
You'll need the latest unreleased version of dependency:tree: 1) Ensure you're running Maven 2.0.8-SNAPSHOT 2) Install maven-dependency-tree 1.1-SNAPSHOT: http://svn.apache.org/repos/asf/maven/shared/trunk/maven-dependency-tree/ 3) Install maven-dependency-tree-MDEP-100 branch: http://svn.apache.org/repos/asf/maven/plugins/branches/maven-dependency-plugin-MDEP-100/ Then, for your example, run: mvn dependency:tree -Dincludes=plexus:plexus-container-default -Dverbose [INFO] [dependency:tree] [INFO] org.apache.maven.plugins:maven-changes-plugin:maven-plugin:2.0-beta-3-SNAPSHOT [INFO] +- plexus:plexus-mail-sender-simple:jar:1.0-alpha-2:compile [INFO] | +- plexus:plexus-container-default:jar:1.0-alpha-6:compile [INFO] | \- plexus:plexus-mail-sender-api:jar:1.0-alpha-2:compile [INFO] | \- (plexus:plexus-container-default:jar:1.0-alpha-6:compile - omitted for duplicate) [INFO] \- plexus:plexus-mail-sender-javamail:jar:1.0-alpha-2:compile [INFO] \- (plexus:plexus-container-default:jar:1.0-alpha-6:compile - omitted for duplicate) Very handy for tracking down rogue dependencies. Cheers, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]