Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdatePropertiesMojo processes parent POMs #837

Closed
jarmoniuk opened this issue Dec 1, 2022 · 2 comments · Fixed by #838
Closed

UpdatePropertiesMojo processes parent POMs #837

jarmoniuk opened this issue Dec 1, 2022 · 2 comments · Fixed by #838
Milestone

Comments

@jarmoniuk
Copy link
Contributor

UpdatePropertiesMojo traverses parent POMs in order to find and update properties. However, this is not necessary, only adds to chatter of the mojo, since parent POMs won't be able to be updated anyway.

As a side thing, change recorder does contain changes even if the POM has not been modified.

Seen in #793

@jarmoniuk
Copy link
Contributor Author

Edit -- it does matter after all if the child POM redefines a property defined and used in the parent. - #582

So, I'll add includeParent, equal to true.

jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Dec 1, 2022
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Dec 1, 2022
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Dec 2, 2022
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Dec 2, 2022
jarmoniuk added a commit to jarmoniuk/versions-maven-plugin that referenced this issue Dec 2, 2022
@jarmoniuk
Copy link
Contributor Author

jarmoniuk commented Dec 2, 2022

@slawekjaranowski please resolve when #838 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants