Skip to content

GROOVY-11871: Support Maven Resolver based version of Grapes#2140

Open
paulk-asert wants to merge 1 commit intoapache:masterfrom
paulk-asert:grapeMaven
Open

GROOVY-11871: Support Maven Resolver based version of Grapes#2140
paulk-asert wants to merge 1 commit intoapache:masterfrom
paulk-asert:grapeMaven

Conversation

@paulk-asert
Copy link
Contributor

@paulk-asert paulk-asert commented Jan 13, 2025

Provide an Apache Maven Resolver alternative backend implementation for Groovy Grapes.

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2026

Codecov Report

❌ Patch coverage is 9.59410% with 490 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.5045%. Comparing base (09773c0) to head (de5eeb8).

Files with missing lines Patch % Lines
...c/main/groovy/groovy/grape/maven/GrapeMaven.groovy 0.0000% 334 Missing ⚠️
src/main/java/groovy/grape/Grape.java 29.8246% 31 Missing and 9 partials ⚠️
...y/src/main/groovy/groovy/grape/ivy/GrapeIvy.groovy 12.8205% 34 Missing ⚠️
src/main/groovy/groovy/grape/GrapeUtil.groovy 57.1429% 13 Missing and 8 partials ⚠️
.../groovy/org/codehaus/groovy/tools/GrapeMain.groovy 0.0000% 21 Missing ⚠️
...n/groovy/groovy/console/ui/ConsoleIvyPlugin.groovy 0.0000% 17 Missing ⚠️
...groovy/groovy/console/ui/ConsoleMavenPlugin.groovy 0.0000% 15 Missing ⚠️
...e/src/main/groovy/groovy/console/ui/Console.groovy 0.0000% 7 Missing ⚠️
src/main/java/groovy/grape/GrapeEngine.java 0.0000% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##               master      #2140        +/-   ##
==================================================
- Coverage     66.7459%   66.5045%   -0.2413%     
- Complexity      29865      29867         +2     
==================================================
  Files            1382       1386         +4     
  Lines          116130     116574       +444     
  Branches        20477      20625       +148     
==================================================
+ Hits            77512      77527        +15     
- Misses          32284      32715       +431     
+ Partials         6334       6332         -2     
Files with missing lines Coverage Δ
...ava/groovy/grape/GrabAnnotationTransformation.java 47.0430% <100.0000%> (+0.2863%) ⬆️
...-xml/src/main/groovy/groovy/xml/StaxBuilder.groovy 95.0000% <ø> (ø)
src/main/java/groovy/grape/GrapeEngine.java 0.0000% <0.0000%> (ø)
...e/src/main/groovy/groovy/console/ui/Console.groovy 0.0000% <0.0000%> (ø)
...groovy/groovy/console/ui/ConsoleMavenPlugin.groovy 0.0000% <0.0000%> (ø)
...n/groovy/groovy/console/ui/ConsoleIvyPlugin.groovy 0.0000% <0.0000%> (ø)
src/main/groovy/groovy/grape/GrapeUtil.groovy 57.1429% <57.1429%> (ø)
.../groovy/org/codehaus/groovy/tools/GrapeMain.groovy 0.0000% <0.0000%> (ø)
...y/src/main/groovy/groovy/grape/ivy/GrapeIvy.groovy 31.8043% <12.8205%> (ø)
src/main/java/groovy/grape/Grape.java 25.0000% <29.8246%> (-3.3951%) ⬇️
... and 1 more

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@paulk-asert paulk-asert changed the title early draft GROOVY-11871: Support Maven Resolver based version of Grapes Mar 9, 2026
@paulk-asert paulk-asert marked this pull request as ready for review March 9, 2026 08:37
@daniellansun daniellansun requested a review from Copilot March 10, 2026 01:22

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@paulk-asert paulk-asert force-pushed the grapeMaven branch 2 times, most recently from 89c2a9b to 6537392 Compare March 15, 2026 22:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 32 out of 34 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +142 to +145
static void processSerializedCategoryMethods(InputStream is) {
is.getText().readLines().each {
System.err.println(it.trim()) // TODO: implement this or delete it
}
Comment on lines +35 to +37
def pretty= writer.toString()
.replaceAll(/<\?xml[^>]*>/, '') // remove XML declaration
assert pretty == '<root attribute="1"><elem1>hello</elem1><elem2>world</elem2></root>'
Comment on lines +34 to +37
* def pretty= writer.toString()
* .replaceAll(/<\?xml[^>]*>/, '') // remove XML declaration
* assert pretty in ['<root1 a="5" b="7"><elem1>hello1</elem1><elem2>hello2</elem2><elem3 x="7"></elem3></root1>',
* '<root1 a="5" b="7"><elem1>hello1</elem1><elem2>hello2</elem2><elem3 x="7"/></root1>']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants