Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
In some cases it is useful to run a maven build from an ant build script. The current options for this are either use the exec task to call mvn on the command line, or use the java task to call org.codehaus.classworlds.Launcher. It would be convenient if there was a task called <maven> that could take a pom and one or more goals as parameters and run the maven build.
Attachments
Issue Links
- duplicates
-
MANTTASKS-71 running m2 inside Ant
- Closed