You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/01/30 23:14:00 UTC
[jira] [Updated] (MNG-8037) Restrict project to the entity being build and make it immutable
[ https://issues.apache.org/jira/browse/MNG-8037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated MNG-8037:
---------------------------------
Description:
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.
> Restrict project to the entity being build 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)