What phase to use if I want the goal (antrun:run) to be run after creating exploded war?
I have some ant task in my .pom, whi开发者_JS百科ch copies exploded .war to the server. I want it to be run after creation of exploded .war. What should I enter in plugin configuration in <phase>
part?
Take a look at this link for all the Maven life cycle phases. You should find what you're looking for about 3/4 down the page.
If your deploying the exploded ware for testing locally, then the phase you want is probably going to be pre-integration-test.
精彩评论