Daniel Ganz wrote:
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.
It is unclear what tools you are using for your web development.
Please note that m2eclipse delegates all work to the Maven, so could
have identical build results between IDE and the command line. So, for
the most part, configuring how wars and other artifacts are being built
is need to be done in Maven's pom.xml You can look at maven
documentation or use existing archetypes to create preconfigured webapp
project.
However, to facilitate development cycle additional integration may
need to be required in the IDE, such as support for deploying, running
and debugging your webapps on the web containers. This wiki page gives
some pointers how to get most of the Maven when developing with
application servers:
http://docs.codehaus.org/display/M2ECLIPSE/Using+Maven+with+application+servers
Current version of m2eclipse also provides basic integration with WTP
2.0. Please see the following wiki page for more details:
http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+WTP
Also, if anyone have any ideas, suggestions or interested in creating
integration with other development tools, please feel free to comment in
this mailing list or update the above wiki pages.
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email