-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: write Maven updates to parent pom.xml if possible (#1182)
#1169 Currently, Maven updater only supports writing updates in base pom.xml, but we would like to write updates to local parent pom.xml to minimize diffs. This PR supports writing updates to parent pom.xml: - when building patches, local parent pom.xml files are walked through to collect original dependencies and properties (this step may be done when we merge parents in reading manifest). Paths to parent manifests are recorded in the origin so we don't need to walk through the parents again. - when writing the patches, if any patch is found for specific parent path, the manifest will be overwritten with the new patches. TODO: we should investigate how to test the updated local parent pom.xml which is not in this PR.
- Loading branch information
Showing
4 changed files
with
448 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.