Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0, 2.0.1, 2.0.2, 2.0.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows makes this especially troublesome
Description
Due to bug MNG-2127, it can be tricky to launch Maven from within Ant correctly and extract the correct exit value on all operating systems. A great solution would be to implement a <maven> task in the Maven Tasks for Ant. This code would be able to correctly and simply construct Maven's classpath (using the classes already baked into maven-artifact-ant-*-dep.jar) and execute arbitrary goals on arbitrary POMs.
Issue Links
- duplicates
-
MANTTASKS-71
running m2 inside Ant
-
Isn't this a separate issue? This one's a wish for an Ant task.