Nicolas Brasey created KARAF-5106: ------------------------------------- Summary: karaf-maven-plugin hangs the build (probably when having cyclic deps in the features def) Key: KARAF-5106 URL: https://issues.apache.org/jira/browse/KARAF-5106 Project: Karaf Issue Type: Bug Components: karaf-tooling Affects Versions: 4.0.8 Reporter: Nicolas Brasey
The maven build in our project hangs with the following jstack. {code} - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) - locked <0x00000005f5a017e8> (a java.util.HashMap) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1154) {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)