This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-jxr.git
commit d96bf07e6e9c823e98442b8d0babdeae41c5da8f Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Tue Nov 17 07:05:31 2026 +0000 Replace remaining StringUtils and Commons calls with the JDK --- .../src/main/java/org/apache/maven/plugin/jxr/JxrReportUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReportUtil.java b/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReportUtil.java index a29edd8..5168aef 100644 --- a/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReportUtil.java +++ b/maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/JxrReportUtil.java @@ -29,7 +29,6 @@ import org.apache.maven.model.PluginExecution; import org.apache.maven.model.ReportPlugin; import org.apache.maven.model.Site; import org.apache.maven.project.MavenProject; -import org.codehaus.plexus.util.StringUtils; import org.codehaus.plexus.util.xml.Xpp3Dom; /** @@ -211,7 +210,7 @@ public class JxrReportUtil { return null; } - if (StringUtils.isEmpty(site.getUrl())) { + if (site.getUrl() == null || site.getUrl().isEmpty()) { if (!ignoreMissingSiteUrl) { throw new IOException("The URL in the site is missing in the project descriptor."); }
