This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-weaver.git
The following commit(s) were added to refs/heads/master by this push:
new dbe844a Add missing Javadoc required by later Java versions
dbe844a is described below
commit dbe844a15071201037ca02bed2fbe2039529fc55
Author: Sebb <[email protected]>
AuthorDate: Sun Dec 28 23:02:55 2025 +0000
Add missing Javadoc required by later Java versions
---
.../apache/commons/weaver/maven/AbstractCWMojo.java | 18 ++++++++++++++++++
src/changes/changes.xml | 1 +
2 files changed, 19 insertions(+)
diff --git
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
index 07f3b8f..048a59c 100644
---
a/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
+++
b/maven-plugin/src/main/java/org/apache/commons/weaver/maven/AbstractCWMojo.java
@@ -71,12 +71,21 @@ abstract class AbstractCWMojo extends AbstractMojo {
@Parameter(property = "weaver.config", required = false)
protected Properties weaverConfig;
+ /**
+ * {@code project} parameter.
+ */
@Parameter(defaultValue = "${project}")
protected MavenProject project;
+ /**
+ * {@code repositorySystem} parameter.
+ */
@Component
protected RepositorySystem repositorySystem;
+ /**
+ * {@code repositorySystemSession} parameter.
+ */
@Parameter(defaultValue = "${repositorySystemSession}", readonly = true)
protected RepositorySystemSession repositorySystemSession;
@@ -115,6 +124,15 @@ abstract class AbstractCWMojo extends AbstractMojo {
}
}
+ /**
+ * Execute the mojo
+ *
+ * @param target location of target
+ * @param classpath classpath to use
+ * @param config configuration
+ * @throws MojoExecutionException if execution fails
+ * @throws MojoFailureException for other errors
+ */
protected abstract void doExecute(File target, List<String> classpath,
Properties config)
throws MojoExecutionException, MojoFailureException;
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 18bd4f0..3855e18 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -28,6 +28,7 @@
<action type="fix" dev="ggregory" due-to="John Patrick">Use JUnit 5
assertThrows() #11, #12.</action>
<action type="fix" dev="sebb">Construct nested class to avoid
compilation error</action>
<action type="fix" dev="sebb">Add final to static fields in test and
example code</action>
+ <action type="fix" dev="sebb">Add missing Javadoc required by later Java
versions</action>
<!-- UPDATE -->
<action type="update" dev="sebb">Commons Lang 3.7 -> 3.8.1. Fixes:
java.lang.NullPointerException
at org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast
(SystemUtils.java:1654)</action>