(Moving this to from user@ to dev@)
I'm trying to use an alternate doclet, and I tried to configuring the
javadoc plugin,
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
<docletPath>c:\java\m2-repository\umlgraph\UMLGraph\4.2-SNAPSHOT\UMLGraph-4.2-SNAPSHOT.jar</docletPath>
<additionalParam>-views</additionalParam>
</configuration>
</plugin>
But I get:
[INFO] An error has occurred in JavaDocs report generation.
Embedded error: Exit code: 1 - javadoc: error - invalid flag: -sourcePath
The usage information that prints out includes:
-sourcepath <pathlist> Specify where to find the source files
Making the following change in JavadocReport.java fixes the problem:
- addArgIfNotEmpty( arguments, "-sourcePath",
quotedPathArgument( sourcePath.toString() ) );
+ addArgIfNotEmpty( arguments, "-sourcepath",
quotedPathArgument( sourcePath.toString() ) );
Do you consider this is a problem with the UMLGraph doclet, or with
the Javadoc plugin?
Thanks,
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]