Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Maven

To pull the bundles in from maven, simply add them as a dependency to your pom. For the Single Bundle Distribution you depend on

Code Block
<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
<version>1.0</version>

When using the Multi Bundle Distribution you add the following dependencies:

Code Block
<dependency>
  <groupId>org.apache.cxf</groupId>
  <artifactId>cxf-bundle-minimal</artifactId>
  <version>2.2.1</version>
</dependency>
<dependency>
  <groupId>org.apache.cxf.dosgi</groupId>
  <artifactId>cxf-dosgi-ri-discovery-local</artifactId>
  <version>1.0</version>
</dependency>
<dependency>
  <groupId>org.apache.cxf.dosgi</groupId>
  <artifactId>cxf-dosgi-ri-dsw-cxf</artifactId>
  <version>1.0</version>
</dependency>

The released artefacts are available from the maven central repository, which is normally picked up by default. These are the details in case you don't have a default setup:

Code Block
<repository>
  <id>central</id>
  <name>Default maven repo</name>
  <url>http://repo1.maven.org/maven2</url>
  <releases>
    <enabled>true</enabled>
  </releases>
  <snapshots>
    <enabled>false</enabled>
  </snapshots>
</repository>

Snapshots

You can download 1.1-SNAPSHOT distributions from the following locations:

Single-Bundle distribution download from here
Multi-Bundle distribution download from here

Maven

You can also pull the snapshots in via maven. Add the Apache Snapshot repository to your maven repositories:

...