开发者

What phase to use if I want the goal (antrun:run) to be run after creating exploded war?

开发者 https://www.devze.com 2023-01-26 21:14 出处:网络
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>

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消