문제

First of all - sorry for my poor english :P I'm decided to write because I searched all google and stackoverflow and I didn't find answer...

So, I have a maven project in eclipse (Windows) and I have to export three packages (each time with another web.xml). And my question is: Is it possible to change dynamically web.xml (in WEB-INF) during maven installing/building project and as a result get 3 ear files, each of them build for another web.xml?

도움이 되었습니까?

해결책

You can use the maven-war plugin to manipulate your web.xml.

This post can maybe help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top