You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Ebersole, Steven" <st...@vignette.com> on 2004/01/14 13:25:17 UTC
javadoc plugin
whenever I run the maven javadoc plugin, it does not generate any package information (package-list is blank and package-summary is missing). Any ideas what I am missing?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: javadoc plugin
Posted by Jake Ewerdt <ja...@emeta.com>.
Yeah, same thing happened to me. I modified the javadoc's plugin.jelly to get it working. Here's the diff:
93,94c93
< packagenames="${pom.package}"
< sourcepath="${pom.build.sourceDirectory}"
---
> packagenames="${pom.package}.*"
109a108,124
> <ant:fileset dir="${pom.build.sourceDirectory}">
> <ant:include name="**/*.java"/>
> <!-- FIXME: This is a bad cut and paste -->
> <!-- handle source modifications -->
> <j:forEach var="sm" items="${pom.build.sourceModifications}">
> <ant:available property="classPresent" classname="${sm.className}"/>
> <j:if test="${classPresent != 'true'}">
> <j:forEach var="exclude" items="${sm.excludes}">
> <ant:exclude name="${exclude}"/>
> </j:forEach>
> <j:forEach var="include" items="${sm.includes}">
> <ant:include name="${include}"/>
> </j:forEach>
> </j:if>
> </j:forEach>
> </ant:fileset>
and then in your project.xml file, put a line like:
<package>java.util,java.lang,javax.xml.parsers</package>
I'm using JDK 1.3.1 and Maven 1.0-rc1
-jake
On Wednesday 14 January 2004 07:25 am, Ebersole, Steven wrote:
> whenever I run the maven javadoc plugin, it does not generate any package
> information (package-list is blank and package-summary is missing). Any
> ideas what I am missing?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org