You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/08/08 14:19:26 UTC

[jira] Created: (MINVOKER-46) Allow multiple invocations of Maven on the same project

Allow multiple invocations of Maven on the same project
-------------------------------------------------------

                 Key: MINVOKER-46
                 URL: http://jira.codehaus.org/browse/MINVOKER-46
             Project: Maven 2.x Invoker Plugin
          Issue Type: New Feature
    Affects Versions: 1.2
            Reporter: Benjamin Bentmann


The current course of a single IT build is
{noformat}
pre-build-script
mvn goal goal ...
post-build-script
{noformat}
i.e. there is only one invocation of Maven per project.

There are however cases where one would want to invoke Maven multiple times, i.e. to split the goal list up. For instance, calling "mvn install myplugin:help" is not possible on a plugin project due to artifact resolution. It's not impossible to configure the Invoker Plugin to realize this using multiple executions but it's a hassle with includes/excludes.

Hence, something like the following would be nice:
{noformat}
pre-build-script
mvn goal goal ...
...
mvn goal goal ...
post-build-script
{noformat}


-- 
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: (MINVOKER-46) Allow multiple invocations of Maven on the same project

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MINVOKER-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MINVOKER-46.
-------------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 1.3

Done in [r684144|http://svn.apache.org/viewvc?view=rev&revision=684144]. The invoker properties can now contain indexed properties like {{invoker.goals.n}} to configure the n-th build.

> Allow multiple invocations of Maven on the same project
> -------------------------------------------------------
>
>                 Key: MINVOKER-46
>                 URL: http://jira.codehaus.org/browse/MINVOKER-46
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 1.3
>
>
> The current course of a single IT build is
> {noformat}
> pre-build-script
> mvn goal goal ...
> post-build-script
> {noformat}
> i.e. there is only one invocation of Maven per project.
> There are however cases where one would want to invoke Maven multiple times, i.e. to split the goal list up. For instance, calling "mvn install myplugin:help" is not possible on a plugin project due to artifact resolution. It's not impossible to configure the Invoker Plugin to realize this using multiple executions but it's a hassle with includes/excludes.
> Hence, something like the following would be nice:
> {noformat}
> pre-build-script
> mvn goal goal ...
> ...
> mvn goal goal ...
> post-build-script
> {noformat}

-- 
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