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:Project importing existing web app into Eclipse
Next Topic:I need XML validation support
Goto Forum:

Current Time: Fri Apr 28 18:22:13 GMT 2017

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

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