Have you tried to create a custom distribution of Karaf ? It's great to use in offline environment. Here an example of pom assembly : --     4.0.0             org.mycustom         distrib         1.0.0-SNAPSHOT         ../pom.xml         org.mycustom.karaf.assembly     karaf-assembly     Mycustom :: Karaf Distribution :: Assembly     Karaf Custom distribution assembly                         org.apache.karaf.features             framework             ${karaf.version}             kar                             org.apache.karaf.features             enterprise             ${karaf.version}             features             xml             runtime                             org.apache.cxf.karaf             apache-cxf             features             ${cxf-core.version}             xml             runtime                             org.ops4j.pax.jdbc             pax-jdbc-features             features             ${pax-jdbc.version}             xml             runtime                             org.apache.karaf.cellar             apache-karaf-cellar             features             ${karaf-cellar.version}             xml             runtime                             io.oxsoftware.kastle             io.oxsoftware.kastle.features             features             ${project.parent.version}             xml             runtime                                                             src/main/resources                 false                                     **/*                                                         src/main/filtered-resources                 true                                     **/*                                                                                     org.apache.maven.plugins                 maven-resources-plugin                 3.0.2                                                             process-resources                                                     resources                                                                                                     org.apache.karaf.tooling                 karaf-maven-plugin                 ${karaf.version}                 true                                                             custom-distrib                         custom-distrib-services                         custom-distrib-rest                                                                 wrapper                         wrap                         aries-blueprint                         shell                         shell-compat                         feature                         jaas                         ssh                         management                         bundle                         config                         deployer                         diagnostic                         instance                         kar                         log                         package                         service                         system                         eventadmin                         scr                         jdbc                         jndi                         transaction                         war                         cxf                         cxf-jaxrs                         cxf-rs-description-swagger2                                                 pax-jdbc                         pax-jdbc-config                         pax-jdbc-pool-hikaricp                         pax-jdbc-pool-aries                         pax-jdbc-postgresql                          cellar                                                                 mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxrs-api-2.1/${servicemix.specs.jaxrs.version};type:=endorsed;export:=true                         mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.json-api-1.1/${servicemix.specs.json.version};type:=endorsed;export:=true                                         1.8                                                                                                             org.eclipse.m2e                     lifecycle-mapping                     1.0.0                                                                                                                                                                                                                                 org.apache.karaf.tooling                                                                                                                             karaf-maven-plugin                                                                                                                             [4.1.0,)                                                                                                                             assembly                                                                                                                                                                                                                                                                                                                                             Le 17/04/2018 à 10:30, nino martinez wael a écrit : > Yes, I want to include at least first level dependencies for my kar / > application.. But we need to be able todo an offline installation. > With released applications. > > On Sat, Apr 14, 2018 at 6:41 PM, Francois Papon > > > wrote: > > Hi, > > You want to include your repo into a kar ? > > François > > > Le 13/04/2018 à 16:50, nino martinez wael a écrit : >> I have this that does what I want.. BUT I think it's a hardcore >> hack. Is there no way to make a packaged kar containing a repo >> like below, using the resources parameter seems to be a hack? >> >> >> org.apache.karaf.tooling >> karaf-maven-plugin >> true >> ${karaf.version} >> >> >> features-add-to-repo >> >> features-add-to-repository >> >> >> >> mvn:org.apache.karaf.features/standard/4.2.0/xml/features >> mvn:com.netdesign.ccadmin/ccadmin-karaf-feature/3.0.0-SNAPSHOT/xml/features >> >> >> ccadmin >> >> ${project.build.directory}/classes/repository >> >> >> >> kar >> >> kar >> >> >> >> >> > > > > > -- > Best regards / Med venlig hilsen  > Nino Martinez