...
- 30 issues resolved (see jira)
- Karaf feature for easy installation in Apache Karaf
- Zookeeper discovery now supports automatic reconnects and Cluster configuration
- DOSGi is now independent of spring dm
- Custom intents are now created by publishing e.g. CXF Features as services
- Big refactorings make the code much easier to understand
Migration
There is one incompatible change in this release. Previously custom intents were defined by using a special spring dm file below osgi-inf in the bundle that exports a service. From DOSGi 1.4.0 on custom intents can be defined by exporting the intent (e.g. a feature) as an OSGi service with a special property "org.apache.cxf.dosgi.IntentName" for the name of the intent. See dosgi custom intents.
Distributions
Release 1.3.1 (Current Release)
...
Description | File |
---|---|
Multi-bundle distribution (tar.gz) | |
Multi-bundle distribution (zip) | |
Single-bundle distribution | |
Source distribution |
Maven
@@@ TODO: this section needs updating
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.1</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.9</version>
</dependency>
<dependency>
<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-discovery-local</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-dsw-cxf</artifactId>
<version>1.2</version>
</dependency> |
...
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.3-SNAPSHOT distributions from the following locations:
Single-Bundle distribution download from here
Multi-Bundle distribution download from here
Maven
@@@ TODO: this section needs updating
You can also pull the snapshots in via maven. Add the Apache Snapshot repository to your maven repositories:
Code Block |
---|
<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
Code Block |
---|
<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
<version>1.3-SNAPSHOT</version> |
When using the Multi Bundle Distribution you add the following dependencies:
...
Archived Releases
1.3 was released February 6th, 2012.
...