Neil-Tomar commented on PR #414:
URL: 
https://github.com/apache/maven-help-plugin/pull/414#issuecomment-5230546247

   Fixes #384
   
   `help:effective-pom` only displays the POM, so it should not change
   anything. But `cleanModel()` sorted the properties on the project's own
   model, so the goal modified the project it was reading.
   
   I clone the model first, so only the copy that gets written is sorted.
   
   The test checks that the project's properties are still the same object,
   with the same contents, after the goal runs. It fails without the clone.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to