This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jlink-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 973aa3f Follow Oracle javadoc guidelines (#631) 973aa3f is described below commit 973aa3f393e17a45c26cfb5d34149635bab7a871 Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Thu Sep 18 16:44:56 2025 -0400 Follow Oracle javadoc guidelines (#631) --- .../java/org/apache/maven/plugins/jlink/AbstractJLinkMojo.java | 5 +++-- .../maven/plugins/jlink/AbstractJLinkToolchainExecutor.java | 2 +- src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkMojo.java index 28b419e..e9146a8 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkMojo.java @@ -59,7 +59,7 @@ public abstract class AbstractJLinkMojo extends AbstractMojo { * Specify the requirements for this JDK toolchain. This overrules the toolchain selected by the * maven-toolchain-plugin. * </p> - * <strong>note:</strong> requires at least Maven 3.3.1 + * <strong>note:</strong> requires at least Maven 3.3.1. */ @Parameter private Map<String, String> jdkToolchain; @@ -78,7 +78,8 @@ public abstract class AbstractJLinkMojo extends AbstractMojo { /** * Overload this to produce a zip with another classifier, for example a jlink-zip. - * @return get the classifier. + * + * @return get the classifier */ protected abstract String getClassifier(); diff --git a/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkToolchainExecutor.java b/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkToolchainExecutor.java index 06f2c77..27aa2a7 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkToolchainExecutor.java +++ b/src/main/java/org/apache/maven/plugins/jlink/AbstractJLinkToolchainExecutor.java @@ -65,7 +65,7 @@ abstract class AbstractJLinkToolchainExecutor extends AbstractJLinkExecutor { /** * Execute JLink via toolchain. * - * @return the exit code ({@code 0} on success). + * @return the exit code ({@code 0} on success) */ @Override public int executeJlink(List<String> jlinkArgs) throws MojoExecutionException { diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java index fd14f48..a237afb 100644 --- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java +++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java @@ -97,7 +97,7 @@ public class JLinkMojo extends AbstractJLinkMojo { * Specify the requirements for this jdk toolchain. This overrules the toolchain selected by the * maven-toolchain-plugin. * </p> - * <strong>note:</strong> requires at least Maven 3.3.1 + * <strong>note:</strong> requires at least Maven 3.3.1. */ @Parameter private Map<String, String> jdkToolchain; @@ -467,8 +467,8 @@ public class JLinkMojo extends AbstractJLinkMojo { /** * Gets the compile classpath elements while filtering out artifacts that should be skipped. * - * @param project The Maven project - * @return List of files that should be included in the classpath + * @param project the Maven project + * @return list of files that should be included in the classpath */ List<File> getCompileClasspathElements(MavenProject project) { List<File> list = new ArrayList<>(project.getArtifacts().size() + 1); @@ -488,7 +488,7 @@ public class JLinkMojo extends AbstractJLinkMojo { * Determines if an artifact should be skipped based on its properties. * Currently, skips POM type artifacts, but can be extended for other cases. * - * @param artifact The artifact to check + * @param artifact the artifact to check * @return true if the artifact should be skipped, false otherwise */ private boolean shouldSkip(Artifact artifact) {