maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: maven adding wrong jar files in war lib
Date Tue, 17 Mar 2009 08:47:58 GMT
No, you don't. Scope mgmt is standard and built-in.

I really can't see how sources could have an impact on the libraries in the
final war file :-/.
I see you're using build-helper-plugin, could you temporarily disable it to
see if it changes anything?

Cheers.

2009/3/16 agent59624285 <agent59624285@spamcorptastic.com>

>
> Yes, I am using mvn clean package
>
> To find out where the asm dependency was coming from. I changed the scope
> of
> all dependency entries to provided, but I am still seeing all the jar files
> (except serverlet-api) in side the lib folder in the war file.
>
> If <scope>provided</scope>  is added to dependency, shouldn't it be not
> added in the lib folder of the war file when you do "mvn clean package"? Do
> you need a separate plugin for it to work?
>
> Thanks
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message