mam-dev / foss-parent

Parent POM for 1-and-1 open source projects using Maven.
http://1and1.github.io/foss-parent/github-report.html
Apache License 2.0
10 stars 4 forks source link

Avoid forking a lifecycle while executing jdepend-maven-plugin #69

Closed mfriedenhagen closed 9 years ago

mfriedenhagen commented 9 years ago

The jdepend-maven-plugin forks the compile lifecycle during the call to generate by default. With Maven 3 this happens when the site descriptor is added during the package phase of the default lifecycle. So when you invoke mvn verify site the compile phase will be forked in the default lifecycle twice.

To avoid forking we need to define the report to call generate-no-fork instead.