Hello Marton Greber, Alexey Serbin, Gabriella Lotz, Kudu Jenkins, Abhishek
Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23179
to look at the new patch set (#2).
Change subject: [build] Add compare_poms.py for pom validation
......................................................................
[build] Add compare_poms.py for pom validation
This change adds a new python script to easily compare the pom files
generated during Java artifact publishing.
This script compares the <dependencies> sections of two Maven pom.xml files and
reports any changes
in the 'scope' or 'optional' attributes of dependencies.
The script now also supports:
- Building current and previous minor versions using gradle
- Automatically finding and comparing pom files from different versions
- Per-file summary of differences
USAGE:
python compare_poms.py [pom1.xml pom2.xml]
EXAMPLES:
# Compare specific pom files:
python compare_poms.py old_pom.xml new_pom.xml
# Build and compare versions automatically:
python compare_poms.py
NOTES:
- When run without arguments, automatically builds current and previous
minor versions
- Only differences in the <dependencies> section are considered.
- Only changes in <scope> and <optional> for each dependency are reported.
- Dependencies are matched by (groupId, artifactId).
- Added or removed dependencies are ignored.
Change-Id: Ie72412a5c3cbe7dafa2ae37633e3aca025e3d2b9
---
A build-support/compare_poms.py
1 file changed, 321 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/23179/2
--
To view, visit http://gerrit.cloudera.org:8080/23179
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie72412a5c3cbe7dafa2ae37633e3aca025e3d2b9
Gerrit-Change-Number: 23179
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Chovan <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Gabriella Lotz <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>