Try with scope 'provided'.

See [1] for a explanation of the different scopes.

Hth,

Nick Stolwijk

[1] 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html


-----Original Message-----
From: faisalloe [mailto:[EMAIL PROTECTED]
Sent: Mon 1/28/2008 10:08 AM
To: users@maven.apache.org
Subject: pom.xml jar scope
 

i have a problem with pom file.

i have servlet.jar which is already available in tomcat lib folder, i want
to use this jar only to compile and produce class files but not in project's
lib folder.

i think there is tag named
<scope>compile</scope>
but it didn't worked it still copy jar file into lib folder.
can any one i prevent copying jar file into lib folder and only to use for
compilation!
-- 
View this message in context: 
http://www.nabble.com/pom.xml-jar-scope-tp15131075s177p15131075.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to