[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:jar (attach-javadocs) on project jacoco-maven-plugin: MavenReportException: Error while creating archive: Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools' [ERROR] artifactId = 'maven-plugin-tools-javadoc' [ERROR] version = '2.8': Missing: [ERROR] ---------- [ERROR] 1) org.easytesting:fest-assert:jar:1.4 [ERROR] [ERROR] Try downloading the file manually from the project website.
Created attachment 613596 [details] Patch proposition Adds missing BR/R.
fest-assert is only a test dependency of maven-plugin-tools and as such it's not (and it won't be) included in Requires. The problem is in the jococo package itself. jococo has a custom configuration for maven-javadoc-plugin and maven-javadoc-plugin is pulling in all test dependencies of all dependant artifacts. The solution is to modify configuration of maven-javadoc-plugin or remove the plugin invocation entirely. I suggest adding somethink like that to jococo.spec: %pom_remove_plugin :maven-javadoc-plugin Stanislav has another solution. Quoting him: sochotni: kdaniel: http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate-dependency-sources.html sochotni: kdaniel: try to exclude fest-assert with dependencySourceExcludes sochotni: but generally you can probably remove the whole m-javadoc-p invocation, we generate javadocs separately sochotni: worst case they won't be so nicely integrated sochotni: but if you want to integrate them...I suggest adding BR for fest-assert (should help) This is not a bug in maven-plugin-tools, so closing it now.