You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by William Ferguson <Wi...@yarris.com> on 2007/04/03 02:00:25 UTC

RE: [***POSSIBLE SPAM***] - WAR Archiver: avoiding JAR files in WEB-INF/lib - Bayesian Filter detected spam

The scope you want is 'provided'.

See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html for more details on specifying dependencies.

William 

-----Original Message-----
From: Gonzalo Vásquez Sáez [mailto:gonzalo.vasquez.saez@gmail.com] 
Sent: Tuesday, 3 April 2007 4:29 AM
To: users@maven.apache.org
Subject: [***POSSIBLE SPAM***] - WAR Archiver: avoiding JAR files in WEB-INF/lib - Bayesian Filter detected spam

Is there any way to tell some dependencies just to be used on the compile phase and not to be included in the run phase during a WAR packaging? I have some Application Server specific JAR files needed during compile time (IBM WAS 6), but which they don't need to be included in the WAR itself, as they would be already accessible from the AppServer's classpath.

Perhaps some other <scope /> other than "compile", or some special plugin?

Thanks.-

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