Maven site build slow due to Dependency report plugin
|
|
|
Maven site build slow
If you get an error messages like this while building your site :
<pre>
[ERROR] Unable to determine if resource org.apache.geronimo.bundles:bval-jsr303:jar:0.3_1-incubating:provided exists in ...svn.apache.org/repos/asf/openejb/repo/
</pre>
Your Dependency report plugin taking a long time to generate with Url is invalid � repository will be blacklisted.
The message is �clear, one of the dependency report plugin tries to determine if resources are located within a given repository. If that repository doesn�t exist anyomore or is just terribly slow, your site build will be as well.
To fix this issue you can run your site building using the following parameter :
or disable it directly in your Pom or Settings.xml
The repository location won't be published anymore but you will enjoy your faster build
With a parent pom
If you want to disable the parameter for all children project :
If you enjoyed this article and want to promote it don't hesitate to click on