Skip to content

Commit

Permalink
[MJAVADOC-783] Invalid path when using TagletArtifact and TagletPath
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Gordon <[email protected]>
Co-authored-by: Michael Osipov <[email protected]>

This closes #300
  • Loading branch information
kriegaex authored and michael-o committed Jul 14, 2024
1 parent 3eb47c5 commit be2fa20
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2968,14 +2968,11 @@ private String getTagletPath() throws MavenReportException {
}
}

StringBuilder path = new StringBuilder();
path.append(StringUtils.join(pathParts.iterator(), File.pathSeparator));

if (tagletpath != null && !tagletpath.isEmpty()) {
path.append(JavadocUtil.unifyPathSeparator(tagletpath));
if (StringUtils.isNotEmpty(tagletpath)) {
pathParts.addAll(Arrays.asList(JavadocUtil.splitPath(tagletpath)));
}

return path.toString();
return StringUtils.join(pathParts, File.pathSeparator);
}

private Set<String> collectLinks() throws MavenReportException {
Expand Down

0 comments on commit be2fa20

Please sign in to comment.