Red Hat Bugzilla – Bug 1307765
maven-license-plugin: FTBFS in rawhide
Last modified: 2016-10-03 09:11:18 EDT
Your package maven-license-plugin failed to build from source in current rawhide.
For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Created attachment 1125356 [details]
Created attachment 1125357 [details]
Created attachment 1125358 [details]
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5:compile (default-compile) on project maven-license-plugin: Compilation failure
[ERROR] /builddir/build/BUILD/maven-license-plugin/src/main/java/com/google/code/mojo/license/util/FileUtils.java:[56,121] incompatible types: java.util.Map<java.lang.Object,java.lang.Object> cannot be converted to java.util.Map<java.lang.String,java.lang.Object>
This code is not compatible with JDK 8. Any reason not to rebase to the latest upstream 2.x on github?
*** Bug 1239668 has been marked as a duplicate of this bug. ***
What's the state here? I can not build jwebunit (see package review ¹) with enabled license check ².
¹ bug 1380942
Fixed in maven-license-plugin-1.8.0-20
(In reply to Yaakov Selkowitz from comment #5)
> This code is not compatible with JDK 8. Any reason not to rebase to the
> latest upstream 2.x on github?
This was incompatibility with our plexus-utils, not Java 8.
I believe that this bug is fixed in maven-license-plugin-1.8.0-20,
which is available in Fedora Rawhide, so I am closing this bug now.
The build containing the fix can be found at Koji:
This bug was fixed in the next release of Fedora, and it is currently
not planned to be fixed in the release it was filed against.
You can update to the newer release of Fedora to get the fix.