You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Releases

1.0

This is the first release of Distributed OSGi. For more information please see the README in each distribution.

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

<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:

<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:

<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:

<repository>
  <id>apache.snapshots</id>
  <name>Apache Maven Snapshot Repository</name>
  <url>http://repository.apache.org/content/groups/snapshots/</url>
  <releases>
    <enabled>false</enabled>
  </releases>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>

Then you can depend on the components in maven.
For the Single Bundle Distribution you depend on

<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
<version>1.1-SNAPSHOT</version>

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

<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.1-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>org.apache.cxf.dosgi</groupId>
  <artifactId>cxf-dosgi-ri-dsw-cxf</artifactId>
  <version>1.1-SNAPSHOT</version>
</dependency>
  • No labels