Issue 1: I attempted to run m2 javadoc:javadoc on a few projects and then on some of the maven 2 plugin subprojects but received the following error consistently:
"An error is occurred in [project name] report generation." The stacktrace wasn't very helpful since the try...catch in AbstractMavenReport's execute method grabs all exceptions but doesn't give up details about it. I modified it to put out the stacktrace and learned that it's throwing a NPE here: Line 282 MavenProject: List list = new ArrayList( getArtifacts().size() ); Earlier the same problem occurred in a plugin I'm writing and I learned that adding @requiresDependencyResolution compile to my Mojo would fix it. I was suprised to see that JavadocReport seems to be missing it as well. I'm not certain how this could be the case without being noticed, but javadoc:javadoc works now that I've added it. I didn't see an entry in JIRA. Do you want this in there? Issue 2: Once I got the goal working, I noticed it fails when the project path has a whitespace: javadoc: Illegal package name: "/data/users/bravo/projects/open" javadoc: File not found: "source/maven/trunk/maven-plugins/maven-xmlbeans-plugin/src/main/java/org/apache/maven/exception/CodedException.java" "open source" is a directory but it's being split. m2 shows the javadoc command ending with @files before executing it, and I'm wondering it the file names aren't passed with quotes around them. -- Kris Bravo Corridor Software, Inc. http://corridor-software.us --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
