The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/grails8-groovy5-sb4 has succeeded.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
423022f17c21eb11c3d9f28474595c107f8da1ed / James Fredley 
<[email protected]>
fix(deps): pin Groovy to released 5.0.6 to unblock CI dependency resolution

Apache's snapshot retention has purged the 5.0.6-SNAPSHOT artifacts from
the Apache Nexus snapshot repository. Only the empty maven-metadata.xml.*
hash files remain dated 2026-05-08:

  
https://repository.apache.org/content/groups/snapshots/org/apache/groovy/groovy/5.0.6-SNAPSHOT/
    (404 on maven-metadata.xml, 404 on every per-build JAR)

This blocks every CI job at the dependency resolution step:

  Could not find org.apache.groovy:groovy:5.0.6-SNAPSHOT
  Could not find org.apache.groovy:groovy-bom:5.0.6-SNAPSHOT
  Could not find org.apache.groovy:groovy-templates:5.0.6-SNAPSHOT
  Could not find org.apache.groovy:groovy-xml:5.0.6-SNAPSHOT
  Could not find org.apache.groovy:groovy-json:5.0.6-SNAPSHOT
  Could not find org.apache.groovy:groovy-sql:5.0.6-SNAPSHOT

Apache Groovy 5.0.6 was released to Maven Central on 2026-05-04 and is
resolvable from repo1.maven.org. None of the six remaining workarounds
in this PR depend on the 4 post-tag commits on GROOVY_5_0_X:

  - da06ae61 GROOVY-11989: javaparser-core 3.28.0 -> 3.28.1 (dep bump)
  - a0e717b5 GROOVY-11990: jackson 2.21.3                    (dep bump)
  - 75727913 Update dependency metadata                      (admin)
  - a1c006c9 GROOVY-11996: groovy.truth.file.exists.enabled  (opt-out
            flag targeting 5.0.7; the PR's File.asBoolean fix in
            TemplateRendererImpl is the real fix and does not need it)

So pinning to released 5.0.6 is functionally equivalent for this PR and
fixes CI immediately. Verified locally:

  > Task :grails-test-examples-compile-static:integrationTest
  BookServiceSpec > test validateBooks method PASSED
    JVM 21.0.10 | Grails 8.0.0-SNAPSHOT | Groovy 5.0.6 | Spring Boot 4.0.5

The apache snapshots repo declaration in settings.gradle is kept as-is
so the groovy-joint-workflow CI job can still swap in a Groovy snapshot
when needed.

Updates both groovy.version entries in dependencies.gradle:
  * Main bom (line 81)
  * grails-micronaut-bom strictly-override (line 222)

Assisted-by: opencode:claude-4.7-opus

Report URL: https://github.com/apache/grails-core/actions/runs/26179373992

With regards,
GitHub Actions via GitBox

Reply via email to