@@ -3436,7 +3436,7 @@ private String getJavadocExecutable() throws IOException {
3436
3436
//
3437
3437
// In Java 9 and above the JRE is no longer in a subdirectory of the
3438
3438
// JDK, i.e. the JRE and the JDK are merged. In this case the java
3439
- // command is installed to my-dir/bin/java along side the javadoc
3439
+ // command is installed to my-dir/bin/java alongside the javadoc
3440
3440
// command. So the relative path from "java.home" to the javadoc
3441
3441
// command is bin/javadoc.
3442
3442
//
@@ -3451,8 +3451,9 @@ private String getJavadocExecutable() throws IOException {
3451
3451
// "JEP 220: Modular Run-Time Images"
3452
3452
// http://openjdk.java.net/jeps/220
3453
3453
// ----------------------------------------------------------------------
3454
- // For IBM's JDK 1.2
3455
3454
// CHECKSTYLE_ON: LineLength
3455
+
3456
+ // For IBM's JDK 1.2
3456
3457
if (SystemUtils .IS_OS_AIX ) {
3457
3458
javadocExe =
3458
3459
new File (SystemUtils .getJavaHome () + File .separator + ".." + File .separator + "sh" , javadocCommand );
@@ -3930,7 +3931,7 @@ private void copyAdditionalJavadocResources(File anOutputDirectory) throws Maven
3930
3931
selectors [0 ].setExcludes (new String [] {"META-INF/**" });
3931
3932
unArchiver .setFileSelectors (selectors );
3932
3933
3933
- getLog ().info ("Extracting contents of resources artifact: " + artifact .getArtifactId ());
3934
+ getLog ().debug ("Extracting contents of resources artifact: " + artifact .getArtifactId ());
3934
3935
try {
3935
3936
unArchiver .extract ();
3936
3937
} catch (ArchiverException e ) {
@@ -5009,13 +5010,13 @@ private boolean isUpToDate(Commandline cmd) throws MavenReportException {
5009
5010
prvdata = null ;
5010
5011
}
5011
5012
if (curdata .equals (prvdata )) {
5012
- getLog ().info ("Skipping javadoc generation, everything is up to date." );
5013
+ getLog ().debug ("Skipping javadoc generation, everything is up to date." );
5013
5014
return true ;
5014
5015
} else {
5015
5016
if (prvdata == null ) {
5016
- getLog ().info ("No previous run data found, generating javadoc." );
5017
+ getLog ().debug ("No previous run data found, generating javadoc." );
5017
5018
} else {
5018
- getLog ().info ("Configuration changed, re-generating javadoc." );
5019
+ getLog ().debug ("Configuration changed, re-generating javadoc." );
5019
5020
if (getLog ().isDebugEnabled ()) {
5020
5021
List <String > newStrings = new ArrayList <>(curdata );
5021
5022
List <String > remStrings = new ArrayList <>(prvdata );
@@ -5365,14 +5366,13 @@ private List<OfflineLink> getModulesLinks() throws MavenReportException {
5365
5366
File location = new File (p .getBasedir (), javadocDirRelative );
5366
5367
5367
5368
if (!location .exists ()) {
5369
+ String javadocGoal = getFullJavadocGoal ();
5368
5370
if (getLog ().isDebugEnabled ()) {
5369
5371
getLog ().debug ("Javadoc directory not found: " + location );
5372
+ getLog ().debug ("The goal '" + javadocGoal + "' has not been previously called for the module: '"
5373
+ + p .getId () + "'. Trying to invoke it..." );
5370
5374
}
5371
5375
5372
- String javadocGoal = getFullJavadocGoal ();
5373
- getLog ().info ("The goal '" + javadocGoal + "' has not been previously called for the module: '"
5374
- + p .getId () + "'. Trying to invoke it..." );
5375
-
5376
5376
File invokerDir = new File (project .getBuild ().getDirectory (), "invoker" );
5377
5377
invokerDir .mkdirs ();
5378
5378
File invokerLogFile = FileUtils .createTempFile ("maven-javadoc-plugin" , ".txt" , invokerDir );
0 commit comments