It's a dependency of plexus-archiver 1.0-alpha-9 [1]. I have declared it to add exclusions of plexus-container which is a dependency of plexus-io.
-- Olivier [1] http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom 2007/12/16, Dennis Lundberg <[EMAIL PROTECTED]>: > > What's up with plexus-io? Is that needed? > > [EMAIL PROTECTED] wrote: > > Author: olamy > > Date: Sat Dec 15 16:02:36 2007 > > New Revision: 604532 > > > > URL: http://svn.apache.org/viewvc?rev=604532&view=rev > > Log: > > [MJAR-74] Upgrade maven-archiver dependency to 2.3-SNAPSHOT > > Add some exclusions to prevent new plexus-container coming with new > version of plexus-archiver > > > > Modified: > > maven/plugins/trunk/maven-jar-plugin/pom.xml > > > > Modified: maven/plugins/trunk/maven-jar-plugin/pom.xml > > URL: > http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/pom.xml?rev=604532&r1=604531&r2=604532&view=diff > > > ============================================================================== > > --- maven/plugins/trunk/maven-jar-plugin/pom.xml (original) > > +++ maven/plugins/trunk/maven-jar-plugin/pom.xml Sat Dec 15 16:02:36 > 2007 > > @@ -71,9 +71,39 @@ > > <dependency> > > <groupId>org.apache.maven</groupId> > > <artifactId>maven-archiver</artifactId> > > - <version>2.2</version> > > + <version>2.3-SNAPSHOT</version> > > </dependency> > > <dependency> > > + <groupId>org.codehaus.plexus</groupId> > > + <artifactId>plexus-archiver</artifactId> > > + <version>1.0-alpha-9</version> > > + <exclusions> > > + <exclusion> > > + <groupId>org.codehaus.plexus</groupId> > > + <artifactId>plexus-container-default</artifactId> > > + </exclusion> > > + <exclusion> > > + <groupId>org.codehaus.plexus</groupId> > > + <artifactId>plexus-component-api</artifactId> > > + </exclusion> > > + </exclusions> > > + </dependency> > > + <dependency> > > + <groupId>org.codehaus.plexus</groupId> > > + <artifactId>plexus-io</artifactId> > > + <version>1.0-alpha-1</version> > > + <exclusions> > > + <exclusion> > > + <groupId>org.codehaus.plexus</groupId> > > + <artifactId>plexus-container-default</artifactId> > > + </exclusion> > > + <exclusion> > > + <groupId>org.codehaus.plexus</groupId> > > + <artifactId>plexus-component-api</artifactId> > > + </exclusion> > > + </exclusions> > > + </dependency> > > + <dependency> > > <groupId>commons-lang</groupId> > > <artifactId>commons-lang</artifactId> > > <version>2.1</version> > > @@ -93,6 +123,29 @@ > > > > <build> > > <plugins> > > + <plugin> > > + <artifactId>maven-enforcer-plugin</artifactId> > > + <version>1.0-alpha-3</version> > > + <executions> > > + <execution> > > + <goals> > > + <goal>enforce</goal> > > + </goals> > > + <id>ensure-no-container-api</id> > > + <configuration> > > + <rules> > > + <bannedDependencies> > > + <excludes> > > + <exclude>org.codehaus.plexus:plexus-component-api > </exclude> > > + </excludes> > > + <message>The new containers are not supported. You > probably added a dependency that is missing the exclusions.</message> > > + </bannedDependencies> > > + </rules> > > + <fail>true</fail> > > + </configuration> > > + </execution> > > + </executions> > > + </plugin> > > <!-- Need to install IT snapshot of maven-jar-plugin --> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > > > > > > > > -- > Dennis Lundberg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >