[maven-release-plugin] copy for tag org.apache.aries.cdi-1.0.2
[maven-release-plugin] prepare release org.apache.aries.cdi-1.0.2
9 files changed
tree: 2d041105016662cb0bb2fdea5c426dac21fb249d
  1. .gitignore
  2. LICENSE
  3. NOTICE
  4. README.md
  5. cdi-bom/
  6. cdi-executable/
  7. cdi-extender/
  8. cdi-extension-el-jsp/
  9. cdi-extension-http/
  10. cdi-extension-jndi/
  11. cdi-extra/
  12. cdi-itests/
  13. pom.xml
README.md

Aries CDI Integration

This is an implementation of CDI Integration Specification .

License

Apache License Version 2.0

Building From Source

The build uses maven so it should look pretty familiar to most developers.

mvn clean install

Depedencies

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>

Pre-built runtime

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.