Author: michaelo
Date: Fri Sep 26 21:06:35 2014
New Revision: 1627885

URL: http://svn.apache.org/r1627885
Log:
[MJAVADOC-407] Created IT

Added:
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/
    
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties 
  (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/pom.xml   
(with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/
    
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/
    
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java
   (with props)
    maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/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=1627885&r1=1627884&r2=1627885&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/pom.xml Fri Sep 26 21:06:35 2014
@@ -418,6 +418,7 @@ under the License.
                 <pomInclude>MJAVADOC-320/pom.xml</pomInclude>
                 <pomInclude>MJAVADOC-325/pom.xml</pomInclude>
                 <pomInclude>MJAVADOC-369/pom.xml</pomInclude>
+                <pomInclude>MJAVADOC-407/pom.xml</pomInclude>
               </pomIncludes>
               
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
             </configuration>

Added: 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties?rev=1627885&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties 
(added)
+++ 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties 
Fri Sep 26 21:06:35 2014
@@ -0,0 +1,18 @@
+# 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.
+
+invoker.goals=clean javadoc:javadoc

Propchange: 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/invoker.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/pom.xml?rev=1627885&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/pom.xml (added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/pom.xml Fri 
Sep 26 21:06:35 2014
@@ -0,0 +1,75 @@
+<?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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.maven-javadoc-plugin.it</groupId>
+  <artifactId>mjavadoc-407</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.3.2</version>
+          <configuration>
+            <source>1.6</source>
+            <target>1.6</target>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>@pom.version@</version>
+          <configuration>
+            <quiet>true</quiet>
+            <links>
+              <link>http://tomcat.apache.org/tomcat-6.0-doc/api</link>
+            </links>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.tomcat</groupId>
+      <artifactId>catalina</artifactId>
+      <version>6.0.41</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.tomcat</groupId>
+      <artifactId>juli</artifactId>
+      <version>6.0.41</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+</project>

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

Added: 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java?rev=1627885&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java
 (added)
+++ 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java
 Fri Sep 26 21:06:35 2014
@@ -0,0 +1,34 @@
+package foo;
+
+/*
+ * 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.IOException;
+
+import org.apache.catalina.authenticator.AuthenticatorBase;
+import org.apache.catalina.util.StringManager;
+import org.apache.juli.logging.Log;
+import org.apache.juli.logging.LogFactory;
+
+public class Bar extends AuthenticatorBase {
+
+       protected final Log logger = LogFactory.getLog(getClass());
+       protected final StringManager sm = 
StringManager.getManager(getClass().getPackage().getName());
+
+}

Propchange: 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/src/main/java/foo/Bar.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/verify.bsh?rev=1627885&view=auto
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/verify.bsh 
(added)
+++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-407/verify.bsh Fri 
Sep 26 21:06:35 2014
@@ -0,0 +1,32 @@
+
+/*
+ * 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.*;
+import org.codehaus.plexus.util.*;
+
+File javadocFile = new File( basedir, "target/site/apidocs/foo/Bar.html" );
+
+if ( !javadocFile.exists() ) 
+{
+    System.err.println( javadocFile.getAbsolutePath() + " is missing." );
+    return false;
+}
+
+return true;
\ No newline at end of file


Reply via email to