Do you have log feature as boot feature ? Don’t you try to add Aries-proxy as boot feature as well ?
It seems to be related to startup/boot features you defined (not really environment). Regards JB > Le 3 mars 2021 à 18:22, Matthias Leinweber <[email protected]> a > écrit : > > Hello Karafers, > > i have a very strange build issue with assembly plugin. > I can build my package on my machine, on my machine inside a container using > podman as well as submitting my dockerfile to a kaniko builder. A colleague > of mine can also build it on his machine. With our internal artifactory as > well as with maven.repo.org <http://maven.repo.org/> (proxy). > > However as soon as we try to build inside our kubernetes it fails with > changing the dependencies somehow randomly changes the missing package > > [ERROR] Failed to execute goal > org.apache.karaf.tooling:karaf-maven-plugin:4.3.0:assembly (default-assembly) > on project rahla: Unable to build assembly: > org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: > missing requirement [root] osgi.identity; osgi.identity=service-security; > type=karaf.feature; version=4.3.0; > filter:="(&(osgi.identity=service-security)(type=karaf.feature)(version>=4.3.0))" > [caused by: Unable to resolve service-security/4.3.0: missing requirement > [service-security/4.3.0] osgi.identity; osgi.identity=aries-proxy; > type=karaf.feature [caused by: Unable to resolve aries-proxy/4.3.0: missing > requirement [aries-proxy/4.3.0] osgi.identity; > osgi.identity=org.apache.aries.proxy; type=osgi.bundle; > version="[1.1.8,1.1.8]"; resolution:=mandatory [caused by: Unable to resolve > org.apache.aries.proxy/1.1.8: missing requirement > [org.apache.aries.proxy/1.1.8] osgi.wiring.package; > filter:="(&(osgi.wiring.package=org.slf4j)(version>=1.7.0)(!(version>=2.0.0)))"]]] > -> [Help 1] > > We are building inside kubernetes using maven:3.6.3-jdk-11 as build image. > Same which i am using locally. > > Do you have any ideas/hints how i could debug this? > > br, > Matthias
