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

patch-maven-plugin does not work with Maven 3.9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.12-GA
    • fuse-7.11.1-GA
    • Patching
    • None
    • Very Likely

      Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/xml/Xpp3DomBuilder
          at org.jboss.fuse.mvnplugins.patch.SecureDependencyManagement.readPatchMetadata(SecureDependencyManagement.java:767)
          at org.jboss.fuse.mvnplugins.patch.SecureDependencyManagement.afterProjectsRead(SecureDependencyManagement.java:219)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:222)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:172)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:100)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:821)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:270)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:568)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.xml.Xpp3DomBuilder
          at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
          at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
          at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
          at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
          ... 16 more
      

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Federico Mariani Federico Mariani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: