You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/01 15:36:51 UTC
[I] EffectivePomMojo.cleanModel() mutates the live project Model in-place [maven-help-plugin]
elharo opened a new issue, #384:
URL: https://github.com/apache/maven-help-plugin/issues/384
In src/main/java/org/apache/maven/plugins/help/EffectivePomMojo.java:210-213:
private static void cleanModel(Model pom) {
Properties properties = new SortedProperties();
properties.putAll(pom.getProperties());
pom.setProperties(properties);
}
Called from writeEffectivePom() at line 182 on project.getModel(). This permanently replaces the project Properties with a SortedProperties instance, altering property iteration order for the remainder of the build. This is a data corruption side effect in what should be a read-only display operation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] EffectivePomMojo.cleanModel() mutates the live project Model in-place [maven-help-plugin]
Posted by "Neil-Tomar (via GitHub)" <gi...@apache.org>.
Neil-Tomar commented on issue #384:
URL: https://github.com/apache/maven-help-plugin/issues/384#issuecomment-5207498826
I’d like to take this issue. Is anyone working on it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] EffectivePomMojo.cleanModel() mutates the live project Model in-place [maven-help-plugin]
Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski closed issue #384: EffectivePomMojo.cleanModel() mutates the live project Model in-place
URL: https://github.com/apache/maven-help-plugin/issues/384
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] EffectivePomMojo.cleanModel() mutates the live project Model in-place [maven-help-plugin]
Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo commented on issue #384:
URL: https://github.com/apache/maven-help-plugin/issues/384#issuecomment-5217532125
not as far as I know
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org