-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javadoc fixes #1198
Javadoc fixes #1198
Conversation
api/maven-api-core/src/main/java/org/apache/maven/api/Type.java
Outdated
Show resolved
Hide resolved
api/maven-api-core/src/main/java/org/apache/maven/api/Type.java
Outdated
Show resolved
Hide resolved
@@ -23,9 +23,9 @@ | |||
public interface Dependency extends Artifact { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Realizing now this inheritance hierarchy is wonky. This suggests a Dependency is an artifact, which isn't true. Nothing to do about that in this PR of course, but I wanted to call it out while I'm thinking about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is true in this context. This is unrelated to the model's dependency list.
Here, the Dependency
is the resolved Artifact
that come from a DependencyCoordinate
. This is more related to the dependency collection and artifact resolution. The DependencyCoordinate
is what maps closely to the model's Dependency
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking much clearer, thanks. Just some nits
No description provided.