You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/01/31 10:59:28 UTC

[maven-bug] Updated: (MAVEN-148) [patch] add public, package, additionalparam properties to javadoc

The following issue has been updated:

    Updater: Ben Walding (mailto:jakarta@walding.com)
       Date: Fri, 31 Jan 2003 3:59 AM
    Comment:
Here is an attached patch to do the same thing.  Has not been tested, but looks the same as the inline patch. Will apply later if no one beats me to it
    Changes:
[Attachment] [patch.txt] was added

---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-148&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-148


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-148
    Summary: [patch] add public, package, additionalparam properties to javadoc
       Type: Improvement

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
  Component: None
   Versions:
             1.0-beta-7

   Assignee: Jason van Zyl
   Reporter: Stephen Haberman

    Created: Fri, 1 Nov 2002 2:56 PM
    Updated: Fri, 31 Jan 2003 3:59 AM

Description:
Below is a patch that will add various properties I've had to tweak on project's I'm using Maven on. The additionalparams is especially handy as I can then pass "-breakiterator" and it avoids a lot of warning messages about a change in the jdk1.4 javadoc algorithm.

cvs diff src\plugins-build\javadoc\plugin.jelly src\plugins-build\javadoc\plugin.properties (in directory C:\cvs\maven\)
Index: src/plugins-build/javadoc/plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/javadoc/plugin.jelly,v
retrieving revision 1.7
diff -u -r1.7 plugin.jelly
--- src/plugins-build/javadoc/plugin.jelly	10 Oct 2002 10:25:23 -0000	1.7
+++ src/plugins-build/javadoc/plugin.jelly	1 Nov 2002 20:30:37 -0000
@@ -61,13 +61,16 @@
       packagenames="${pom.package}.*"
       destdir="${maven.javadoc.destdir}"
       author="${maven.javadoc.author}"
+      public="${maven.javadoc.public}"
+      package="${maven.javadoc.package}"
       private="${maven.javadoc.private}"
       version="${maven.javadoc.version}"
       use="${maven.javadoc.use}"
       windowtitle="${title}"
       doctitle="${title}"
       bottom="${copyright}"
-      stylesheetfile="${maven.javadoc.stylesheet}">
+      stylesheetfile="${maven.javadoc.stylesheet}"
+      additionalparam="${maven.javadoc.additionalparam}">
       <j:forEach var="link" items="${links}">
         <link href="${link.trim()}"/>
       </j:forEach>
Index: src/plugins-build/javadoc/plugin.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/javadoc/plugin.properties,v
retrieving revision 1.4
diff -u -r1.4 plugin.properties
--- src/plugins-build/javadoc/plugin.properties	1 Oct 2002 15:27:17 -0000	1.4
+++ src/plugins-build/javadoc/plugin.properties	1 Nov 2002 20:30:37 -0000
@@ -8,6 +8,9 @@
 maven.javadoc.destdir = ${maven.docs.dest}/apidocs
 maven.javadoc.links = 
 #maven.javadoc.maxmemory
+maven.javadoc.author = true
+maven.javadoc.public = false
+maven.javadoc.package = true
 maven.javadoc.private = false
 maven.javadoc.stylesheet = ${plugin.dir}/stylesheet.css
 maven.javadoc.use = true


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.werken.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira