javadoc fails when no classes are found to document
---------------------------------------------------

                 Key: MJAVADOC-306
                 URL: http://jira.codehaus.org/browse/MJAVADOC-306
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.5
         Environment: Linux RHEL5.5 Server
            Reporter: Rich Carr
            Priority: Minor


When running javadoc:aggregate on a project with no javadocs yet added, an 
exception is produced.

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] MavenReportException: Error while creating archive:Exit code: 1 - 
javadoc: warning - No source files for package xxx.yy.zz
javadoc: error - No public or protected classes found to document.

Command line was:/opt/java1.6/jre/../bin/javadoc @options @packages


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to