Creating JCI 1.1-RC1 tag

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/jci/tags/1.1-RC1@1530645 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compilers/eclipse/pom.xml b/compilers/eclipse/pom.xml
index 78bfb90..0c48430 100644
--- a/compilers/eclipse/pom.xml
+++ b/compilers/eclipse/pom.xml
@@ -21,11 +21,11 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>commons-jci-eclipse</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI compiler-eclipse</name>
     <description>
         Apache Commons JCI compiler implementation for the Eclipse compiler.
diff --git a/compilers/eclipse/src/main/resources/NOTICE.txt b/compilers/eclipse/src/main/resources/NOTICE.txt
index 4829a00..6c61eda 100644
--- a/compilers/eclipse/src/main/resources/NOTICE.txt
+++ b/compilers/eclipse/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - Eclipse Compiler Implementation
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/compilers/groovy/pom.xml b/compilers/groovy/pom.xml
index 5c289b6..6fa07c8 100644
--- a/compilers/groovy/pom.xml
+++ b/compilers/groovy/pom.xml
@@ -21,11 +21,11 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>commons-jci-groovy</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI compiler-groovy</name>
     <description>
         Apache Commons JCI compiler implementation for the Groovy compiler.
diff --git a/compilers/groovy/src/main/resources/NOTICE.txt b/compilers/groovy/src/main/resources/NOTICE.txt
index 6db4d31..3edda21 100644
--- a/compilers/groovy/src/main/resources/NOTICE.txt
+++ b/compilers/groovy/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - Groovy Compiler Implementation
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/compilers/janino/pom.xml b/compilers/janino/pom.xml
index 91a1db8..789dc19 100644
--- a/compilers/janino/pom.xml
+++ b/compilers/janino/pom.xml
@@ -21,11 +21,11 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>commons-jci-janino</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI compiler-janino</name>
     <description>
         Apache Commons JCI compiler implementation for the Janino compiler.
diff --git a/compilers/janino/src/main/resources/NOTICE.txt b/compilers/janino/src/main/resources/NOTICE.txt
index 5dbadab..19a91ae 100644
--- a/compilers/janino/src/main/resources/NOTICE.txt
+++ b/compilers/janino/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - Janino Compiler Implementation
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/compilers/jsr199/pom.xml b/compilers/jsr199/pom.xml
index f5331ef..fdfb58e 100644
--- a/compilers/jsr199/pom.xml
+++ b/compilers/jsr199/pom.xml
@@ -21,11 +21,11 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>commons-jci-jsr199</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI compiler-jsr199</name>
     <description>
         Apache Commons JCI compiler implementation for JDK 1.6 and up.
diff --git a/compilers/jsr199/src/main/resources/NOTICE.txt b/compilers/jsr199/src/main/resources/NOTICE.txt
index d58bac0..952bcba 100644
--- a/compilers/jsr199/src/main/resources/NOTICE.txt
+++ b/compilers/jsr199/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - JSR 199 Compiler Implementation
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/compilers/rhino/pom.xml b/compilers/rhino/pom.xml
index aed3541..ec88d27 100644
--- a/compilers/rhino/pom.xml
+++ b/compilers/rhino/pom.xml
@@ -21,11 +21,11 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
         <relativePath>../../pom.xml</relativePath>
     </parent>
     <artifactId>commons-jci-rhino</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI compiler-rhino</name>
     <description>
         Apache Commons JCI compiler implementation for Rhino javascript.
diff --git a/compilers/rhino/src/main/resources/NOTICE.txt b/compilers/rhino/src/main/resources/NOTICE.txt
index a46c167..4625cf0 100644
--- a/compilers/rhino/src/main/resources/NOTICE.txt
+++ b/compilers/rhino/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - Rhino Compiler Implementation
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/core/pom.xml b/core/pom.xml
index f0bc810..7c6c807 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -21,10 +21,10 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
     </parent>
     <artifactId>commons-jci-core</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI core</name>
     <description>
         Apache Commons JCI core interfaces and implementations.
diff --git a/core/src/main/resources/NOTICE.txt b/core/src/main/resources/NOTICE.txt
index 927b241..1390a9c 100644
--- a/core/src/main/resources/NOTICE.txt
+++ b/core/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - Core
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/examples/pom.xml b/examples/pom.xml
index 01f6ecb..085893e 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -21,10 +21,10 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
     </parent>
     <artifactId>commons-jci-examples</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI examples</name>
     <description>
         Apache Commons JCI examples.
@@ -72,6 +72,20 @@
                     </systemProperties>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <skipAssembly>true</skipAssembly>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>2.7</version>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>
diff --git a/examples/src/main/java/org/apache/commons/jci/examples/commandline/CommandlineCompiler.java b/examples/src/main/java/org/apache/commons/jci/examples/commandline/CommandlineCompiler.java
index 9bdeaca..192756e 100644
--- a/examples/src/main/java/org/apache/commons/jci/examples/commandline/CommandlineCompiler.java
+++ b/examples/src/main/java/org/apache/commons/jci/examples/commandline/CommandlineCompiler.java
@@ -20,6 +20,7 @@
 import java.io.File;
 import java.net.URL;
 import java.net.URLClassLoader;
+import java.util.Iterator;
 
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.CommandLineParser;
@@ -114,7 +115,8 @@
         final JavaCompilerSettings settings = compiler.createDefaultSettings();
 
 
-        for (Option option : cmd) {
+        for (Iterator it = cmd.iterator(); it.hasNext();) {
+            final Option option = (Option) it.next();
             if ("classpath".equals(option.getOpt())) {
                 final String[] values = option.getValues();
                 final URL[] urls = new URL[values.length];
diff --git a/examples/src/main/java/org/apache/commons/jci/examples/serverpages/JspGenerator.java b/examples/src/main/java/org/apache/commons/jci/examples/serverpages/JspGenerator.java
index 2d55e02..1745a65 100644
--- a/examples/src/main/java/org/apache/commons/jci/examples/serverpages/JspGenerator.java
+++ b/examples/src/main/java/org/apache/commons/jci/examples/serverpages/JspGenerator.java
@@ -38,8 +38,7 @@
         final StringBuilder sb = new StringBuilder();
         final char[] input = s.toCharArray();
 
-        for (int i = 0; i < input.length; i++) {
-            final char c = input[i];
+        for (char c : input) {
             if (c == '"') {
                 sb.append('\\');
             }
diff --git a/examples/src/main/java/org/apache/commons/jci/examples/serverpages/ServerPageServlet.java b/examples/src/main/java/org/apache/commons/jci/examples/serverpages/ServerPageServlet.java
index 8e47611..bbd8b25 100644
--- a/examples/src/main/java/org/apache/commons/jci/examples/serverpages/ServerPageServlet.java
+++ b/examples/src/main/java/org/apache/commons/jci/examples/serverpages/ServerPageServlet.java
@@ -56,10 +56,10 @@
     private static final long serialVersionUID = 1L;
 
     private final ReloadingClassLoader classloader = new ReloadingClassLoader(ServerPageServlet.class.getClassLoader());
-    private FilesystemAlterationMonitor fam = null;
-    private CompilingListener jspListener = null; 
+    private FilesystemAlterationMonitor fam;
+    private CompilingListener jspListener; 
 
-    private Map servletsByClassname = new HashMap();
+    private Map<String, HttpServlet> servletsByClassname = new HashMap<String, HttpServlet>();
 
     public void init() throws ServletException {
         super.init();
@@ -125,7 +125,7 @@
         jspListener = new CompilingListener(new JavaCompilerFactory().createCompiler("eclipse"), store) {
 
             private final JspGenerator transformer = new JspGenerator();
-            private final Map<String, File> sources = new HashMap<String, File>();
+            private final Map<String, byte[]> sources = new HashMap<String, byte[]>();
             private final Set<String> resourceToCompile = new HashSet<String>();
 
             public void onStart(FilesystemAlterationObserver pObserver) {
@@ -184,11 +184,9 @@
 
     private String convertRequestToServletClassname( final HttpServletRequest request ) {
 
-        final String path = request.getPathInfo().substring(1);
+        String path = request.getPathInfo().substring(1);
 
-        final String clazz = ConversionUtils.stripExtension(path).replace('/', '.');
-
-        return clazz;
+        return ConversionUtils.stripExtension(path).replace('/', '.');
     }
 
     protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
@@ -206,8 +204,7 @@
 
             out.append("<html><body>");
 
-            for (int i = 0; i < errors.length; i++) {
-                final CompilationProblem problem = errors[i];
+            for (CompilationProblem problem : errors) {
                 out.append(problem.toString()).append("<br/>").append('\n');
             }
 
@@ -222,7 +219,7 @@
 
         log("Checking for serverpage " + servletClassname);
 
-        final HttpServlet servlet = (HttpServlet) servletsByClassname.get(servletClassname);
+        final HttpServlet servlet = servletsByClassname.get(servletClassname);
 
         if (servlet == null) {
             log("No servlet  for " + request.getRequestURI());
diff --git a/examples/src/main/resources/NOTICE.txt b/examples/src/main/resources/NOTICE.txt
index 1c6e334..7ead90c 100644
--- a/examples/src/main/resources/NOTICE.txt
+++ b/examples/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - Examples
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/fam/pom.xml b/fam/pom.xml
index 68c06ff..fd82025 100644
--- a/fam/pom.xml
+++ b/fam/pom.xml
@@ -21,10 +21,10 @@
     <parent>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-jci</artifactId>
-        <version>1.1-SNAPSHOT</version>
+        <version>1.1</version>
     </parent>
     <artifactId>commons-jci-fam</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI FileAlterationMonitor</name>
     <description>
         Commons JCI FileAlterationMonitor (FAM) to monitor local filesystems and get notified about changes.
diff --git a/fam/src/main/resources/NOTICE.txt b/fam/src/main/resources/NOTICE.txt
index 0349c27..5927955 100644
--- a/fam/src/main/resources/NOTICE.txt
+++ b/fam/src/main/resources/NOTICE.txt
@@ -1,5 +1,5 @@
 Apache Commons JCI - File Access Monitor
-Copyright 2004-2007 The Apache Software Foundation
+Copyright 2004-2013 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/pom.xml b/pom.xml
index e75de32..64a9691 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
     <packaging>pom</packaging>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-jci</artifactId>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons JCI</name>
     <description>
         Apache Commons JCI is a java compiler interface.
@@ -48,6 +48,7 @@
         <module>compilers/janino</module>
         <module>compilers/groovy</module>
         <module>compilers/rhino</module>
+        <module>examples</module>
         <!-- <module>compilers/jsr199</module> -->
     </modules>
 
@@ -60,12 +61,6 @@
                 <module>compilers/jsr199</module>
             </modules>
         </profile>
-        <profile>
-            <id>examples</id>
-            <modules>
-                <module>examples</module>
-            </modules>
-        </profile>
     </profiles>
 
     <developers>
@@ -175,11 +170,6 @@
         <plugins>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
-                <artifactId>cobertura-maven-plugin</artifactId>
-                <version>2.2</version>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
                 <artifactId>findbugs-maven-plugin</artifactId>
                 <version>1.2</version>
             </plugin>
@@ -216,7 +206,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jxr-plugin</artifactId>
-                <version>2.1</version>
+                <version>${commons.jxr.version}</version>
                 <configuration>
                     <aggregate>true</aggregate>
                 </configuration>
@@ -224,7 +214,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.5</version>
+                <version>${commons.javadoc.version}</version>
                 <configuration>
                     <aggregate>true</aggregate>
                 </configuration>
diff --git a/src/site/site.xml b/src/site/site.xml
index 98321cf..e34c226 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -28,7 +28,8 @@
             <item name="Usage" href="usage.html"/>
             <item name="FAQ" href="faq.html"/>
             <item name="Issue Tracking" href="issue-tracking.html"/>
-            <item name="Downloads" href="downloads.html"/>
+            <item name="Downloads" href="download_jci.cgi"/>
+            <item name="Javadoc" href="apidocs/index.html"/>
         </menu>
     </body>
 </project>
diff --git a/src/site/xdoc/downloads.xml b/src/site/xdoc/downloads.xml
deleted file mode 100644
index 9b2afa4..0000000
--- a/src/site/xdoc/downloads.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-   Licensed to the Apache Software Foundation (ASF) under one or more
-   contributor license agreements.  See the NOTICE file distributed with
-   this work for additional information regarding copyright ownership.
-   The ASF licenses this file to You under the Apache License, Version 2.0
-   (the "License"); you may not use this file except in compliance with
-   the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
---><document>
-   <properties>
-      <title>Apache Commons JCI - Downloads</title>
-      <author email="dev@commons.apache.org">Commons Development Team</author>
-   </properties>
-
-   <body>
-      <section name="Releases">
-
-         <p>The following releases are available:</p>
-
-         <h1>Version 1.1 </h1>
-         <p>
-             The current trunk and not released yet. Access to the source tree to see the latest and
-             greatest code is possible through <a href="source-repository.html">anonymous SVN access</a>.
-         </p>
-
-         <h1>Version 1.0, 18.06.2007</h1>
-         <p>
-             JCI is available through <a href="http://repo1.maven.org">maven repository</a> mirrors.
-             Traditional release distributions are are available from the
-             <a href="http://commons.apache.org/jci/download_jci.cgi">JCI download page</a>.
-         </p>
-<!--
-         <p>
-            Older releases are retained by the Apache Software Foundation but are 
-            moved into a <a href="http://archive.apache.org/dist/commons/jci/">
-            special archive area</a>.
-         </p>
-         <p>
-           <a href="http://people.apache.org/builds/commons/nightly/commons-jci/">
-           Nightly source and binary drops</a> are available.
-         </p>
--->
-      </section>
-
-<!--
-      <section name="Release Candidate">
-         <p>
-            Release candidates for the upcoming 1.1 release can be downloaded 
-            <a href="http://people.apache.org/~tcurdt/jci/rc/">here</a>.
-         </p>
-         <p>
-            Please review and report any problem on the 
-            <a href="mail-lists.html">mailing list</a>.
-         </p>
-         <p>
-            Planet release target is 10 April 200x.
-         </p>
-      </section>
--->
-   </body>
-</document>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 6bdf875..4fbe741 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -22,29 +22,30 @@
         <author email="dev@commons.apache.org">Commons Documentation Team</author>
     </properties>
     <body>
-        <section name="The JCI Component">
+        <section name="Apache Commons JCI">
             <p>
                 JCI is a java compiler interface. It can be used to either compile java (or any other language that can be
-                compiled to java classes like e.g. groovy or javascript) to java. It is well integrated with a FAM (FilesystemAlterationMonitor)
-                that can be used with the JCI compiling/reloading classloader. All the currently supported compilers
-                feature in-memory compilation.
+                compiled to java classes like e.g. groovy or javascript) to java. It is well integrated with a filesystem
+                alteration monitor that can be used with the JCI compiling/reloading classloader. All the currently
+                supported compilers feature in-memory compilation.
             </p>
             <p>The current implementation supports compilation via the following compilers:</p>
             <ul>
-                <li>eclipse</li>
-                <li>janino</li>
-                <li>groovy</li>
-                <li>rhino</li>
+                <li><a href="http://www.eclipse.org/jdt/core/">Eclipse JDT compiler</a></li>
+                <li><a href="http://docs.codehaus.org/display/JANINO/Home">Janino</a></li>
+                <li><a href="http://groovy.codehaus.org/">Groovy</a></li>
+                <li><a href="http://www.mozilla.org/rhino">Rhino</a></li>
             </ul>
         </section>
         <section name="Releases">
             <p>
-                See the <a href="downloads.html">downloads</a> page for information on obtaining releases.
+                See the <a href="download_jci.cgi">downloads</a> page for information on obtaining releases.
             </p>
         </section>
         <section name="Documentation">
             <p>
-                The <a href="apidocs/index.html">JavaDoc API documents</a> are available online.
+                The <a href="apidocs/index.html">Javadoc API documentation</a> is available online.
+                See the <a href="usage.html">Usage page</a> for some examples.
             </p>
         </section>
     </body>
diff --git a/src/site/xdoc/issue-tracking.xml b/src/site/xdoc/issue-tracking.xml
index 8183256..f0ad81b 100644
--- a/src/site/xdoc/issue-tracking.xml
+++ b/src/site/xdoc/issue-tracking.xml
@@ -43,15 +43,15 @@
 -->
 <document>
   <properties>
-    <title>Commons JCI Issue tracking</title>
+    <title>Apache Commons JCI Issue tracking</title>
     <author email="dev@commons.apache.org">Commons Documentation Team</author>
   </properties>
   <body>
 
-    <section name="Commons JCI Issue tracking">
+    <section name="Apache Commons JCI Issue tracking">
       <p>
-      Commons JCI uses <a href="http://issues.apache.org/jira/">ASF JIRA</a> for tracking issues.
-      See the <a href="http://issues.apache.org/jira/browse/JCI">Commons JCI JIRA project page</a>.
+      Apache Commons JCI uses <a href="http://issues.apache.org/jira/">ASF JIRA</a> for tracking issues.
+      See the <a href="http://issues.apache.org/jira/browse/JCI">Apache Commons JCI JIRA project page</a>.
       </p>
 
       <p>
@@ -63,7 +63,7 @@
 
       <p>
       If you would like to report a bug, or raise an enhancement request with
-      Commons JCI please do the following:
+      Apache Commons JCI please do the following:
       <ol>
         <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC&amp;status=1&amp;status=3&amp;status=4">Search existing open bugs</a>.
             If you find your issue listed then please add a comment with your details.</li>
@@ -80,7 +80,7 @@
       <ul>
         <li>the more information you provide, the better we can help you</li>
         <li>test cases are vital, particularly for any proposed enhancements</li>
-        <li>the developers of Commons JCI are all unpaid volunteers</li>
+        <li>the developers of Apache Commons JCI are all unpaid volunteers</li>
       </ul>
       </p>
 
@@ -92,9 +92,9 @@
       <p>
       You may also find these links useful:
       <ul>
-        <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC&amp;status=1&amp;status=3&amp;status=4">All Open Commons JCI bugs</a></li>
-        <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC&amp;status=5&amp;status=6">All Resolved Commons JCI bugs</a></li>
-        <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC">All Commons JCI bugs</a></li>
+        <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC&amp;status=1&amp;status=3&amp;status=4">All Open Apache Commons JCI bugs</a></li>
+        <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC&amp;status=5&amp;status=6">All Resolved Apache Commons JCI bugs</a></li>
+        <li><a href="http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&amp;pid=12310650&amp;sorter/field=issuekey&amp;sorter/order=DESC">All Apache Commons JCI bugs</a></li>
       </ul>
       </p>
     </section>
diff --git a/src/site/xdoc/usage.xml b/src/site/xdoc/usage.xml
index 83a5768..215ec4a 100644
--- a/src/site/xdoc/usage.xml
+++ b/src/site/xdoc/usage.xml
@@ -27,7 +27,7 @@
                 The <code>JavaCompiler</code> is quite simple. You have to provide the paths to
                 the sources, where to get the sources from and where to store the classes. Then
                 you just pick one of the compilers to do the work. The result of the compilation
-                is returned as <code>CompilationResult</code>.
+                is returned as a <code>CompilationResult</code>.
             </p>
             
 <source><![CDATA[
@@ -41,12 +41,13 @@
                 Information like line numbers of errors etc are accessible in a consistent way.
                 If supported by the compiler you can even get notified about error before the
                 end of the compilation. (see the <code>CompilationProblemHandler</code>) for that.
-                The <a href="http://commons.apache.org/jci/commons-jci-examples/index.html">example subproject</a>
-                provides a simple <a href="http://commons.apache.org/jci/xref/org/apache/commons/jci/examples/serverpages/ServerPageServlet.html">JSP servlet</a>
-                and a javac-like <a href="http://commons.apache.org/jci/xref/org/apache/commons/jci/examples/commandline/CommandlineCompiler.html">command line interface</a>.
+                The example module provides a simple
+                <a href="xref/org/apache/commons/jci/examples/serverpages/ServerPageServlet.html">JSP servlet</a>
+                and a javac-like <a href="xref/org/apache/commons/jci/examples/commandline/CommandlineCompiler.html">command line interface</a>.
             </p>
             
         </section>
+
         <section name="Filesystem monitoring">
             <p>
                 A subproject of JCI provides a <code>FilesystemAlterationMonitor</code> that can
@@ -67,10 +68,25 @@
             <p>
                 But you can also just implement a simple <code>FilesystemAlterationListener</code>
                 yourself and just use it to get notified about configuration files changes
-                <a href="http://commons.apache.org/jci/xref/org/apache/commons/jci/examples/configuration/ConfigurationReloading.html">for example</a>.
+                <a href="xref/org/apache/commons/jci/examples/configuration/ConfigurationReloading.html">for example</a>.
                 The example just extends the <code>FileChangeListener</code> that provides a few convenience methods.
             </p>
 
         </section>
+      
+        <section name="Maven artifacts">
+          <p>
+            Commons JCI is split into several modules, there is one artifact per compiler. Using the Eclipse compiler
+            requires to declare the following dependency in your project:
+          </p>
+<source><![CDATA[  <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-jci-eclipse</artifactId>
+      <version>1.1</version>
+  </dependency>
+]]></source>
+          <p>The other artifacts are <code>commons-jci-groovy</code>, <code>commons-jci-janino</code>
+          and <code>commons-jci-rhino</code>.</p>  
+        </section>
     </body>
 </document>