Skip to content

Grails 7 Migration - Rundeck 6.0 Compatibility#92

Merged
fdevans merged 18 commits intomainfrom
grails7-upgrade
Apr 7, 2026
Merged

Grails 7 Migration - Rundeck 6.0 Compatibility#92
fdevans merged 18 commits intomainfrom
grails7-upgrade

Conversation

@fdevans
Copy link
Copy Markdown
Contributor

@fdevans fdevans commented Apr 2, 2026

Overview

Updates this plugin for Grails 7 / Rundeck 6.0 compatibility.

Key Changes

  • Upgraded to Java 17
  • Updated to Grails 7 / Groovy 4 / Spring Boot 3
  • Modernized GitHub Actions workflows (Java 17, updated actions, YAML fixes)
  • Standardized Gradle to 8.14.3
  • Updated version to 0.1.25-grails7 format

Documentation

Migration details and handoff documentation: .github/Grails7-Handoff/

Testing

  • All CI workflows passing on grails7-upgrade branch
  • Plugin builds and tests successfully with Java 17
  • Compatible with Rundeck 6.0 (Grails 7)

Notes

  • Version uses temporary -grails7 suffix (will be removed at release)
  • Maintains backward compatibility with Rundeck 5.x

fdevans added 14 commits January 2, 2026 15:11
- Update groupId to com.github.rundeck-plugins
- Update version to X.Y.Z-grails7-upgrade-test
- Update rundeck-core dependency to 6.0.0-SNAPSHOT
- Enhanced diagnostics and error logging
- Fixed test compatibility issues (JUnit 4 vs 5, Java 17)
- Updated for Spring Boot 3 / Java 17
…olution

- Maven Central does not host SNAPSHOT versions
- Added https://oss.sonatype.org/content/repositories/snapshots/
- Repository order: mavenLocal() → Sonatype Snapshots → mavenCentral()
- Added snapshotsOnly() optimization to only check Sonatype for SNAPSHOTs
- OSSRH sunset on June 30, 2025, migrated to Central Portal
- New snapshots URL: https://central.sonatype.com/repository/maven-snapshots/
- Added includeModule() to only search this repo for org.rundeck:rundeck-core
- Tested locally: BUILD SUCCESSFUL
- Reference: https://central.sonatype.org/publish/publish-portal-upload/#consuming--snapshot-releases-for-your-project
- Changed includeModule() to includeGroup() for org.rundeck
- This resolves rundeck-core AND its transitive dependencies:
  - rundeck-storage-api, rundeck-storage-data, rundeck-storage-conf
  - rundeck-authz-api, rundeck-authz-core, rundeck-authz-yaml
  - rundeck-data-models
- Tested locally without Maven Local cache: BUILD SUCCESSFUL
- Reference: https://central.sonatype.org/publish/publish-portal-upload/#consuming--snapshot-releases-for-your-project
- JitPack cached v0.1.21 artifact from Jan 2 (immutable for 7 days)
- Force-updated tags don't trigger rebuilds for cached versions
- New version ensures fresh JitPack build with Central Portal Snapshots
- This version includes the fix to resolve rundeck-core:6.0.0-SNAPSHOT
- JitPack defaults to Java 11
- Our plugin requires Java 17 (sourceCompatibility/targetCompatibility)
- jitpack.yml tells JitPack to use openjdk17
- v0.1.22 was force-updated but JitPack cached old commit
- JitPack doesn't detect force-updated tags
- v0.1.23 ensures fresh build with jitpack.yml (Java 17)
- Change from 3.18.0 to 3.17.0 in libs.versions.toml
- Required for Grails 7 / Spring Boot compatibility
- Bump version to 0.1.24-grails7-upgrade-test
….plugins

- Changed groupId: com.github.rundeck-plugins → com.rundeck.plugins
- Updated Axion with prefix='' (no 'v' prefix)
- Removed hardcoded version (0.1.24-grails7-upgrade-test)
- Updated nexusPublishing.packageGroup to com.rundeck.plugins
- Added PackageCloud publishing configuration
- Version now managed dynamically from git tags

See: .temp/PLUGIN_TAGGING_ARCHITECTURE.md and PACKAGECLOUD_MIGRATION_PLAN.md
Upgrade Gradle wrapper to match rundeck/rundeckpro (8.14.3) for consistency.
This ensures all plugins use the same build tooling version.
Corrected distribution parameter indentation to align with java-version.
This fixes GitHub Actions validation errors.
Copilot AI review requested due to automatic review settings April 2, 2026 22:30

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor

@ronaveva ronaveva left a comment

Choose a reason for hiding this comment

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

LGTM

@fdevans fdevans merged commit 8a53cb2 into main Apr 7, 2026
1 of 2 checks passed
@fdevans fdevans deleted the grails7-upgrade branch April 7, 2026 21:23
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