You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/20 02:10:57 UTC

[jira] Closed: (MNG-1) directory and artifact comparison

     [ http://jira.codehaus.org/browse/MNG-1?page=all ]
     
Brett Porter closed MNG-1:
--------------------------

    Fix Version:     (was: 2.0-alpha-3)
                 2.0-alpha-1
     Resolution: Fixed

this was present in alpha-1 (conflict id and others).

When it comes to utilising this in mevenide, we can look more closely at what might be needed in the api

> directory and artifact comparison
> ---------------------------------
>
>          Key: MNG-1
>          URL: http://jira.codehaus.org/browse/MNG-1
>      Project: m2
>         Type: Improvement
>     Reporter: gilles dodinet
>     Priority: Minor
>      Fix For: 2.0-alpha-1

>
>
> 1. artifacts
> in mevenide to synchronize pom with ide we need to display artifacts if they are not already added to ide (and vice-versa). for that purpose we need to have a comparison mechanism. so a equals() method is needed, but also other utility methods like (non exhaustive) : 
> o myArtifact.conflicts(myOtherArtifact) and
> o myArtifact.relaxEquals(myOtherArtifact)
> f.i. conflicts would return true if same groupId and sameAritfactId but incompatible version, relaxEquals would return true if version is compatible, etc.. (just some quick thoughts)
> 2. directories 
> although not as needed as artifact comparison it would be util to have utility to compare a Resource with a given path that might be relative or to ${basedir} or absolute.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org