简体   繁体   中英

How to run maven project using an ant script?

I have created the sample maven project and I am able to build maven project successfully using with maven plugin (mvn clean, mvn install ...) but I want to run the sample maven project using an ant script (ant clean, ant) without using maven goals.

Is this possible to run maven project using with ant script?

You can pick and choose the following three ways

  1. Ant exec task
  2. Ant java task
  3. Maven ant task

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM