Skip to content

Conversation

@dakshmehta007
Copy link
Contributor

Documents the removal of package-plugin command and provides migration path in UPGRADE7.md

Context

Changes

  • Added section in UPGRADE7.md about removed command line tools
  • Documents the replacement using Gradle standard tasks:
    • ./gradlew assemble for packaging plugins
    • ./gradlew jar for building plugin JARs
  • Explains rationale for change (aligning with Gradle standards)

Testing

  • No functional testing needed as this is a documentation-only change
  • Verified accuracy of Gradle commands for plugin packaging

Additional Notes

  • Part of ongoing documentation improvements for Grails 7.0
  • Helps users migrate from older Grails versions using legacy commands
  • Aligns with modern Gradle-based build practices

Fixes #11613

@@ -1,23 +1,24 @@
# Common 7.0 Upgrade Gotchas - DRAFT -

Experienced while upgrading modules for Grails 7
Copy link
Contributor

Choose a reason for hiding this comment

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

I love the clean up of this file, but this is our notes file to remind us to update the grails-doc repository (which is what users see). The proper place to update this is https://github.com/apache/grails-doc. Can you submit a PR there?

Copy link
Contributor

Choose a reason for hiding this comment

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

@jamesfredley
Copy link
Contributor

package-plugin is provided by https://github.com/apache/grails-core/blob/0c944d3556b3fdffb4f81a15fdd390b4e58ee6a4/grails-profiles/plugin/commands/package-plugin.yml and is only available in projects with one of the following grails profiles: plugin, web-plugin or rest-api-plugin

This was restored in 6.2.1 and will be available in 7.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Seems package-plugin command was not found on version 4.0.4

3 participants