2.3 Getting Bundlor with Maven

Eclipse Virgo Bundlor can be obtained from a Maven repository.

  1. Add the Eclipse Virgo build and SpringSource Enterprise Bundle Repository resolvers to the pom.xml file

    <repository>
      <id>eclipse.virgo.build.bundles.release</id>
      <name>Eclipse Virgo Build</name>
      <url>http://build.eclipse.org/rt/virgo/maven/bundles/release</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>
  2. Add a dependency to the pom.xml file

    <dependencies>
      <dependency>
        <groupId>org.eclipse.virgo.bundlor</groupId>
    	<artifactId>org.eclipse.virgo.bundlor.maven</artifactId>
    	<version>1.1.2.RELEASE</version>
    	<scope>compile</scope>
      </dependency>
    </dependencies>