commit | 32f43b555a325059dd06ee505465a97118e85b34 | [log] [tgz] |
---|---|---|
author | Raymond Auge <rotty3000@apache.org> | Mon Apr 01 10:54:41 2019 -0400 |
committer | Raymond Auge <rotty3000@apache.org> | Mon Apr 01 10:54:41 2019 -0400 |
tree | 13573be01b4c94823e0326020003ad6b8fe1820e | |
parent | 3f42b693daef4019da4c2a40cd9628444dd14167 [diff] |
add missing header Signed-off-by: Raymond Auge <rotty3000@apache.org>
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.