Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-21881

Problem using -Dpatch for patch-maven-plugin with Maven 3.9

XMLWordPrintable

    • Very Likely

      I'm getting:

      Exception in thread "main" java.lang.AbstractMethodError: org.jboss.fuse.mvnplugins.patch.extensions.ZipRepositoryLayout.getChecksumAlgorithmFactories()Ljava/util/List;
      	at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:189)
      	at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:558)
      	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:66)
      	at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:351)
      	at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:179)
      	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveMetadata(DefaultRepositorySystem.java:296)
      	at org.jboss.fuse.mvnplugins.patch.SecureDependencyManagement.afterProjectsRead(SecureDependencyManagement.java:180)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:223)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:283)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:226)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:407)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
      	Suppressed: java.lang.NullPointerException
      		at org.jboss.fuse.mvnplugins.patch.extensions.ZipWagon.closeConnection(ZipWagon.java:181)
      		at org.apache.maven.wagon.AbstractWagon.disconnect(AbstractWagon.java:254)
      		at org.eclipse.aether.transport.wagon.WagonTransporter.disconnectWagon(WagonTransporter.java:303)
      		at org.eclipse.aether.transport.wagon.WagonTransporter.close(WagonTransporter.java:384)
      		at org.eclipse.aether.connector.basic.BasicRepositoryConnector.close(BasicRepositoryConnector.java:168)
      		at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:556)
      		... 19 more
      

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Tomas Veskrna Tomas Veskrna
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: