jira-importer commented on issue #290:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/290#issuecomment-2957777579

   **[Wouter 
Hermeling](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=whermeling)**
 commented
   
   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:
   
   ```xml
   <configuration>                                                              
                                                                              
     <projectsDirectory>src/it</projectsDirectory>                              
                                                                              
     <pomIncludes>                                                              
                                                                              
       <pomInclude>**/project1/pom.xml</pomInclude>                             
                                                                                
       
       <pomInclude>**/project2/pom.xml</pomInclude>                             
                                                                                
       
       <pomInclude>**/project3/pom.xml</pomInclude>                             
                                                                                
       
     </pomIncludes>                                                             
                                                                              
   </configuration>                                                             
                                                                              
   ```
   
   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'.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to