You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Olivier Lamy <ol...@apache.org> on 2007/12/29 23:18:53 UTC

Re: svn commit: r607422 - /maven/shared/trunk/maven-archiver/pom.xml

If I use maven-archiver in a application without any p-c-a dependency.
This will cause java.lang.NoClassDefFoundError:
org/codehaus/plexus/logging/AbstractLogEnabled

IMHO, we must leave this pom as it and add exclusions in the maven
plugins which will use   maven-archiver (as in jar plugin).
Because the issue is in maven plugin execution not in the
maven-archiver component.

WDYT ?

--
Olivier

2007/12/29, dennisl@apache.org <de...@apache.org>:
> Author: dennisl
> Date: Sat Dec 29 06:52:18 2007
> New Revision: 607422
>
> URL: http://svn.apache.org/viewvc?rev=607422&view=rev
> Log:
> o Exclude plexus-component-api so it doesn't creep in as a transitive dependency.
>
> Modified:
>     maven/shared/trunk/maven-archiver/pom.xml
>
> Modified: maven/shared/trunk/maven-archiver/pom.xml
> URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-archiver/pom.xml?rev=607422&r1=607421&r2=607422&view=diff
> ==============================================================================
> --- maven/shared/trunk/maven-archiver/pom.xml (original)
> +++ maven/shared/trunk/maven-archiver/pom.xml Sat Dec 29 06:52:18 2007
> @@ -65,6 +65,12 @@
>        <groupId>org.codehaus.plexus</groupId>
>        <artifactId>plexus-archiver</artifactId>
>        <version>1.0-alpha-9</version>
> +      <exclusions>
> +        <exclusion>
> +          <groupId>org.codehaus.plexus</groupId>
> +          <artifactId>plexus-component-api</artifactId>
> +        </exclusion>
> +      </exclusions>
>      </dependency>
>      <dependency>
>        <groupId>org.codehaus.plexus</groupId>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org