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:[EMAIL PROTECTED] Sent: Tuesday, 3 April 2007 4:29 AM To: [email protected] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
