Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This thread might be a bit stale, but anyway...</p> <p>Pax has excellent support for maven urls, it even has a wrap url handler allowing you to dynamically convert non-osgi jar to nice tidy bundles.</p> <p><a href="http://wiki.ops4j.org/display/paxurl/Mvn+Protocol">http://wiki.ops4j.org/display/paxurl/Mvn+Protocol</a></p> <pre><code> &lt;dependency&gt; &lt;groupId&gt;org.ops4j.pax.url&lt;/groupId&gt; &lt;artifactId&gt;pax-url-wrap&lt;/artifactId&gt; &lt;version&gt;1.2.5&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.ops4j.pax.url&lt;/groupId&gt; &lt;artifactId&gt;pax-url-mvn&lt;/artifactId&gt; &lt;version&gt;1.2.5&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>The command would then be:</p> <pre><code>install -s mvn:groupId:artifactId:version:classifier </code></pre> <p>Note: chicken-egg scenario - you have to install these using a file: url handler first or put them into an autodeploy directory.</p> <p>Karaf has this all build in to it's distro, so maybe have a look at Karaf launcher source?</p> <p>2nd note: deploying snapshots are enable by appending @snapshots to the repo URL, configuration is managed via ConfigAdmin</p> <p>In terms of managing all your POM defined dependencies have a look at Karaf features - there's a plugin that would enable to generate a features XML file which can then be used to deploy your entire app: <a href="http://karaf.apache.org/manual/2.1.99-SNAPSHOT/developers-guide/features-maven-plugin.html">http://karaf.apache.org/manual/2.1.99-SNAPSHOT/developers-guide/features-maven-plugin.html</a></p> <p>Further more this XML artifact can be deployed to your OBR, so you can take a vanilla Felix/Equinox/Karaf setup, add the mvn url handler and configure with your company's mvn repo then provision the entire app =)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload