Hi My build was taking unusually long (28m vs 9m) and it seemed to stall installing all artefacts at the end, so I pressed ctrl+\ to create a JVM profile and I noticed this long running thread. Any comments?
"mvn-builder-artifactcommandline" #25 prio=5 os_prio=0 cpu=1302760.01ms elapsed=1412.09s tid=0x00007f75e0345800 nid=0x1243e1 runnable [0x00007f75a86c7000] java.lang.Thread.State: RUNNABLE at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.insertAtPreferredLocation(MavenJDOMWriter.java:282) at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.iterateExclusion(MavenJDOMWriter.java:498) at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.updateDependency(MavenJDOMWriter.java:1343) at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.iterateDependency(MavenJDOMWriter.java:396) at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.updateModel(MavenJDOMWriter.java:1632) at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.write(MavenJDOMWriter.java:2168) at org.apache.maven.plugins.shade.pom.PomWriter.write(PomWriter.java:75) at org.apache.maven.plugins.shade.mojo.ShadeMojo.rewriteDependencyReducedPomIfWeHaveReduction(ShadeMojo.java:1201) at org.apache.maven.plugins.shade.mojo.ShadeMojo.createDependencyReducedPom(ShadeMojo.java:1130) at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:486) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:210) at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:195) at java.util.concurrent.FutureTask.run( java.base@11.0.14.1/FutureTask.java:264) at java.util.concurrent.Executors$RunnableAdapter.call( java.base@11.0.14.1/Executors.java:515) at java.util.concurrent.FutureTask.run( java.base@11.0.14.1/FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker( java.base@11.0.14.1/ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run( java.base@11.0.14.1/ThreadPoolExecutor.java:628) at java.lang.Thread.run(java.base@11.0.14.1/Thread.java:829) Thanks Delany