If the app server contains the library on it's path, set the scope to "provided" and the library won't be included in the final artifact (*.war)
On Dec 11, 2007 12:23 PM, Daniel Ganz <[EMAIL PROTECTED]> wrote: > Hi there! > > I am using m2eclipse plugin with eclipse europa, having multi module maven > project (web application). > But i have different dependency scopes for each dependencies (for exaplme > servlet.api etc. ) and I dont want > eclipse to deploy them to server, when I run it as wep application (I am > using tomcat6) > > So is it possible, that m2eclipse plugin respects dependency scope ? > For example, when I have dependency with scope provided, m2eclipse set the > library so, that when running app on server, the library would not be > copyied to web-inf/lib directory. > > Thanks a lot for your help. > And sorry for my english :) > > dano > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > >
