Yep, that sounds smart! Especially since I can activate the profile by the existence of HUDSON_HOME. I'll try that, thanks!
Best regards, Eric -----Ursprüngliche Nachricht----- Von: Jörg Schaible [mailto:[email protected]] Gesendet: Dienstag, 20. Juli 2010 15:32 An: [email protected] Betreff: Re: AW: AW: Does the sequence of goals/phases matter? Lewis, Eric wrote: > Actually, it's a bit complicated :-) > > The Maven build is started within Hudson. The plugins within Hudson (PMD, > Checkstyle etc.) require the report XMLs (created by pmd:pmd etc.) to be > able to work. So I need to call those goals for every build. > > However, we also have a nightly build (which should also work with the > Hudson plugins), which builds the Maven site (since that's not part of > Continuous Integration). There are other metrics which are included there, > but not the ones from the Hudson plugins. > > So even though e.g. the PMD plugin says that pmd:pmd should be used as a > Maven report, I need it outside of the site lifecycle. Create a hudson profile and bind all these goals in this profile to e.g. the package phase. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
