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-plugin-tools.git
commit fca8365a7e484534f47667fbfe4efd9dae2a3632 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Tue Nov 17 03:47:31 2026 +0000 Replace plexus-utils StringUtils and FileUtils calls with the JDK --- .../extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java index 17fdbdf6..4dd1d873 100644 --- a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java +++ b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java @@ -290,7 +290,7 @@ public class JavaAnnotationsMojoDescriptorExtractor implements MojoDescriptorExt // try to get artifact with sources classifier, extract somewhere then scan for @since, @deprecated for (Artifact artifact : externalArtifacts) { // parameter for test-sources too ?? olamy I need that for it test only - if (StringUtils.equalsIgnoreCase("tests", artifact.getClassifier())) { + if ("tests".equalsIgnoreCase(artifact.getClassifier())) { extendJavaSourceModelWithSourcesJar(sourceModel, artifact, request, "test-sources"); } else { extendJavaSourceModelWithSourcesJar(sourceModel, artifact, request, "sources");
