gnodet commented on code in PR #1193:
URL: https://github.com/apache/maven/pull/1193#discussion_r1251554945
##########
maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java:
##########
@@ -41,7 +42,7 @@ public interface ArtifactHandler {
String getDirectory();
/**
- * Get the classifier associated to the dependency type.
+ * Returns the classifier of the dependency.
Review Comment:
The `ArtifactHandler` is unrelated to the artifact's own pom.xml.
The `ArtifactHandler` is used to determine a few informations about a
dependency. It is retrieved based on the [_dependency
type_](https://maven.apache.org/ref/4-LATEST/apidocs/org/apache/maven/api/model/Dependency.html#getType()).
But the
[`Dependency`](https://maven.apache.org/ref/4-LATEST/apidocs/org/apache/maven/api/model/Dependency.html)
can define a classifier, which takes precedence over the default one provided
by the artifact handler.
--
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]