Skip to content

Issue 610 update-parent: add a possibility to skip version resolution and enforce a parent version#689

Merged
slawekjaranowski merged 1 commit intomojohaus:masterfrom
andrzejj0:issue-610-update-parent-downgrade-to-ver
Sep 16, 2022
Merged

Issue 610 update-parent: add a possibility to skip version resolution and enforce a parent version#689
slawekjaranowski merged 1 commit intomojohaus:masterfrom
andrzejj0:issue-610-update-parent-downgrade-to-ver

Conversation

@andrzejj0
Copy link
Copy Markdown
Contributor

@andrzejj0 andrzejj0 commented Sep 14, 2022

As explained in #610

If parentVersion is set, skipResolution will cause the mojo to completely skip version resolution and will simply set the parent version to the given version.

Added tests + enhanced the documentation.

@andrzejj0 andrzejj0 force-pushed the issue-610-update-parent-downgrade-to-ver branch from 4de9c46 to cd94167 Compare September 14, 2022 14:43
@andrzejj0 andrzejj0 marked this pull request as ready for review September 14, 2022 14:59
@andrzejj0
Copy link
Copy Markdown
Contributor Author

@slachiewicz @slawekjaranowski please review

Comment thread src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java
@andrzejj0 andrzejj0 force-pushed the issue-610-update-parent-downgrade-to-ver branch from cd94167 to dce0651 Compare September 16, 2022 04:55
@andrzejj0
Copy link
Copy Markdown
Contributor Author

Could you please rerun failed jobs? Looks like it's infra.

@andrzejj0
Copy link
Copy Markdown
Contributor Author

andrzejj0 commented Sep 16, 2022

I don't get it. I think the infra is not well today :)
Please restart again.

@slachiewicz
Copy link
Copy Markdown
Member

ok, now all green.

@slawekjaranowski slawekjaranowski linked an issue Sep 16, 2022 that may be closed by this pull request
@slawekjaranowski slawekjaranowski merged commit cb7ef70 into mojohaus:master Sep 16, 2022
@slawekjaranowski slawekjaranowski added this to the 2.13.0 milestone Sep 16, 2022
@andrzejj0 andrzejj0 deleted the issue-610-update-parent-downgrade-to-ver branch September 16, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow setting a project's parent version to a dedicated one

3 participants