No answers so far, maybe I shoul elaborate a bit...

What do I want to do?
---------------------
I want to do a nightly build of all my maven projects. At the end I want to
create an overview mail with information regarding all these projects. With
the postprocessing I can generate a nice mail stating what projects have
been build, but for me that is not enough.

I want to write in the mail something like this:

Project: someproject
Build successful: true
Website: index.html (this being a link to the website ofcourse)

and optionally (but very cool):
Unit tests:
+ Run: 200
+ Failures: 3
+ Errors: 1
PMD failures: 65
Clover coverage: 85,7%

And a piece of information like this for every project that has been build.

Probably none of this information is currently in the reactorProject
variable? Please correct me if I'm wrong.

So what would we need to have this?
-----------------------------------
Plugins should be able to set variables in the reactorProject variable, so
that in the postProcessing step, these can be read out again. That way, this
mail could be very easily created.

regards,

Wim


-----Original Message-----
From: Deblauwe, Wim [mailto:[EMAIL PROTECTED]
Sent: woensdag 9 maart 2005 9:40
To: Maven Users List (E-mail)
Subject: reactor postprocessing for failures


Hi,
 
I'm searching for some more information on the postprocessing you can do
with the reactor. From the documentation:
 
<!-- Generate the site for each of the components. -->
    <maven:reactor
      basedir="${basedir}/components"
      postProcessing="true"
      includes="*/project.xml"
      excludes="bad-component/*"
      goals="site"
      banner="Generating Site"
      ignoreFailures="true"/>
    <!--
     |
     | At this point because 'postProcessing' was turned on we have all
     | the processed POMs available to us in the ${reactorProjects}
variable.
     |
     -->
    <j:forEach var="reactorProject" items="${reactorProjects}">
      ... Do whatever you want with the harvested information ...
    </j:forEach>
What are things you can 'ask' to the reactorProject variable? 
Since ignoreFailures="true", some projects might have not build properly. Is
there a way to know that in postprocessing?
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/>  
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 
- - - - - - - 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.
- - - - - - - 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.

Reply via email to