Hi Alex,

Wich JDK are you using when building the custom distribution?

regards,

François
fpa...@apache.org

Le 09/09/2019 à 19:05, Alex Soto a écrit :
> Hello, 
>
> I am trying to build a custom distribution using karaf-maven-plugin
> with Karaf version 4.2.6. To keep it to a minus, I have removed my
> feature, leaving only the following:
>
> <startupFeatures>
> <feature>static-framework</feature>
> </startupFeatures>
> <javase>1.8</javase>
> <framework>static</framework>
> <useReferenceUrls>true</useReferenceUrls>
> <environment>static</environment>
>
> Still, I get the following error:
>
> Unable to build assembly: Unable to resolve root: missing requirement
> [root] osgi.identity; osgi.identity=static-framework;
> type=karaf.feature; version=4.2.6;
> filter:="(&(osgi.identity=static-framework)(type=karaf.feature)(version>=4.2.6))"
> [caused by: Unable to resolve static-framework/4.2.6: missing
> requirement [static-framework/4.2.6]
> osgi.identity; osgi.identity=org.ops4j.pax.logging.pax-logging-log4j2;
> type=osgi.bundle; version="[1.10.2,1.10.2]"; resolution:=mandatory
> [caused by: Unable to
> resolve org.ops4j.pax.logging.pax-logging-log4j2/1.10.2: missing
> requirement [org.ops4j.pax.logging.pax-logging-log4j2/1.10.2]
> osgi.wiring.package; filter:="(osgi.wiring.package=javax.activation)”]]
>
>
> What am I missing?
>
>
> Best regards,
> Alex soto
>
>
>
>

Reply via email to