Skip to main content



      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 00:16
Eclipse UserFriend
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: Thu Jul 17 04:08:52 EDT 2025

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

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

Back to the top