chore(ci): replace grep-based POM detection with Scalpel#7
Draft
chore(ci): replace grep-based POM detection with Scalpel#7
Conversation
Replace the grep-based POM dependency analysis (extractPomDiff,
detectChangedProperties, findAffectedModules, analyzePomDependencies)
with Maveniverse Scalpel, a Maven extension that uses model comparison
for accurate change detection.
Scalpel handles:
- Changed properties (old/new <properties> comparison)
- Managed dependencies (<dependencyManagement> changes)
- Managed plugins (<pluginManagement> changes)
- Property indirection (e.g. ${spring.version} in managed deps)
This eliminates the known limitations of the grep approach:
- Managed deps without explicit <version> are now detected
- Plugin version changes are now detected
- BOM import changes are now detected
Scalpel is cloned from GitHub and built during CI. It runs as a Maven
core extension in report mode during mvn validate, outputting a JSON
report without modifying the reactor.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
ℹ️ CI did not run targeted module tests. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to PR #6 (CI rationalization). Replaces the grep-based POM dependency analysis with Maveniverse Scalpel for accurate change detection.
<version>, plugin version changes, BOM imports)Depends on PR #6 being merged first.
Test plan