Description
I had strange case. Running:
for n in {1..100}; do mvn clean install -DskipTests -f /path/to/custom-karaf-distro cp /path/to/custom-karaf-distro/target/assembly/etc/config.properties /data/tmp/config-$n.properties cat /path/to/custom-karaf-distro/target/assembly/etc/config.properties | sort > /data/tmp/config-$n-sorted.properties done
I was usually getting the same config.propertie. But not always. Occasionally some extra packages were missing...
Long story short, downloader uses 8 threads and org.apache.karaf.profile.assembly.Builder#downloadLibraries() uses the download callback without any synchronization...