You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Cassidy <mi...@vegas.com> on 2005/09/02 20:39:54 UTC
FW: [m2] war plug-in does not pay attention to dependency scoping
> I am using m2 (alpha2-3) to build a war. I have included scoping
> information on dependencies, but they still end up in the war. Anyone
> have an idea how to fix this. Pom excerpt below...
>
> <dependency>
> <groupId>tomcat-common-lib</groupId>
> <artifactId>_env-sb-concierge-tomcat</artifactId>
> <version>0.0</version>
> <scope>provided</scope>
> </dependency>
>
>
> Michael D. Cassidy
> Software Architect
> Vegas.com
> michael.cassidy@vegas.com
>
Re: FW: [m2] war plug-in does not pay attention to dependency scoping
Posted by Jesse McConnell <je...@gmail.com>.
are you certain that you are not bringing in the dependency from another one
that you are sucking into the war?
use -X to get a breakdown of the dependency tree and maybe even paste that
into here...
On 9/2/05, Michael Cassidy <mi...@vegas.com> wrote:
>
> > I am using m2 (alpha2-3) to build a war. I have included scoping
> > information on dependencies, but they still end up in the war. Anyone
> > have an idea how to fix this. Pom excerpt below...
> >
> > <dependency>
> > <groupId>tomcat-common-lib</groupId>
> > <artifactId>_env-sb-concierge-tomcat</artifactId>
> > <version>0.0</version>
> > <scope>provided</scope>
> > </dependency>
> >
> >
> > Michael D. Cassidy
> > Software Architect
> > Vegas.com <http://Vegas.com>
> > michael.cassidy@vegas.com
> >
>
>
--
jesse mcconnell