Unexpected behavior of org.apache.maven.project.Project.
--------------------------------------------------------

         Key: MAVEN-1598
         URL: http://jira.codehaus.org/browse/MAVEN-1598
     Project: maven
        Type: Bug
  Components: model  
    Versions: 1.0.2    
 Environment: All
    Reporter: Faron Dutton


Calling Project.setDependencies() does not repopulate Project.dependencyMap.
Calling Project.setDependencies() with a null value later results in NPE in 
addDependency() and getDependentProjectIds().
No way to remove a dependency. Calling getDependencies().remove() does not work 
because dependencyMap is not updated.
Because of issues with dependencyMap, getDependencies() should return either a 
copy of the List or an immutable List.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to