You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Faron Dutton (JIRA)" <ji...@codehaus.org> on 2005/04/24 14:54:46 UTC
[jira] Created: (MAVEN-1598) Unexpected behavior of org.apache.maven.project.Project.
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MAVEN-1598) Unexpected behavior of org.apache.maven.project.Project.
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1598?page=all ]
Brett Porter closed MAVEN-1598:
-------------------------------
Resolution: Fixed
> 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
> Fix For: 1.1-beta-1
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MAVEN-1598) Unexpected behavior of org.apache.maven.project.Project.
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1598?page=all ]
Brett Porter updated MAVEN-1598:
--------------------------------
Fix Version: 1.1-beta-1
> 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
> Fix For: 1.1-beta-1
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org