You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2008/10/07 20:23:08 UTC

[jira] Created: (MNG-3783) Add maven ant task for calling maven build from ant

Add maven ant task for calling maven build from ant
---------------------------------------------------

                 Key: MNG-3783
                 URL: http://jira.codehaus.org/browse/MNG-3783
             Project: Maven 2
          Issue Type: New Feature
          Components: Ant tasks
            Reporter: Paul Gier


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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MANTTASKS-122) Add maven ant task for calling maven build from ant

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed MANTTASKS-122.
-------------------------------

    Resolution: Duplicate

> Add maven ant task for calling maven build from ant
> ---------------------------------------------------
>
>                 Key: MANTTASKS-122
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-122
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>            Reporter: Paul Gier
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira