[ http://jira.codehaus.org/browse/MPJAVADOC-52?page=all ] Lukas Theussl closed MPJAVADOC-52: ----------------------------------
Resolution: Fixed Fix Version: 1.8 > Cannot set -sourcepath to add paths for inherited javadocs > ---------------------------------------------------------- > > Key: MPJAVADOC-52 > URL: http://jira.codehaus.org/browse/MPJAVADOC-52 > Project: maven-javadoc-plugin > Type: Bug > Versions: 1.7 > Environment: Solaris 9 x86, Windows XP Professional, javac 1.5.0-beta2. > Reporter: Bernard Marshall > Fix For: 1.8 > > > In version 1.5 of the javadoc plugin it was possible to specify: > maven.javadoc.additionalparam=-sourcepath /usr/java/src > so that you could include source paths where you had used the [EMAIL > PROTECTED] tag. Unfortunately this is broken in version 1.7. A look at the > jelly source shows that 1.7 uses <ant:sourcepath> to define where the > compiled source files live. It does not seem possible to now define other > paths to be set for sourcepath. Note that javadoc only allows one -sourcepath > argument (it complains if you give more), and since this is controlled by the > plugin you cannot extend it. > It would be good if there was a: > maven.javadoc.extrasourcepath=path1;path2;... > setting that would append to the javadoc -sourcepath argument. Without some > sort of modification I cannot see how [EMAIL PROTECTED] tags can work (esp. > since Sun fixed them up in 1.5). -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]