You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/13 21:14:37 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MNG-1

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MNG-1
    Summary: directory and artifact comparison
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: m2

   Assignee: 
   Reporter: gilles dodinet

    Created: Tue, 13 Apr 2004 3:12 PM
    Updated: Tue, 13 Apr 2004 3:12 PM

Description:
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. 






---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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