https://bugzilla.redhat.com/show_bug.cgi?id=1822109
Bug ID: 1822109
Summary: No implementation for
org.codehaus.mojo.natives.manager.EnvFactoryManager
was bound
Product: Fedora
Version: 32
Status: NEW
Component: maven-native
Assignee: deamicis(a)bluewin.ch
Reporter: deamicis(a)bluewin.ch
QA Contact: extras-qa(a)fedoraproject.org
CC: deamicis(a)bluewin.ch,
java-sig-commits(a)lists.fedoraproject.org,
puntogil(a)libero.it
Target Milestone: ---
Classification: Fedora
Description of problem:
When I build the package openjfx that need maven-native on F32 with the
alpha.11 version, I have this error:
[INFO] ------------------------------------------------------------------------
[ERROR] UndeclaredThrowableException: InvocationTargetException: Unable to load
the mojo 'unzipinc' (or one of its required components) from the plugin
'org.codehaus.mojo:native-maven-plugin:1.0-alpha-11':
com.google.inject.ProvisionException: Unable to provision, see the following
errors:
[ERROR]
[ERROR] 1) No implementation for
org.codehaus.mojo.natives.manager.EnvFactoryManager was bound.
[ERROR] while locating org.codehaus.mojo.natives.plugin.NativeUnZipIncMojo
[ERROR] at ClassRealm[extension>org.codehaus.mojo:native-maven-plugin:SYSTEM,
parent: sun.misc.Launcher$AppClassLoader@7852e922] (via modules:
org.eclipse.sisu.wire.WireModule ->
org.eclipse.sisu.plexus.PlexusBindingModule)
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with
@com.google.inject.name.Named(value=org.codehaus.mojo:native-maven-plugin:1.0-alpha-11:unzipinc)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.codehaus.mojo:native-maven-plugin:1.0-alpha-11:unzipinc
I haven't this error on F31 with the alpha.8 version.
It seems that on alpha.11 in maven-native-manager the file located in
META-INF/plexus/components.xml is removed or replaced by annotation but it
doesn't work. I don't know if the a problem with the package maven-native
(something is missing?) or a bug with the fedora maven version?
As I'm the maintainer of maven-native, I will publish a new version with this
missing file. I have tested and it works correctly with.
Version-Release number of selected component (if applicable):
maven-native, native-maven-plugin version 1.0-0.1.alpha.11.fc32
--
You are receiving this mail because:
You are on the CC list for the bug.