Message:
The following issue has been closed.
Resolver: Arnaud HERITIER
Date: Mon, 8 Nov 2004 4:44 PM
I'm sorry Julian but actually it is not allowed to define several packages in
the in pom.
http://maven.apache.org/reference/project-descriptor.html#package
You can define only one package.
But from the plugin release 1.7, this element is not mandatory.
http://jira.codehaus.org/secure/BrowseProject.jspa?id=10357&report=changelog
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJAVADOC-49
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJAVADOC-49
Summary: Javadoc cannot be generated for projects that have multiple
packages in pom.package
Type: Bug
Status: Closed
Priority: Major
Resolution: WON'T FIX
Original Estimate: 2 hours
Time Spent: Unknown
Remaining: 2 hours
Project: maven-javadoc-plugin
Fix Fors:
1.8
Versions:
1.7
Assignee: Arnaud HERITIER
Reporter: Julian Payne
Created: Mon, 8 Nov 2004 6:26 AM
Updated: Mon, 8 Nov 2004 4:44 PM
Description:
If you specify several packages in the pom.package then the Javadoc refuses to
generate (it thinks that there are no sources).
For example:
<project>
<name>ILOG JViews Gantt</name>
...
<package>ilog.views.gantt,ilog.views.gantt.xml</package>
...
</project>
The code that tries to detect if there are any source files assumes
that there is only a single package, instead it should tokenize the
list of comma separated packages and check each package. Alternatively
you could just use the fallback which is not to check the pom.package
at all and just check to see if there are some java files in the src
directory?
I guess that I could provide you a patch if this will make the fix happen
quicker?
Thanks,
Julian
---------------------------------------------------------------------
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]