OSGi/Karaf: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Maven Repo Config== | ==Maven Repo Config== | ||
http://mvn.chorke.org/m2/public@id=chorke.public | '''Marking repositories releases / snapshots''' | ||
http://mvn.chorke.org/m2/releases@id=chorke.releases | * 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 | 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: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 | 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:update | ||
config:property-get org.ops4j.pax.url.mvn.repositories | 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== | ==References== | ||
{| | |||
| valign="top" | | |||
* [http://www.andrejkoelewijn.com/blog/2010/06/21/adding-a-maven-repository-for-installing-features-to-servicemix/ Adding a maven repository for installing features to ServiceMix] | * [http://www.andrejkoelewijn.com/blog/2010/06/21/adding-a-maven-repository-for-installing-features-to-servicemix/ Adding a maven repository for installing features to ServiceMix] | ||
* [http://www.lucamasini.net/Home/osgi-with-felix/creating-osgi-bundles-of-your-maven-dependencies Creating OSGi bundles of your Maven dependencies] | * [http://www.lucamasini.net/Home/osgi-with-felix/creating-osgi-bundles-of-your-maven-dependencies Creating OSGi bundles of your Maven dependencies] | ||
Line 16: | Line 26: | ||
* [https://karaf.apache.org/manual/latest-2.x/developers-guide/creating-bundles.html Creating bundles for third party dependencies] | * [https://karaf.apache.org/manual/latest-2.x/developers-guide/creating-bundles.html Creating bundles for third party dependencies] | ||
* [https://modio.io/2014/05/09/spring-data-mongodb-in-apache-karaf/ Spring Data MongoDB in OSGi Blueprint] | * [https://modio.io/2014/05/09/spring-data-mongodb-in-apache-karaf/ Spring Data MongoDB in OSGi Blueprint] | ||
* [https://karaf.apache.org/manual/latest-2.x/developers-guide/connect-console.html Programmatically connect to the console] | |||
* [http://karaf.apache.org/manual/latest/ Apache Karaf Container Documentation] | * [http://karaf.apache.org/manual/latest/ Apache Karaf Container Documentation] | ||
* [https://github.com/ANierbeck/karaf-enterprise-sample/tree/master/enterprise-sample-feature How to generate feature using Maven] | * [https://github.com/ANierbeck/karaf-enterprise-sample/tree/master/enterprise-sample-feature How to generate feature using Maven] | ||
* [https://www.javacodegeeks.com/2011/06/osgi-using-maven-equinox.html OSGi Using Maven with Equinox] | * [https://www.javacodegeeks.com/2011/06/osgi-using-maven-equinox.html OSGi Using Maven with Equinox] | ||
* [https://github.com/ANierbeck/karaf-enterprise-sample Karaf Enterprise Sample] | * [https://github.com/ANierbeck/karaf-enterprise-sample Karaf Enterprise Sample] | ||
| valign="top" | | |||
* [https://github.com/sneakybeaky/example-camel-karaf Example Camel Karaf] | * [https://github.com/sneakybeaky/example-camel-karaf Example Camel Karaf] | ||
* [https://github.com/ANierbeck/karaf-enterprise-sample/blob/master/enterprise-sample-feature/src/main/resources/features.xml Example Features - i] | * [https://github.com/ANierbeck/karaf-enterprise-sample/blob/master/enterprise-sample-feature/src/main/resources/features.xml Example Features - i] | ||
Line 25: | Line 38: | ||
* [https://github.com/jbonofre/karaf/tree/DEV_GUIDE/examples Dev Guide Examples] | * [https://github.com/jbonofre/karaf/tree/DEV_GUIDE/examples Dev Guide Examples] | ||
* [http://camel.apache.org/karaf.html Install Camel in Karaf] | * [http://camel.apache.org/karaf.html Install Camel in Karaf] | ||
* [https://www.baeldung.com/osgi Introduction to OSGi] | |||
* [http://karaf.apache.org/documentation.html Documentation] | * [http://karaf.apache.org/documentation.html Documentation] | ||
* [https://ops4j1.jira.com/wiki/spaces/paxurl/pages/3833866/Mvn+Protocol#MvnProtocol-repositories Mvn Protocol] | * [https://ops4j1.jira.com/wiki/spaces/paxurl/pages/3833866/Mvn+Protocol#MvnProtocol-repositories Mvn Protocol] | ||
|} |
Latest revision as of 09:07, 16 July 2021
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