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

Patch Maven Plugin can't find Fuse BOMs in multi-module Maven project

XMLWordPrintable

    • False
    • False
    • % %
    • Undefined

      When I triggered patch on spring-boot I got error with GC. I used VM for this purpouse.

      ========== Red Hat Fuse Maven patching ==========
      
      [INFO] [PATCH] Done in 75432ms
      
      =================================================
      
      [ERROR] GC overhead limit exceeded -> [Help 1]
      java.lang.OutOfMemoryError: GC overhead limit exceeded
          at java.util.LinkedList.linkFirst (LinkedList.java:127)
          at java.util.LinkedList.addFirst (LinkedList.java:293)
          at java.util.LinkedList.push (LinkedList.java:786)
          at org.jboss.fuse.mvnplugins.patch.SecureDependencyManagement.interpolate (SecureDependencyManagement.java:456)
          at org.jboss.fuse.mvnplugins.patch.SecureDependencyManagement.findProductBOM (SecureDependencyManagement.java:405)
          at org.jboss.fuse.mvnplugins.patch.SecureDependencyManagement.afterProjectsRead (SecureDependencyManagement.java:142)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          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: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
      

      Same test in different environment keep consuming memory so laptop get freeze. I am using this repo: https://gitlab.cee.redhat.com/jboss-fuse-qe/jbossqe-camel-it/-/commits/7.8.x-patch

      You can execute it like:

      mvn clean install -am -amd -pl :pdf-test -Pspring-boot,patch
      

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

                Created:
                Updated:
                Resolved: