Message:
The following issue has been closed.
Resolver: Emmanuel Venisse
Date: Fri, 6 Feb 2004 8:49 AM
Applied. Thanks.
---------------------------------------------------------------------
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: Emmanuel Venisse
Reporter: Daniel Bonniot
Created: Fri, 6 Feb 2004 7:15 AM
Updated: Fri, 6 Feb 2004 8:49 AM
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]