Brett,

Both have been fixed in the plugin's SVN. I believe the empty index
was already fixed in the previous release of the javadoc plugin.

I wanted to try testing this so I tried to download and build from src... Having some trouble with Maven finding my newly built plugin... Can I review the steps I took with you to see if you see anything obviously wrong?

1) got src from http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-javadoc-plugin

2) built using mvn install. jars and what-not were created in ---\.m2\repository\org\apache\maven\plugins\maven-javadoc-plugin\2.0-beta-4-SNAPSHOT\ to-wit:

- maven-javadoc-plugin-2.0-beta-4-SNAPSHOT (jar)
- maven-javadoc-plugin-2.0-beta-4-SNAPSHOT.pom
- maven-metadata-local
- maven-metadata-snapshots

And in that higher level dir: ---\.m2\repository\org\apache\maven\plugins\maven-javadoc-plugin the file maven-metadata-local was created and reads:

<?xml version="1.0" encoding="UTF-8"?><metadata>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-javadoc-plugin</artifactId>
  <version>2.0-beta-4-SNAPSHOT</version>
  <versioning>
    <latest>2.0-beta-4-SNAPSHOT</latest>
    <versions> <version>2.0-beta-4-SNAPSHOT</version> </versions>
    <lastUpdated>20060209195302</lastUpdated>
  </versioning>
</metadata>

I think all this looks right...

3) changed pom to call for new plugin ala:

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>maven-javadoc-plugin-2.0-beta-4-SNAPSHOT</version>
      </plugin>
    </plugins>
  <build>

4) When I run maven to try to use this newly built artifact ala "mvn javadoc:javadoc" I get the following error:

[ERROR] BUILD ERROR
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-javadoc-plugin
Version: maven-javadoc-plugin-2.0-beta-4-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-javadoc-plugin:pom:maven-javadoc-plugin-2.0-beta-4-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Does anything jump out at you here that I am doing wrong? (I'm still pretty new at this...)

Chris




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to