You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/08/19 13:54:53 UTC

[maven-antrun-plugin] branch master updated: Fix javadoc generation issues

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new fb63f94  Fix javadoc generation issues
fb63f94 is described below

commit fb63f949c90c39ba0ce7f004e20bf3071e918943
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Aug 19 15:51:01 2020 +0200

    Fix javadoc generation issues
---
 pom.xml                                                  | 14 ++++++++++++++
 .../apache/maven/ant/tasks/DependencyFilesetsTask.java   | 16 ++++++++--------
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index bca6b7f..a07eca3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,10 +132,24 @@ under the License.
             </excludes>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>3.2.0</version>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <links>
+            <link>https://ant.apache.org/manual/api/</link>
+          </links>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.codehaus.modello</groupId>
         <artifactId>modello-maven-plugin</artifactId>
         <version>1.10.0</version>
diff --git a/src/main/java/org/apache/maven/ant/tasks/DependencyFilesetsTask.java b/src/main/java/org/apache/maven/ant/tasks/DependencyFilesetsTask.java
index ceb74f6..3e78fdc 100644
--- a/src/main/java/org/apache/maven/ant/tasks/DependencyFilesetsTask.java
+++ b/src/main/java/org/apache/maven/ant/tasks/DependencyFilesetsTask.java
@@ -111,7 +111,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @return {@link #prefix}
+     * @return prefix Prefix to be added to each of the dependency filesets
      */
     public String getPrefix()
     {
@@ -125,7 +125,7 @@ public class DependencyFilesetsTask
 
     /**
      * Prefix to be added to each of the dependency filesets. Default is empty string.
-     * @param prefix {@link #prefix}
+     * @param prefix String to prepend to all fileset IDs.
      */
     public void setPrefix( String prefix )
     {
@@ -133,7 +133,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @return {@link #types}
+     * @return types Comma separated list of artifact types to include.
      */
     public String getTypes()
     {
@@ -141,7 +141,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @param types {@link #types}
+     * @param types Comma separated list of artifact types to include.
      */
     public void setTypes( String types )
     {
@@ -149,7 +149,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @return {@link #scopes}
+     * @return scopes Comma separated list of artifact scopes to include.
      */
     public String getScopes()
     {
@@ -157,7 +157,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @param scopes {@link #scopes}
+     * @param scopes Comma separated list of artifact scopes to include.
      */
     public void setScopes( String scopes )
     {
@@ -165,7 +165,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @return {@link #projectDependenciesId}
+     * @return RefId for the fileset containing all project dependencies - default <code>maven.project.dependencies</code>
      */
     public String getProjectDependenciesId()
     {
@@ -173,7 +173,7 @@ public class DependencyFilesetsTask
     }
 
     /**
-     * @param projectDependenciesId {@link #projectDependenciesId}
+     * @param projectDependenciesId RefId for the fileset containing all project dependencies
      */
     public void setProjectDependenciesId( String projectDependenciesId )
     {