You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2008/06/07 15:26:28 UTC

svn commit: r664337 - in /maven/plugins/trunk/maven-javadoc-plugin: ./ src/it/MJAVADOC-194/ src/it/MJAVADOC-194/module1/ src/it/MJAVADOC-194/module1/generated-src/ src/it/MJAVADOC-194/module1/generated-src/main/ src/it/MJAVADOC-194/module1/generated-sr...

Author: vsiveton
Date: Sat Jun  7 06:26:27 2008
New Revision: 664337

URL: http://svn.apache.org/viewvc?rev=664337&view=rev
Log:
MJAVADOC-194: javadoc 2.4 does not [build-helper:add-source {execution: add-source}] when aggregating a javadoc for a project

o added the IT

Added:
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/verify.bsh
Modified:
    maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=664337&r1=664336&r2=664337&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/pom.xml Sat Jun  7 06:26:27 2008
@@ -263,6 +263,7 @@
                 <pomInclude>**/MJAVADOC-137/pom.xml</pomInclude>
                 <pomInclude>**/MJAVADOC-172/pom.xml</pomInclude>
                 <pomInclude>**/MJAVADOC-180/pom.xml</pomInclude>
+                <pomInclude>**/MJAVADOC-194/pom.xml</pomInclude>
               </pomIncludes>
               <postBuildHookScript>verify.bsh</postBuildHookScript>
               <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jun  7 06:26:27 2008
@@ -0,0 +1,2 @@
+build.log
+target

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt Sat Jun  7 06:26:27 2008
@@ -0,0 +1 @@
+javadoc:aggregate
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/goals.txt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java Sat Jun  7 06:26:27 2008
@@ -0,0 +1,15 @@
+package test;
+
+/**
+ */
+public class GeneratedTest1
+{
+	/**
+	 * Default constructor.
+	 */
+	public GeneratedTest1()
+	{
+		super();
+	}
+
+}
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/generated-src/main/java/test/GeneratedTest1.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml Sat Jun  7 06:26:27 2008
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+  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.
+-->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>test</groupId>
+    <artifactId>testProject</artifactId>
+    <version>1.0.0.0-SNAPSHOT</version>
+    <relativePath>../</relativePath>
+  </parent>
+
+  <artifactId>module1</artifactId>
+  <version>1.0.0.0-SNAPSHOT</version>
+  <name>Module 1 of the JavaDoc Test Project</name>
+  <packaging>jar</packaging>
+
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <directory>target</directory>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <outputDirectory>target/classes</outputDirectory>
+    <finalName>${artifactId}-${version}</finalName>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java Sat Jun  7 06:26:27 2008
@@ -0,0 +1,15 @@
+package test;
+
+/**
+ */
+public class Test1
+{
+	/**
+	 * Default constructor.
+	 */
+	public Test1()
+	{
+		super();
+	}
+
+}
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module1/src/main/java/test/Test1.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java Sat Jun  7 06:26:27 2008
@@ -0,0 +1,15 @@
+package test;
+
+/**
+ */
+public class GeneratedTest2
+{
+	/**
+	 * Default constructor.
+	 */
+	public GeneratedTest2()
+	{
+		super();
+	}
+
+}
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/generated-src/main/java/test/GeneratedTest2.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml Sat Jun  7 06:26:27 2008
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+  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.
+-->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>test</groupId>
+    <artifactId>testProject</artifactId>
+    <version>1.0.0.0-SNAPSHOT</version>
+    <relativePath>../</relativePath>
+  </parent>
+
+  <artifactId>module2</artifactId>
+  <version>1.0.0.0-SNAPSHOT</version>
+  <name>Module 2 of the JavaDoc Test Project</name>
+  <packaging>jar</packaging>
+
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <directory>target</directory>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <outputDirectory>target/classes</outputDirectory>
+    <finalName>${artifactId}-${version}</finalName>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java Sat Jun  7 06:26:27 2008
@@ -0,0 +1,15 @@
+package test;
+
+/**
+ */
+public class Test2
+{
+	/**
+	 * Default constructor.
+	 */
+	public Test2()
+	{
+		super();
+	}
+
+}
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/module2/src/main/java/test/Test2.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml Sat Jun  7 06:26:27 2008
@@ -0,0 +1,89 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+  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.
+-->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>test</groupId>
+  <artifactId>testProject</artifactId>
+  <version>1.0.0.0-SNAPSHOT</version>
+  <name>Javadoc Test Project</name>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>module1</module>
+    <module>module2</module>
+  </modules>
+
+  <build>
+    <defaultGoal>install</defaultGoal>
+    <directory>target</directory>
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <outputDirectory>target/classes</outputDirectory>
+    <finalName>${artifactId}-${version}</finalName>
+
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.0</version>
+        <executions>
+          <execution>
+            <id>add-source</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>generated-src/main/java</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>@pom.version@</version>
+          <executions>
+            <execution>
+              <id>buildJavadoc</id>
+              <phase>package</phase>
+              <goals>
+                <goal>jar</goal>
+              </goals>
+              <configuration>
+                <additionalJOption>-J-Xmx512m</additionalJOption>
+                <quiet>true</quiet>
+                <aggregate>true</aggregate>
+                <links>
+                  <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+                </links>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/verify.bsh?rev=664337&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/verify.bsh (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-194/verify.bsh Sat Jun  7 06:26:27 2008
@@ -0,0 +1,82 @@
+
+/*
+ * 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.
+ */
+
+import java.io.*;
+
+boolean result = true;
+
+try
+{
+    File target = new File( basedir, "target" );
+    if ( !target.exists() || !target.isDirectory() )
+    {
+        System.err.println( "target file is missing or a directory." );
+        return false;
+    }
+
+    File apidocs = new File( basedir, "target/site/apidocs" );
+    if ( !apidocs.exists() || !apidocs.isDirectory() )
+    {
+        System.err.println( "target/site/apidocs file is missing or a directory." );
+        return false;
+    }
+
+    File index = new File( apidocs, "index.html" );
+    if ( !index.exists() || !index.isFile() )
+    {
+        System.err.println( "target/site/apidocs/index.html file is missing or not a file." );
+        return false;
+    }
+
+    File test1 = new File( apidocs, "test/Test1.html" );
+    if ( !test1.exists() || !test1.isFile() )
+    {
+        System.err.println( "target/site/apidocs/test/Test1.html file is missing or not a file." );
+        return false;
+    }
+
+    File test2 = new File( apidocs, "test/Test2.html" );
+    if ( !test2.exists() || !test2.isFile() )
+    {
+        System.err.println( "target/site/apidocs/test/Test2.html file is missing or not a file." );
+        return false;
+    }
+
+    File generatedTest1 = new File( apidocs, "test/GeneratedTest1.html" );
+    if ( !generatedTest1.exists() || !generatedTest1.isFile() )
+    {
+        System.err.println( "target/site/apidocs/test/GeneratedTest1.html file is missing or not a file." );
+        return false;
+    }
+
+    File generatedTest2 = new File( apidocs, "test/GeneratedTest2.html" );
+    if ( !generatedTest2.exists() || !generatedTest2.isFile() )
+    {
+        System.err.println( "target/site/apidocs/test/GeneratedTest2.html file is missing or not a file." );
+        return false;
+    }
+}
+catch( IOException e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;