OSGi/Karaf

From Chorke Wiki
Revision as of 09:07, 16 July 2021 by Shahed (talk | contribs) (→‎References)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Maven Repo Config

Marking repositories releases / snapshots

  • To enable snapshots - add @snapshots
  • To disable releases - add @noreleases
http://mvn.chorke.org/m2/public@id=chorke.public
http://mvn.chorke.org/m2/releases@id=chorke.releases
http://mvn.chorke.org/m2/snapshots@id=chorke.snapshots@snapshots@noreleases

org.ops4j.pax.url.mvn.repositories:

config:edit org.ops4j.pax.url.mvn
config:property-set org.ops4j.pax.url.mvn.repositories http://repo1.maven.org/maven2@id=central,http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases,https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases,http://mvn.chorke.org/m2/public@id=chorke.public,http://mvn.chorke.org/m2/releases@id=chorke.releases,http://mvn.chorke.org/m2/snapshots@id=chorke.snapshots@snapshots@noreleases
config:update
config:property-get org.ops4j.pax.url.mvn.repositories

Bundle Install

bundle:install -s wrap:mvn:org.chorke.core/chorke-core-utlity/1.0.00.GA
bundle:install -s wrap:mvn:commons-httpclient/commons-httpclient/3.1

References