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.
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 thepackage
phase of the default lifecycle. So when you invokemvn verify site
thecompile
phase will be forked in the default lifecycle twice.To avoid forking we need to define the report to call
generate-no-fork
instead.