maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter Hermeling (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MINVOKER-4) Use order of invocations as specified in pomIncludes
Date Sat, 01 Dec 2007 08:56:57 GMT

    [ 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

        

Mime
View raw message