Activating a profile that configures a different web.xml file to use

Hi I have a maven project that contains the following section




Eg. when this profile is activated, a different web.xml file should be used.
I activated this profile in the maven tab and re-imported the project but somehow the exploded directory will still contain the old web.xml

Is this a bug or am I missing something ?
1 comment
Comment actions Permalink

Hmm actually it seems that intellij picks up the web.xml file in it's web facet

but the original was in src/main/webapp/WEB-INF/web.xml

and somehow intellij does not overwrite it with the one configured in the facet.

So i was able to work around it.


Please sign in to leave a comment.