Description
If you have a dependency on:
<!-- karaf standard features -->
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>standard</artifactId>
<version>${karaf.version}</version>
<type>xml</type>
<classifier>features</classifier>
</dependency>
Note: compile scope... this will cause a radical overpopulation of startup.properties which will result in a listing with a wrap: prefix which will
then cause a failure of karaf startup because the SimpleMavenResolver does not have any logic to deal with a wrap:mvn:<groupId>/<artifactId> (because it presumes all mvn urls are prefixed with mvn. As a result you will get a failure on first karaf startup, and on subsequent startups you will get a partial resolution case.
Suggested solution: check for the wrap: prefix in SimpleMavenResolver and handle it correctly.