Add Javadoc plugin to Elephas POMs

Elephas API modules now all generate Javadocs


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/2cf50f37
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/2cf50f37
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/2cf50f37

Branch: refs/heads/master
Commit: 2cf50f3706e9edddc9fe44ad89a1111a1812ba6c
Parents: 00ff878
Author: Rob Vesse <[email protected]>
Authored: Tue Feb 17 12:41:19 2015 +0000
Committer: Rob Vesse <[email protected]>
Committed: Tue Feb 17 12:41:19 2015 +0000

----------------------------------------------------------------------
 jena-elephas/jena-elephas-common/pom.xml    |  74 ++++++++-----
 jena-elephas/jena-elephas-io/pom.xml        |  23 ++++
 jena-elephas/jena-elephas-mapreduce/pom.xml | 135 +++++++++++++----------
 3 files changed, 148 insertions(+), 84 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/2cf50f37/jena-elephas/jena-elephas-common/pom.xml
----------------------------------------------------------------------
diff --git a/jena-elephas/jena-elephas-common/pom.xml 
b/jena-elephas/jena-elephas-common/pom.xml
index 7dd68a0..79fb02a 100644
--- a/jena-elephas/jena-elephas-common/pom.xml
+++ b/jena-elephas/jena-elephas-common/pom.xml
@@ -16,39 +16,61 @@
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.apache.jena</groupId>
-               <artifactId>jena-elephas</artifactId>
-               <version>0.9.0-SNAPSHOT</version>
-       </parent>
-       <artifactId>jena-elephas-common</artifactId>
-       <name>Apache Jena - Elephas - Common API</name>
-       <description>Common code for RDF on Hadoop such as writable types for 
RDF primitives</description>
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.jena</groupId>
+    <artifactId>jena-elephas</artifactId>
+    <version>0.9.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>jena-elephas-common</artifactId>
+  <name>Apache Jena - Elephas - Common API</name>
+  <description>Common code for RDF on Hadoop such as writable types for RDF 
primitives</description>
 
        <!-- Note that versions are managed by parent POMs -->
-       <dependencies>
+  <dependencies>
                <!-- Hadoop Dependencies -->
                <!-- Note these will be provided on the Hadoop cluster hence 
the provided 
                        scope -->
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-common</artifactId>
-                       <scope>provided</scope>
-               </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-common</artifactId>
+      <scope>provided</scope>
+    </dependency>
 
                <!-- Jena dependencies -->
-               <dependency>
-                       <groupId>org.apache.jena</groupId>
-                       <artifactId>jena-arq</artifactId>
-               </dependency>
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-arq</artifactId>
+    </dependency>
 
                <!-- Test Dependencies -->
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <scope>test</scope>
-               </dependency>
-       </dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <version>true</version>
+          <show>public</show>
+          <quiet>true</quiet>
+          <encoding>UTF-8</encoding>
+          <windowtitle>Apache Jena Elephas - Common API</windowtitle>
+          <doctitle>Apache Jena Elephas - Common API 
${project.version}</doctitle>
+          <bottom>Licenced under the Apache License, Version 2.0</bottom>
+          <links>
+            <link>http://jena.apache.org/documentation/javadoc/jena/</link>
+            <link>http://jena.apache.org/documentation/javadoc/arq/</link>
+          </links>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/jena/blob/2cf50f37/jena-elephas/jena-elephas-io/pom.xml
----------------------------------------------------------------------
diff --git a/jena-elephas/jena-elephas-io/pom.xml 
b/jena-elephas/jena-elephas-io/pom.xml
index e5134d0..4491c0a 100644
--- a/jena-elephas/jena-elephas-io/pom.xml
+++ b/jena-elephas/jena-elephas-io/pom.xml
@@ -64,4 +64,27 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
+  
+    <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <version>true</version>
+          <show>public</show>
+          <quiet>true</quiet>
+          <encoding>UTF-8</encoding>
+          <windowtitle>Apache Jena Elephas - IO API</windowtitle>
+          <doctitle>Apache Jena Elephas - IO API ${project.version}</doctitle>
+          <bottom>Licenced under the Apache License, Version 2.0</bottom>
+          <links>
+            <link>http://jena.apache.org/documentation/javadoc/jena/</link>
+            <link>http://jena.apache.org/documentation/javadoc/arq/</link>
+            
<link>http://jena.apahce.org/documentation/javadoc/elephas/common/</link>
+          </links>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/jena/blob/2cf50f37/jena-elephas/jena-elephas-mapreduce/pom.xml
----------------------------------------------------------------------
diff --git a/jena-elephas/jena-elephas-mapreduce/pom.xml 
b/jena-elephas/jena-elephas-mapreduce/pom.xml
index aed59be..5b18cf4 100644
--- a/jena-elephas/jena-elephas-mapreduce/pom.xml
+++ b/jena-elephas/jena-elephas-mapreduce/pom.xml
@@ -15,73 +15,92 @@
  limitations under the License.
  -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.apache.jena</groupId>
-               <artifactId>jena-elephas</artifactId>
-               <version>0.9.0-SNAPSHOT</version>
-       </parent>
-       <artifactId>jena-elephas-mapreduce</artifactId>
-       <name>Apache Jena - Elephas - Map/Reduce</name>
-       <description>Contains some basic Map/Reduce implementations for working 
with RDF on Hadoop</description>
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.jena</groupId>
+    <artifactId>jena-elephas</artifactId>
+    <version>0.9.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>jena-elephas-mapreduce</artifactId>
+  <name>Apache Jena - Elephas - Map/Reduce</name>
+  <description>Contains some basic Map/Reduce implementations for working with 
RDF on Hadoop</description>
 
-       <dependencies>
+  <dependencies>
                <!-- Internal Project Dependencies -->
-               <dependency>
-                       <groupId>org.apache.jena</groupId>
-                       <artifactId>jena-hadoop-rdf-common</artifactId>
-                       <version>${project.version}</version>
-               </dependency>
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-hadoop-rdf-common</artifactId>
+      <version>${project.version}</version>
+    </dependency>
 
                <!-- Hadoop Dependencies -->
                <!-- Note these will be provided on the Hadoop cluster hence 
the provided 
                        scope -->
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-common</artifactId>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.hadoop</groupId>
-                       <artifactId>hadoop-mapreduce-client-common</artifactId>
-                       <scope>provided</scope>
-               </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-common</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-mapreduce-client-common</artifactId>
+      <scope>provided</scope>
+    </dependency>
 
                <!-- Jena dependencies -->
-               <dependency>
-                       <groupId>org.apache.jena</groupId>
-                       <artifactId>jena-arq</artifactId>
-               </dependency>
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-arq</artifactId>
+    </dependency>
 
                <!-- Test Dependencies -->
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.mrunit</groupId>
-                       <artifactId>mrunit</artifactId>
-                       <scope>test</scope>
-                       <classifier>hadoop2</classifier>
-               </dependency>
-       </dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.mrunit</groupId>
+      <artifactId>mrunit</artifactId>
+      <scope>test</scope>
+      <classifier>hadoop2</classifier>
+    </dependency>
+  </dependencies>
 
-       <build>
-               <plugins>
-                       <!-- JAR plugin to ensure tests jar is built -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <goals>
-                                                       <goal>test-jar</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
+  <build>
+    <plugins>
+      <!-- JAR plugin to ensure tests jar is built -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <version>true</version>
+          <show>public</show>
+          <quiet>true</quiet>
+          <encoding>UTF-8</encoding>
+          <windowtitle>Apache Jena Elephas - Map/Reduce API</windowtitle>
+          <doctitle>Apache Jena Elephas - Map/Reduce API
+            ${project.version}</doctitle>
+          <bottom>Licenced under the Apache License, Version 2.0</bottom>
+          <links>
+            <link>http://jena.apache.org/documentation/javadoc/jena/</link>
+            <link>http://jena.apache.org/documentation/javadoc/arq/</link>
+            
<link>http://jena.apahce.org/documentation/javadoc/elephas/common/</link>
+          </links>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
\ No newline at end of file

Reply via email to