@@ -1026,8 +1026,8 @@ public abstract class AbstractJavadocMojo extends AbstractMojo {
10261026 private boolean keywords ;
10271027
10281028 /**
1029- * Creates links to existing javadoc-generated documentation of external referenced classes.
1030- * <br>
1029+ * Creates links to existing javadoc-generated documentation of external referenced classes.<p>
1030+ *
10311031 * <b>Notes</b>:
10321032 * <ol>
10331033 * <li>only used if {@code isOffline} is set to <code>false</code>.</li>
@@ -1039,12 +1039,12 @@ public abstract class AbstractJavadocMojo extends AbstractMojo {
10391039 * <links>
10401040 * </pre>
10411041 * will be used because <code>https://docs.oracle.com/en/java/javase/17/docs/api/element-list</code> exists.</li>
1042- * <li>if {@link #detectLinks} is defined, the links between the project dependencies are
1042+ * <li>If {@link #detectLinks} is defined, the links between the project dependencies are
10431043 * automatically added.</li>
1044- * <li>if {@link #detectJavaApiLink} is defined, a Java API link, based on the Java version of the
1044+ * <li>If {@link #detectJavaApiLink} is defined, a Java API link, based on the Java version of the
10451045 * project's sources, will be added automatically.</li>
10461046 * </ol>
1047- * @see <a href=" https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options" >Doclet option link</a>.
1047+ * @see <a href=https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options>Doclet option link</a>
10481048 */
10491049 @ Parameter (property = "links" )
10501050 protected ArrayList <String > links ;
@@ -1682,7 +1682,7 @@ protected MavenProject getProject() {
16821682 /**
16831683 * @param p not null maven project
16841684 * @return the list of directories where compiled classes are placed for the given project. These dirs are
1685- * added in the javadoc classpath.
1685+ * added to the javadoc classpath.
16861686 */
16871687 protected List <File > getProjectBuildOutputDirs (MavenProject p ) {
16881688 if (StringUtils .isEmpty (p .getBuild ().getOutputDirectory ())) {
@@ -1693,10 +1693,8 @@ protected List<File> getProjectBuildOutputDirs(MavenProject p) {
16931693 }
16941694
16951695 /**
1696- * Either returns the attached artifact file or outputDirectory
1697- *
1698- * @param project
1699- * @return
1696+ * @param project the project in which to find a classes file
1697+ * @return null, the attached artifact file, or outputDirectory.
17001698 */
17011699 protected File getClassesFile (MavenProject project ) {
17021700 if (!isAggregator () && isTest ()) {
@@ -6026,8 +6024,7 @@ protected void failOnError(String prefix, Exception e) throws MojoExecutionExcep
60266024 }
60276025
60286026 /**
6029- *
6030- * @return List of projects to be part of aggregated javadoc
6027+ * @return list of projects to be part of aggregated javadoc
60316028 */
60326029 private List <MavenProject > getAggregatedProjects () {
60336030 if (this .reactorProjects == null ) {
@@ -6046,8 +6043,8 @@ private List<MavenProject> getAggregatedProjects() {
60466043 }
60476044
60486045 /**
6049- *
6050- * @return <code>true</code> if the module need to be skipped from aggregate generation
6046+ * @param mavenProject the project that might be skipped
6047+ * @return <code>true</code> if the project needs to be skipped from aggregate generation
60516048 */
60526049 protected boolean isSkippedModule (MavenProject mavenProject ) {
60536050 if (this .skippedModules == null || this .skippedModules .isEmpty ()) {
@@ -6058,8 +6055,8 @@ protected boolean isSkippedModule(MavenProject mavenProject) {
60586055 }
60596056
60606057 /**
6061- *
6062- * @return <code>true</code> if the pom configuration skip javadoc generation for the project
6058+ * @param mavenProject the project that might be skipped
6059+ * @return <code>true</code> if the pom configuration skips javadoc generation for the project
60636060 */
60646061 protected boolean isSkippedJavadoc (MavenProject mavenProject ) {
60656062 String property = mavenProject .getProperties ().getProperty ("maven.javadoc.skip" );
0 commit comments