commit | e16af7ddefda13e256984bef04f293d0f465acf6 | [log] [tgz] |
---|---|---|
author | Raymond Auge <rotty3000@apache.org> | Mon Apr 01 13:16:54 2019 -0400 |
committer | Raymond Auge <rotty3000@apache.org> | Mon Apr 01 13:16:54 2019 -0400 |
tree | c24472158467642933cdc591f2be1456c1d7745a | |
parent | 8972a76f0f6dc96c0d1d563c066e776d9f51465d [diff] |
Revert "[maven-release-plugin] prepare release org.apache.aries.cdi-1.0.2" This reverts commit 8972a76f0f6dc96c0d1d563c066e776d9f51465d.
This is an implementation of CDI Integration Specification .
The build uses maven so it should look pretty familiar to most developers.
mvn clean install
The main artifact is the CCR (CDI Component Runtime) implementation, or extender bundle:
<dependency> <groupId>org.apache.aries.cdi</groupId> <artifactId>org.apache.aries.cdi.extender</artifactId> <version>1.0.1</version> <scope>runtime</scope> </dependency>
However all the required dependencies are available using the Aries CDI BOM:
<dependency> <groupId>org.apache.aries.cdi</groupId> <artifactId>org.apache.aries.cdi.bom</artifactId> <version>1.0.1</version> <type>pom</type> <scope>import</scope> </dependency>
This repository provides an example for how to assemble an executable jar providing a complete runtime for you to just drop in your CDI bundles. It comes complete with logging, Gogo shell, Config Admin, Http Whiteboard support, and OSGi Promises.
Once you've completed a successfull build, you should be able to execute the command:
java -jar cdi-executable/target/executable.jar
and be presented with a gogo shell prompt ready for you to install a CDI bundle.