incubator-nmaven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marecor Baclay (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (NMAVEN-218) Adding dependencies with the same artifact ID but with different version is added in pom
Date Wed, 08 Oct 2008 04:11:08 GMT
Adding dependencies with the same artifact ID but with different version is added in pom
----------------------------------------------------------------------------------------

                 Key: NMAVEN-218
                 URL: http://jira.codehaus.org/browse/NMAVEN-218
             Project: NMaven
          Issue Type: Bug
    Affects Versions: 0.14 (Unreleased)
            Reporter: Marecor Baclay


The message box that appears on screen says that "A Reference to the component '[dependency
name]' already exist in the project." with only OK button in it. Clicking OK button will add
that dependency on pom making two dependencies with different version in it. Deleting that
dependency in References will delete the two versions in in pom.xml


*suggestion:*
1. To avoid confusion on users, why not placing a "cancel" button with the message box mentioned
above so as users can have the option to delete the existing artifact first and can add back
the desired artifact with the latest version.

or

2. In the message box, ask the user to replace the newer/older version of the artifact. i.e.
"A newer/older version of the artifact already exist. Click OK to replace or Cancel to cancel
adding the artifact."

-- 
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

        

Mime
View raw message