Is there an easy way to generate an Ant build script from a Maven POM?

◇◆丶佛笑我妖孽 提交于 2019-12-19 03:24:14

问题


We have a project that uses Maven as its build/dependency management tool. But our code needs to be compiled at our client's site and our client demands that we deliver build scripts written for Ant.

So, we would like to keep working with Maven and automatically generate the Ant scripts when we need to deliver the code to the client.

Can we do that?


回答1:


You can use the Maven Ant Plugin.



来源:https://stackoverflow.com/questions/2056729/is-there-an-easy-way-to-generate-an-ant-build-script-from-a-maven-pom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!