This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-cyclonedx.git
The following commit(s) were added to refs/heads/main by this push:
new c87155b fix javadoc errors
c87155b is described below
commit c87155b2cfbafd7b596c036f2757ffff57de95f4
Author: Stefan Bodewig <[email protected]>
AuthorDate: Mon Aug 17 08:18:46 2026 +0200
fix javadoc errors
---
build.xml | 29 ++++++++++++++++++++++
.../ant/cyclonedx/IvyModuleComponentResolver.java | 8 +++---
2 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/build.xml b/build.xml
index b439683..99bce0b 100644
--- a/build.xml
+++ b/build.xml
@@ -42,6 +42,35 @@ under the License.
</javac>
</target>
+ <target name="javadoc" depends="javadoc_check, resolve"
+ description="--> creates the API documentation"
+ unless="javadoc.notrequired">
+ <mkdir dir="${build.javadoc}"/>
+ <javadoc useexternalfile="yes"
+ maxmemory="1000M"
+ destdir="${build.javadoc}"
+ version="true"
+ locale="en"
+ windowtitle="${artifact.name} API"
+ doctitle="${artifact.name}"
+ failonerror="true"
+ additionalparam="${javadoc.additionalparam}"
+ verbose="false">
+ <packageset dir="src/main"/>
+ <classpath>
+ <path refid="classpath.compile"/>
+ <path refid="ivy.lib.path"/>
+ <fileset dir="${ant.home}/lib" includes="*.jar"/>
+ </classpath>
+ <tag name="todo" description="To do:" scope="all"/>
+ <tag name="ant.task" enabled="false" description="Task:" scope="types"/>
+ <tag name="ant.datatype" enabled="false" description="Data type:"
scope="types"/>
+ <tag name="ant.attribute" enabled="false" description="Attribute:"
scope="types"/>
+ <tag name="ant.attribute.group" enabled="false" description="Attribute
group:" scope="types"/>
+ <tag name="ant.element" enabled="false" description="Nested element:"
scope="types"/>
+ </javadoc>
+ </target>
+
<target name="fetch-cyclonedx" depends="antlib">
<condition property="can.use.cyclonedx">
<isset property="jdk9+"/>
diff --git a/src/main/org/apache/ant/cyclonedx/IvyModuleComponentResolver.java
b/src/main/org/apache/ant/cyclonedx/IvyModuleComponentResolver.java
index 12a8c28..c2f7c3a 100644
--- a/src/main/org/apache/ant/cyclonedx/IvyModuleComponentResolver.java
+++ b/src/main/org/apache/ant/cyclonedx/IvyModuleComponentResolver.java
@@ -87,7 +87,7 @@ public class IvyModuleComponentResolver extends
ProjectComponent implements Comp
* <p>Defaults to the configurations resolved by the last resolve call, or
{@code *} if no resolve was explicitly
* called</p>
*
- * @param comma separated list of the configurations to retrieve or {@code
*}.
+ * @param conf comma separated list of the configurations to retrieve or
{@code *}.
*/
public void setConf(String conf) {
this.conf = conf;
@@ -98,7 +98,7 @@ public class IvyModuleComponentResolver extends
ProjectComponent implements Comp
*
* <p>Defaults to {@code [org].[module]}.</p>
*
- * @param id which was used for a previous resolve
+ * @param resolveId id which was used for a previous resolve
*/
public void setResolveId(String resolveId) {
this.resolveId = resolveId;
@@ -123,7 +123,7 @@ public class IvyModuleComponentResolver extends
ProjectComponent implements Comp
* that are not part of {@link #setConf} doesn't have any effect. {@code
*} is no supported. The default is to have
* no optional components.</p>
*
- * @param comma separated list of the configurations to mark optional.
+ * @param optionalConf comma separated list of the configurations to mark
optional.
*/
public void setOptionalConf(String optionalConf) {
this.optionalConf = optionalConf;
@@ -137,7 +137,7 @@ public class IvyModuleComponentResolver extends
ProjectComponent implements Comp
* that are not part of {@link #setConf} doesn't have any effect. {@code
*} is no supported. The default is to have
* no external components.</p>
*
- * @param comma separated list of the configurations to mark external.
+ * @param externalConf comma separated list of the configurations to mark
external.
*/
public void setExternalConf(String externalConf) {
this.externalConf = externalConf;