Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Support for profile specific dependencies in m2e-wtp(When for a specific maven profile you set a dependency, it will not be published to tomcat by wtp)
Support for profile specific dependencies in m2e-wtp [message #995785] Mon, 31 December 2012 05:16
Dan Hirsch is currently offline Dan HirschFriend
Messages: 1
Registered: December 2012
Junior Member
When you set in a POM a maven profile for which you define a dependency, maven will take that dependency and package it in the resulting artifact if you run the build wit the specific profile. on the other hand WTP won't. that is because WTP looks at your maven configuration statically and doesn't not know if you will run with profile A or B. well that is not fully true, you can analyze the profject specific list of profiles set in the project -> properties -> maven.

so what I am asking is that the m2e-wtp plugin will look at the static list of configured profiles for a maven project and for each profile include all it's specific dependencies in the deployed artifact.

is it possible?
Previous Topic:url-pattern in servlet mapping in web.xml
Next Topic:WASCE (Geronimo 2.1) DeploymentException error - Cound not open module file
Goto Forum:

Current Time: Mon Jun 25 00:45:05 GMT 2018

Powered by FUDForum. Page generated in 0.01695 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top