Hi,

you can do this by using the karaf maven plugin and the assembly plugin by
creating a custom distribution.
Take also a look at the documentation at [1]

regards, Achim

[1] -
http://karaf.apache.org/manual/latest-2.3.x/developers-guide/custom-distribution.html


2013/5/22 jacgec <[email protected]>

> I was going down the path of creating an off-line Maven repository
> yesterday,
> adding that folder to my KARAF_HOME, and adding that folder location to the
> defaultRepositories property of etc/org.ops4j.pax.url.mvn.cfg.  Using the
> system folder as you've suggested saves me from having to modify the
> defaultRepositories, and there's less file duplication.
>
> I have confirmed that I can install my app on a box with no Internet
> access,
> no Maven installed, and no other local repositories available.  Everything
> I
> need is being provided by the modified system folder.
>
> Thanks for the tip.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/kar-files-and-external-dependencies-tp4028764p4028787.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to