maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [patch] javadoc maven.compile.src.set
Date Thu, 02 Oct 2003 07:56:35 GMT
Do you really want the fileset for the javadoc task then?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Nathan Coast <nathan@codeczar.com> wrote on 02/10/2003 05:22:15 PM:

> apologies for submitting patch to dev list but jira wont let me, 
> I'll submit to 
> jira as soon as I can.
> 
> patch for the javadoc plugin to generate javadoc for the maven.
> compile.src.set 
> in addition to the pom.build.sourceDirectory
> 
> In some of my projects all of the java sources are generated, doesn't 
mean I 
> don't want them javadoced.
> 
>        <ant:javadoc
>          packagenames="${pom.package}.*"
>          destdir="${maven.javadoc.destdir}"
> ............
> ............
>          sourcepathref="maven.compile.src.set">
> 
> I've tested by re-running maven site on the maven source without 
anyproblems.
> 
> cheers
> Nathan
> Index: src/plugins-build/javadoc/plugin.jelly
> ===================================================================
> RCS file: /home/cvspublic/maven/src/plugins-build/javadoc/plugin.jelly,v
> retrieving revision 1.23
> diff -u -r1.23 plugin.jelly
> --- src/plugins-build/javadoc/plugin.jelly   21 Sep 2003 06:43:20 -0000  
1.23
> +++ src/plugins-build/javadoc/plugin.jelly   2 Oct 2003 06:21:39 -0000
> @@ -103,7 +103,8 @@
>          bottom="${copyright}"
>          stylesheetfile="${maven.javadoc.stylesheet}"
>          additionalparam="${maven.javadoc.additionalparam}"
> -        useexternalfile="${maven.javadoc.useexternalfile}">
> +        useexternalfile="${maven.javadoc.useexternalfile}"
> +        sourcepathref="maven.compile.src.set">
> 
>          <ant:fileset dir="${pom.build.sourceDirectory}">
>            <ant:include name="**/*.java"/>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

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


Mime
View raw message