We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b1515e commit b51c5d8Copy full SHA for b51c5d8
src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
@@ -5543,12 +5543,16 @@ private ResolvePathResult getResolvePathResult( File artifactFile )
5543
}
5544
catch ( IOException | RuntimeException /* e.g java.lang.module.FindException */ e )
5545
{
5546
- Throwable cause = e;
5547
- while ( cause.getCause() != null )
+ if ( getLog().isDebugEnabled() )
5548
5549
- cause = cause.getCause();
+ Throwable cause = e;
+ while ( cause.getCause() != null )
5550
+ {
5551
+ cause = cause.getCause();
5552
+ }
5553
+
5554
+ getLog().debug( "resolve path for: " + artifactFile + " cause error: " + cause );
5555
- getLog().warn( e.getMessage() );
5556
5557
return resolvePathResult;
5558
0 commit comments