Thank Achim.
Let me try a different approach.
If my bundles are not in the central repo, how can I reference them for a 
bundle:install mvn:my.group using my local Nexus url?

Jason

From: Achim Nierbeck [mailto:[email protected]]
Sent: Thursday, February 25, 2016 1:22 PM
To: [email protected]
Subject: Re: kar repo question

Hi,

you have to differentiate a bit here.
The maven repository is configured in the
etc/org.ops4j.pax.url.mvn.cfg

This is needed if you install bundles with maven coordinates.

To install a set of bundles you have feature definitions (feature.xml) which 
group a bunch
of bundles to be installed in one go, this can also be used to declare 
dependencies between such sets of bundles.
Most of the time bundles in those feature.xmls are referenced via maven 
coordinates.

A Kar file builds on both, it contains feature files and the corresponding 
bundles, so this archive already contains
the bundles referenced in the feature definition. It actually acts more like a 
specialized local maven repository.

regards, Achim


2016-02-25 21:05 GMT+01:00 Pratt, Jason 
<[email protected]<mailto:[email protected]>>:
Hello – I am a bit confused on the setting the repository to pull from. We have 
an internal Nexus that I’d like to use to deploy our bundles from via a KAR 
file.
However, the two htmls
https://karaf.apache.org/manual/latest/users-guide/urls.html
https://karaf.apache.org/manual/latest/users-guide/provisioning.html
do not describe where I would list the URL to our Nexus.

My question is where would I put this URL for the Nexus so that the KAR file 
would pick it up?

Regards,
Jason






--

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & 
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to