0

I wish to do something similar to this question: How to replace a value in web.xml with a Maven property? and similar to this web article

I want to add the JSFProjectStage to the web.xml of my 3 (war) subprojects using a variable based on the maven profile.

I do not use the maven-war-plugin. I am using the maven-ear-plugin. Is there a way to do this using the maven-ear-plugin?

Community
  • 1
  • 1
Mark W
  • 5,824
  • 15
  • 59
  • 97
  • If you have war project why not using maven-war-plugin...does not make sense? Can you show your pom files and what you tried? – khmarbaise Feb 27 '15 at 09:46
  • I have 3 war projects which are packaged into an ear using the maven-ear plugin. I have tried adding the property to the profile, but then I realised I needed the maven-war-plugin configuration. – Mark W Feb 27 '15 at 09:48

0 Answers0