Description of problem: Depmap file for maven-plugin is installed in the main package. Because of that the main package provides mvn(org.jacoco:jacoco-maven-plugin) virtual package, but the actual plugin is not installed there. This breaks auto-requires. Reproducer: repoquery -f 'mvn(org.jacoco:jacoco-maven-plugin)' Expected result: jacoco-maven-plugin-0:0.6.3-2.fc20.noarch Actual result: jacoco-0:0.6.3-2.fc20.noarch Version-Release number of selected component (if applicable): 0.6.3-2 Additional info: [1] http://fedoraproject.org/wiki/Packaging:Java [2] http://fedoraproject.org/wiki/Packaging:Guidelines
Frankly speaking, I have no idea how to fix this. jacoco-maven-plugin lists two files %{_javadir}/jacoco-maven-plugin.jar %{_mavenpomdir}/JPP-jacoco-maven-plugin.pom main package has %{_mavendepmapfragdir}/%{name} %{_mavenpomdir}/JPP-%{name}.pom %{_mavenpomdir}/JPP.%{name}-org.jacoco.agent.rt.pom %{_mavenpomdir}/JPP.%{name}-org.jacoco.ant.pom %{_mavenpomdir}/JPP.%{name}-org.jacoco.agent.pom %{_mavenpomdir}/JPP.%{name}-org.jacoco.core.pom %{_mavenpomdir}/JPP.%{name}-org.jacoco.report.pom I really have no clue why jacoco-maven-plugin is listed as a part of the main package.
Because Maven fragment file is installed as part of the main package. You need to use separeate fragment file for plugin artifact.
Created attachment 777006 [details] Proposed patch
Created attachment 777007 [details] Proposed patch