maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject Re: cvs commit: maven-components/maven-artifact/src/main/java/org/apache/maven/artifact AbstractMavenArtifact.java
Date Sun, 20 Jun 2004 01:45:52 GMT
On Sat, 19 Jun 2004 21:40:09 -0400, Trygve Laugstøl <trygvis@apache.org> wrote:
> 
> The id of a artifact/dependency is
> 
>  <groupId>:<artifactId>:<type>
> 
> so I guess the version should be removed from the hashCode() then?

I think version should be part of the uniqeness of an artifact. If I
have two artifacts, e.g.

apache:struts:jar:1.0 and apache:struts:jar:2.0, they're definitely
not 'equal', right?

Mime
View raw message