Hello,

attempting to add 'wrap' or anything that pulls it into a static
distribution results in:

> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.3.0:assembly 
> (process-resources) on project test-static: Unable to build assembly: Unable 
> to resolve root: missing requirement [root] osgi.identity; 
> osgi.identity=wrap; type=karaf.feature; version=0; 
> filter:="(&(osgi.identity=wrap)(type=karaf.feature)(version>=0.0.0))" [caused 
> by: Unable to resolve wrap/2.6.2: missing requirement [wrap/2.6.2] 
> osgi.identity; osgi.identity=org.ops4j.pax.url.wrap; type=osgi.bundle; 
> version="[2.6.2,2.6.2]"; resolution:=mandatory [caused by: Unable to resolve 
> org.ops4j.pax.url.wrap/2.6.2: missing requirement 
> [org.ops4j.pax.url.wrap/2.6.2] osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))"]]
>  -> [Help 1]

which is weird, as that requirement should be satisfied by
static-framework's pax-logging-api (exports it at version=1.7.30).

The configuration is:

>                 <configuration>
>                     <startupFeatures>
>                         <startupFeature>static-framework</startupFeature>
>                         <startupFeature>scr</startupFeature>
>                         <startupFeature>http-whiteboard</startupFeature>
>                         <startupFeature>shell</startupFeature>
> 
>                         <startupFeature>odl-jung-2.1</startupFeature>
>                     </startupFeatures>
>                     <javase>11</javase>
>                     <framework>static</framework>
>                     <useReferenceUrls>true</useReferenceUrls>
>                     <environment>static</environment>
>                 </configuration>

odl-jung-2.1 has a dependency on wrap and uses wrap: protocol.

Am I missing something?

Thanks,
Robert

Reply via email to