You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Deblauwe, Wim" <wi...@barco.com> on 2005/03/17 11:23:40 UTC

Multiproject plugin

Hi,
 
I'm currently using the <maven:reactor> directly but I would like to use the
multiproject plugin, because it seems more convenient. And I also like a
website that gives me an overview of all build modules. However with
<maven:reactor> I had access in the postprocessing to ${reactorProjects} and
${failedProjects}. I use these variables to build up a mail stating which
projects are successfully build and which are failed.
 
I seems that with using the multiproject plugin, these are not filled in
anymore. How should I do this?
 
regards,
 
Wim

  
Ing. Wim Deblauwe 
Software Development Engineer 
  
BarcoView - Medical Imaging Systems 
President Kennedypark 35 
B-8500 Kortrijk, Belgium 
Tel. +32 56 233 985 Fax +32 56 233 457 
www.barco.com <http://www.barco.com/>  
wim.deblauwe@barco.com <ma...@barco.com> 

 
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

RE: Multiproject plugin

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Deblauwe, Wim [mailto:wim.deblauwe@barco.com]
> Sent: jeudi 17 mars 2005 11:24
> To: Maven Users List (E-mail)
> Subject: Multiproject plugin
> 
> Hi,
> 
> I'm currently using the <maven:reactor> directly but I would like to use
> the
> multiproject plugin, because it seems more convenient. And I also like a
> website that gives me an overview of all build modules. However with
> <maven:reactor> I had access in the postprocessing to ${reactorProjects}
> and
> ${failedProjects}. I use these variables to build up a mail stating which
> projects are successfully build and which are failed.
> 
> I seems that with using the multiproject plugin, these are not filled in
> anymore. 

They are... :-) Look at multiproject plugin.jelly source code (a very good
tip BTW if you want to understand a plugin) and you'll see:

      <maven:reactor
        basedir="${maven.multiproject.basedir}"
        banner="Gathering project list"
        includes="${maven.multiproject.includes}"
        excludes="${maven.multiproject.excludes}"
        postProcessing="true"
        collectOnly="true"
        collectionVar="multiprojects"
        ignoreFailures="${maven.multiproject.ignoreFailures}"

Thus you can access the project list using the "multiprojects" variable
${multiprojects}. The failedProjects variable is created internally by the
reactor so you should also be able to access it directly as before.

-Vincent

> 
> regards,
> 
> Wim
> 
> 
> Ing. Wim Deblauwe
> Software Development Engineer
> 
> BarcoView - Medical Imaging Systems
> President Kennedypark 35
> B-8500 Kortrijk, Belgium
> Tel. +32 56 233 985 Fax +32 56 233 457
> www.barco.com <http://www.barco.com/>
> wim.deblauwe@barco.com <ma...@barco.com>
> 
> 
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized
> to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for
> any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liablility for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org