Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Configuring the web.xml file with m2e-wtp


Have you tried using profiles? Project properties > Maven > Activate Maven Profiles allows you to activate a specific profile when building the project under eclipse. This way you can have distinct maven-war-plugin configurations for distribution and development builds.


On 09/15/2011 03:23 PM, Greg Thomas wrote:
Unfortunately, it seems m2e-wtp uses the web.xml file specified in the
>  maven-war-plugin as the web.xml to deploy to the Apache server in
>  Eclipse and not the unmodified original in the sources.

Back to the top