The following comment has been added to this issue:

     Author: Daniel Bonniot
    Created: Fri, 6 Feb 2004 6:39 PM
       Body:
There should probably be sourcesPresent and javaSourcesPresent. Then plugins can 
decide if they depend on java sources being present, or just any source (for instance 
those that work on the bytecode generated from the sources, I think jdepend is in this 
case).

---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAVADOC-19&page=comments#action_16539

---------------------------------------------------------------------
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: Reopened
   Priority: Major

 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 6:39 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to