Index: xdocs/changes.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/javadoc/xdocs/changes.xml,v
retrieving revision 1.44
diff -u -r1.44 changes.xml
--- xdocs/changes.xml	29 Jul 2004 22:59:24 -0000	1.44
+++ xdocs/changes.xml	12 Aug 2004 01:57:09 -0000
@@ -26,6 +26,7 @@
   </properties>
   <body>
     <release version="1.7" date="In CVS">
+      <action type="fix" issue="MPJAVADOC-38" due-to="Felipe Leme">Fix extension of artifacts deployed/installed.</action>
       <action dev="aheritier" type="fix" issue="MPJAVADOC-37">Default javadoc scope (package) can't be replaced by private or public.</action>
       <action dev="aheritier" type="fix" issue="MPJAVADOC-36">Javadoc fails if pom.package isn't specified.</action>
     </release>
Index: src/plugin-test/test06/.cvsignore
===================================================================
RCS file: src/plugin-test/test06/.cvsignore
diff -N src/plugin-test/test06/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/plugin-test/test06/.cvsignore	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,5 @@
+gump.xml
+*.log
+targetdist
+dist
+target
Index: src/plugin-test/test06/maven.xml
===================================================================
RCS file: src/plugin-test/test06/maven.xml
diff -N src/plugin-test/test06/maven.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/plugin-test/test06/maven.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,65 @@
+<!-- 
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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:util="jelly:util"
+         xmlns:maven="jelly:maven"
+         xmlns:j="jelly:core"
+         xmlns:assert="assert"
+         xmlns:ant="jelly:ant">
+         
+  <goal name="testPlugin">
+  
+  <!-- variables setup -->
+    <j:set var="prefixDir" value="${pom.groupId}/javadocs"/>
+    <j:set var="javadocArtifact" value="${pom.artifactId}_javadoc-${pom.currentVersion}.zip"/>
+    <j:set var="javadocSnapshot" value="${pom.artifactId}_javadoc-SNAPSHOT.zip"/>
+    <j:set var="localDir" value="${maven.repo.local}/${prefixDir}"/>
+    <j:set var="remoteDir" value="${maven.build.dir}/deploy"/>
+    <j:set var="remoteJavadocDir" value="${remoteDir}/${prefixDir}"/>
+    <j:set var="maven.repo.list" value="localhost"/>
+    <j:set var="maven.repo.localhost" value="file://"/>
+    <j:set var="maven.repo.localhost.directory" value="${remoteDir}"/>
+
+  <!-- tests javadoc:install -->
+    <j:set var="localJavadoc" value="${localDir}/${javadocArtifact}"/>
+    <mkdir dir="${localDir}"/>
+    <delete dir="${localDir}" failonerror="false"/>
+    <attainGoal name="javadoc:install"/>
+    <assert:assertFileExists file="${localJavadoc}"/>
+
+  <!-- tests javadoc:install-snapshot -->
+    <j:set var="localJavadocSnapshot" value="${localDir}/${javadocSnapshot}"/>
+    <mkdir dir="${localDir}"/>
+    <delete dir="${localDir}" failonerror="false"/>
+    <attainGoal name="javadoc:install-snapshot"/>
+    <assert:assertFileExists file="${localJavadocSnapshot}"/>
+  <!-- tests javadoc:deploy -->
+    <j:set var="remoteJavadoc" value="${remoteJavadocDir}/${javadocArtifact}"/>
+    <delete dir="${remoteDir}" failonerror="false"/>
+    <mkdir dir="${remoteJavadocDir}"/>
+    <attainGoal name="javadoc:deploy"/>
+    <assert:assertFileExists file="${remoteJavadoc}"/>
+    
+  <!-- tests javadoc:deploy-snapshot -->
+    <j:set var="remoteJavadocSnapshot" value="${remoteJavadocDir}/${javadocSnapshot}"/>
+    <delete dir="${remoteDir}" failonerror="false"/>
+    <mkdir dir="${remoteJavadocDir}"/>
+    <attainGoal name="javadoc:deploy-snapshot"/>
+    <assert:assertFileExists file="${remoteJavadocSnapshot}"/>
+  </goal>
+
+</project>
Index: src/plugin-test/test06/project.xml
===================================================================
RCS file: src/plugin-test/test06/project.xml
diff -N src/plugin-test/test06/project.xml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/plugin-test/test06/project.xml	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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>
+  <pomVersion>3</pomVersion>
+  <id>test-maven-javadoc-plugin-06</id>
+  <name>Javadoc install for a simple project (MPJAVADOC-38)</name>
+  <groupId>maven</groupId>
+  <currentVersion>1.0-SNAPSHOT</currentVersion>
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+    <logo>http://maven.apache.org/images/apache-maven-project.png</logo>
+  </organization>
+  <inceptionYear>2004</inceptionYear>
+  <package>org.apache</package>
+  <logo>http://maven.apache.org/images/maven.jpg</logo>
+  <description>Javadoc for a simple project</description>
+  <shortDescription>Javadoc for a simple project</shortDescription>
+  <url>http://maven.apache.org/reference/plugins/javadoc/index.html</url>
+  <siteDirectory>/www/maven.apache.org/reference/plugins/javadoc/</siteDirectory>
+  <repository>
+    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/javadoc/</connection>
+    <url>http://cvs.apache.org/viewcvs/maven-plugins/javadoc/</url>
+  </repository>
+  <developers>
+    <developer>
+      <name>Felipe Leme</name>
+      <id>felipeal</id>
+      <email>maven@felipeal.net</email>
+      <organization>Falcon Informatica</organization>
+    </developer>
+  </developers>
+
+  <build>
+    <sourceDirectory>src/main</sourceDirectory>
+  </build>
+</project>
Index: src/plugin-test/test06/src/main/org/apache/maven/Dummy.java
===================================================================
RCS file: src/plugin-test/test06/src/main/org/apache/maven/Dummy.java
diff -N src/plugin-test/test06/src/main/org/apache/maven/Dummy.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/plugin-test/test06/src/main/org/apache/maven/Dummy.java	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,8 @@
+package org.apache.maven;
+
+public class Dummy
+{
+    public String badChecky = "error";
+
+    public Dummy() {}
+} 
Index: src/plugin-test/test06/src/main/org/apache/maven/package.html
===================================================================
RCS file: src/plugin-test/test06/src/main/org/apache/maven/package.html
diff -N src/plugin-test/test06/src/main/org/apache/maven/package.html
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/plugin-test/test06/src/main/org/apache/maven/package.html	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,7 @@
+<html>
+<head></head>
+<body>
+Package documentation. <br/>
+<a href="doc-files/example.txt">example.txt</a> in doc-files directory.
+</body>
+</html>
Index: src/plugin-test/test06/src/main/org/apache/maven/doc-files/example.txt
===================================================================
RCS file: src/plugin-test/test06/src/main/org/apache/maven/doc-files/example.txt
diff -N src/plugin-test/test06/src/main/org/apache/maven/doc-files/example.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/plugin-test/test06/src/main/org/apache/maven/doc-files/example.txt	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,1 @@
+This an example

