[ 
https://issues.apache.org/jira/browse/MNG-8037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet closed MNG-8037.
--------------------------------
    Resolution: Fixed

Fixed by PR [#1389|https://github.com/apache/maven/pull/1389] and commit 
[16fc54d|https://github.com/apache/maven/commit/16fc54da7f7ccc3d849d1f79b684506cdde00a09]

> Restrict project to the entity being built and make it immutable
> ----------------------------------------------------------------
>
>                 Key: MNG-8037
>                 URL: https://issues.apache.org/jira/browse/MNG-8037
>             Project: Maven
>          Issue Type: Improvement
>          Components: API
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.0.0, 4.0.0-alpha-13
>
>
> The {{Project}} object should be restricted to representing a maven project 
> that is being built and should be immutable.  The mutable parts will be 
> offloaded to the {{ProjectManager}} such as directories, resources or 
> properties.
> For the use case where a plugin or extension needs to access the dependencies 
> or the model of a given artifact, the {{DependencyResolver}} or the future 
> {{ModelBuilder}} can be used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to