[ 
https://issues.apache.org/jira/browse/MNG-8609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated MNG-8609:
---------------------------------
    Component/s: API

> Dependency is not an Artifact
> -----------------------------
>
>                 Key: MNG-8609
>                 URL: https://issues.apache.org/jira/browse/MNG-8609
>             Project: Maven
>          Issue Type: Bug
>          Components: API
>            Reporter: Elliotte Rusty Harold
>            Priority: Blocker
>
> org.apache.maven.api.Dependency extends org.apache.maven.api.Artifact. This 
> violates the OO principal that inheritance represents an is-A relation. A 
> dependency is not an artifact. Arguably it has an artifact. However, 
> artifacts are nodes in the graph while dependencies are the arcs. These 
> aren't the same thing and mixing them up is a common source of confusion. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to