elharo opened a new issue, #12587: URL: https://github.com/apache/maven/issues/12587
# Compat DefaultArtifactHandler: All type/extension/classifier methods return null **Found in:** maven-4.0.x branch **File:** `compat/maven-compat/src/main/java/org/apache/maven/artifact/DefaultArtifactHandler.java` **Severity:** Critical ## Description The `getExtension()`, `getType()`, `getClassifier()`, `getLanguage()`, `getPackaging()`, `isIncludesDependencies()`, `getDirectory()`, `getIncludes()`, and `getExcludes()` methods all return `null` instead of delegating to the wrapped Maven 4 `ArtifactHandler`. The `delegate` field is set in the constructor but never used. This means every `Artifact` wrapping a Maven 4 artifact will report no extension, no type, no classifier, etc., causing broken artifact paths, repository layout, and dependency resolution throughout the compat layer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
