You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/25 04:35:12 UTC

[jira] Closed: (MPJAVADOC-19) Prevent the plugin from failing when a sourceDirectory exists, but it does not contain Java files

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Sat, 24 Apr 2004 10:34 PM

already fixed
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAVADOC-19

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-19
    Summary: Prevent the plugin from failing when a sourceDirectory exists, but it does not contain Java files
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: 1 hour
 Time Spent: Unknown
  Remaining: 1 hour

    Project: maven-javadoc-plugin

   Assignee: Brett Porter
   Reporter: Daniel Bonniot

    Created: Fri, 6 Feb 2004 7:15 AM
    Updated: Sat, 24 Apr 2004 10:34 PM

Description:
Currently, the javadoc plugin fails when there are no _Java_ sources in the source directory, even though the sourceDirectory exists (and therefore sourcesPresent is true). This situation occurs for instance when you develop a project in another language than Java (in my case, Nice).

This failure is inconvenient because the site: plugin calls javadoc, and so the site generation fails.

I have already implemented the change: after knowing the sourceDirectory exist, check if there is any *.java file in it. I'll attach the patch if I find how to. It's pretty simple, it just looks big because of reindentation of the body of the report goal.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org