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]

Reply via email to