You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wouter Hermeling (JIRA)" <ji...@codehaus.org> on 2007/12/01 09:56:57 UTC

[jira] Commented: (MINVOKER-4) Use order of invocations as specified in pomIncludes

    [ http://jira.codehaus.org/browse/MINVOKER-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115607 ] 

Wouter Hermeling commented on MINVOKER-4:
-----------------------------------------

This issue applies when you want to build multiple projects in a particulair order, but they are not part of a multiproject. The invoker plugin supports building multiple projects, but the order in which they are build is not specified. It would be nice if the invoker plugin uses the order as specified in its plugin configuration. So if the following plugin configuration is used:

{code:xml}
<configuration>                                                                                                                                            
  <projectsDirectory>src/it</projectsDirectory>                                                                                                            
  <pomIncludes>                                                                                                                                            
    <pomInclude>**/project1/pom.xml</pomInclude>                                                                                                                    
    <pomInclude>**/project2/pom.xml</pomInclude>                                                                                                                    
    <pomInclude>**/project3/pom.xml</pomInclude>                                                                                                                    
  </pomIncludes>                                                                                                                                           
</configuration>                                                                                                                                           
{code}

i would expect that project1 is build before project2 and project 2 is build before project 3. In additional, if project 3 contains a dependency to project 2, the build would fail if project 2 is not build before project 3.

For the record, we are now using a real continuous integration server to get this functionality, so we do not need this functionality anymore, but i still think it would a good feature of the invoker plugin though. Anywya, i think the priority of this issue can be set to 'minor'.


> Use order of invocations as specified in pomIncludes
> ----------------------------------------------------
>
>                 Key: MINVOKER-4
>                 URL: http://jira.codehaus.org/browse/MINVOKER-4
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Wouter Hermeling
>            Assignee: John Casey
>
> I use the invoker plugin to create a multi-multiproject build. In fact, this is like using maven as a build server. 
> It would be nice if the invoker plugins does its invocations in the order as specied in pomIncludes, just like maven does on modules in pom projects. Now, it seems to use some kind of alphabetical order.

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