From 327a7da1c4fcfe589cefc3d180c55beaf0578965 Mon Sep 17 00:00:00 2001
From: Erik Brakkee <erik@brakkee.org>
Date: Wed, 14 Jul 2010 20:05:37 +0000
Subject: [PATCH] added site.

---
 support/cdi/src/site/site.xml       | 22 ++++++++++++++++
 support/cdi/src/site/xdoc/index.xml | 41 +++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 support/cdi/src/site/site.xml
 create mode 100644 support/cdi/src/site/xdoc/index.xml

diff --git a/support/cdi/src/site/site.xml b/support/cdi/src/site/site.xml
new file mode 100644
index 00000000..c93f7c22
--- /dev/null
+++ b/support/cdi/src/site/site.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"
+ name="utilities library: support/cdi">
+  <skin>
+    <groupId>org.wamblee</groupId>
+    <artifactId>wamblee-skin</artifactId>
+  </skin>
+ 
+  <body>
+    <links>
+      <item name="utilities library" href="http://utils.wamblee.org/"/>
+      <item name="support/cdi" href="http://utils.wamblee.org/support/cdi/index.html"/>
+    </links>
+
+    <menu name="support/cdi">
+      <item name="user guide" href="index.html"/>
+      <item name="full javadoc" href="apidocs/index.html"/>
+    </menu>
+  </body>
+</project>
diff --git a/support/cdi/src/site/xdoc/index.xml b/support/cdi/src/site/xdoc/index.xml
new file mode 100644
index 00000000..274a9db6
--- /dev/null
+++ b/support/cdi/src/site/xdoc/index.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  
+  <properties>
+    <title>user guide</title>
+    <author email="erik@brakkee.org">Erik Brakkee</author>
+  </properties>
+  <body>
+    <section name="Overview">
+      <p>The CDI (Contexts and Dependency Injection, JSR-299) support library contains support for
+        injecting contextual references into any object. THis is useful for integration of CDI in
+        application managed objects or for integration in third-party frameworks. Injection based on
+        for instance @EJB, @Resource, and @PersistenceContext becomes a one liner. 
+        In addition, there is also testing support in the APIs.</p>
+      <p>Package overview:</p>
+      <ul>
+        <li><a href="apidocs/org/wamblee/cdi/package-summary.html">CDI</a></li>
+      </ul>
+      <div class="infoMessage"><strong>Note</strong>:
+        You need a Java EE 6 environment to use CDI. 
+      </div>
+
+    </section>
+
+    <section name="Maven POM configuration">
+      <table>
+        <tr>
+          <th>groupId</th>
+          <th>artifactId</th>
+        </tr>
+        <tr>
+          <td>org.wamblee</td>
+          <td>wamblee-support-cdi</td>
+        </tr>
+      </table>
+    </section>
+
+  </body>
+</document>
-- 
2.31.1