Azhaguvel A
Azhaguvel A

Reputation: 629

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?

Upvotes: 0

Views: 355

Answers (1)

Lan
Lan

Reputation: 6660

You can pick and choose the following three ways

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

Upvotes: 2

Related Questions