Elliotte Rusty Harold created MNG-8609:
------------------------------------------

             Summary: Dependency is not an Artifact
                 Key: MNG-8609
                 URL: https://issues.apache.org/jira/browse/MNG-8609
             Project: Maven
          Issue Type: Bug
            Reporter: Elliotte Rusty Harold


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