Commits

Anonymous committed a4ceaa6

javadoc creation broken for ant/ivy and maven build
o private visibility is required for package-private interfaces

Issue Number: XW-441

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1239e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (2)

     <target name="javadocs" description="generate javadocs" depends="init">
         <mkdir dir="${dist.docs}/api"/>
         <javadoc sourcepath="${src.java}"
+                defaultexcludes="**/package-info.java"
                  destdir="${dist.docs}/api"
                  packagenames="${docs.packages}"
                  classpathref="cp"
                  doctitle="${fullname} API (${version})"
                  footer="&lt;a href=&quot;http://www.opensymphony.com/${name}/&quot; target=&quot;_top&quot;&gt;${fullname} Project Page&lt;/a&gt;"
                  use="true"
-                failonerror="false"
+                 failonerror="false"
                  verbose="false"
-                 source="1.5">
+                 private="true"
+                 source="1.5"
+                >
             <link href="http://java.sun.com/j2se/1.5.0/docs/api" />
             <link href="http://java.sun.com/javaee/5/docs/api/" />
             <link href="http://struts.apache.org/2.x/struts2-core/apidocs"/>
+            <link href="http://jakarta.apache.org/commons/logging/apidocs"/>
+            <link href="http://logging.apache.org/log4j/docs/api"/>
         </javadoc>
         <!-- <copy overwrite="yes" file="${docs}/main.css" tofile="${docs}/api/stylesheet.css"/> -->
     </target>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <configuration>
                     <sourcepath>src/java</sourcepath>
+                    <encoding>UTF-8</encoding>
                     <groups>
                         <group>
                             <title>XWork Packages</title>
                             <packages>com.opensymphony.xwork2*</packages>
                         </group>
                     </groups>
-                    <source>1.5</source>
+                    <show>private</show>
                     <links>
                         <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
                         <link>http://java.sun.com/javaee/5/docs/api/</link>
                         <link>http://struts.apache.org/2.x/struts2-core/apidocs</link>
+                        <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
+                        <link>http://logging.apache.org/log4j/docs/api/</link>
                     </links>
                 </configuration>
             </plugin>