File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/org/apache/maven/plugins/javadoc Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2232,9 +2232,9 @@ protected Collection<JavadocModule> getSourcePaths() throws MavenReportException
22322232 Path relative = base .relativize (
22332233 getJavadocDirectory ().toPath ().toAbsolutePath ());
22342234 Path javadocDir = subProject .getBasedir ().toPath ().resolve (relative );
2235- if (Files .exists ( javadocDir ) && javadocDir . isDirectory ()) {
2235+ if (Files .isDirectory (javadocDir )) {
22362236 Collection <Path > l = JavadocUtil .pruneDirs (
2237- subProject , Collections .singletonList (javadocDir .getAbsolutePath ()));
2237+ subProject , Collections .singletonList (javadocDir .toAbsolutePath (). toString ()));
22382238 additionalSourcePaths .addAll (l );
22392239 }
22402240 }
@@ -3862,7 +3862,6 @@ private void addLinkArguments(List<String> arguments) throws MavenReportExceptio
38623862 *
38633863 * @param javadocOutputDirectory not null
38643864 * @throws MavenReportException if any
3865- * @see #copyDefaultStylesheet(File)
38663865 * @see #copyJavadocResources(File)
38673866 * @see #copyAdditionalJavadocResources(File)
38683867 */
You can’t perform that action at this time.
0 commit comments