| <html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Getting Bundlor with Maven</title><meta content="DocBook XSL Stylesheets V1.76.0" name="generator"><link rel="home" href="index.html" title="Bundlor User Guide"><link rel="up" href="ch02.html" title="Chapter 2. Getting Bundlor"><link rel="prev" href="ch02s02.html" title="Getting Bundlor with Ivy"><link rel="next" href="ch03.html" title="Chapter 3. Quickstart"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><td align="left" width="20%"><a accesskey="p" href="ch02s02.html">Prev</a> </td><th align="center" width="60%"> </th><td align="right" width="20%"> <a accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div class="section" title="Getting Bundlor with Maven"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="getting.maven"></a>Getting Bundlor with Maven</h2></div></div></div><p>Eclipse Virgo Bundlor can be obtained from a Maven repository.</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> |
| Add the Eclipse Virgo build and SpringSource Enterprise Bundle Repository resolvers to the <code class="literal">pom.xml</code> file |
| </p><pre class="programlisting"><repository> |
| <id>eclipse.virgo.build.bundles.@release.type@</id> |
| <name>Eclipse Virgo Build</name> |
| <url>http://build.eclipse.org/rt/virgo/maven/bundles/@release.type@</url> |
| </repository> |
| <repository> |
| <id>com.springsource.repository.bundles.external</id> |
| <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> |
| <url>http://repository.springsource.com/maven/bundles/external</url> |
| </repository></pre></li><li class="listitem"><p> |
| Add a dependency to the <code class="literal">pom.xml</code> file |
| </p><pre class="programlisting"><dependencies> |
| <dependency> |
| <groupId>org.eclipse.virgo.bundlor</groupId> |
| <artifactId>org.eclipse.virgo.bundlor.maven</artifactId> |
| <version>3.5.0</version> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies></pre></li></ol></div></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="ch02s02.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="ch02.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%"> </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%"> </td></tr></table></div></body></html> |