Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache migration: maven groupid and artifactid updates and source code repackage #14006

Open
jamesfredley opened this issue Feb 7, 2025 · 2 comments
Assignees

Comments

@jamesfredley
Copy link
Contributor

jamesfredley commented Feb 7, 2025

Issue description

Table: https://github.com/jdaugherty/grails-core/blob/renameProposal/RENAME.md

This will include a number of breaking changes. We will document the changes and migration path and if time allows create an openrewrite script.

The groupid changes are required by the Apache Software Foundation at some point and the decision was made to go ahead and complete it for Grails 7 release, since the Grails 7 release already has a long list of breaking changes. The artifactid changes have been discussed a number of times and the goals are standardization, especially for plugins, and for the resulting jar filename to clearly indicate that this is Grails and if it is a plugin. The repackage is not required by ASF, but will allow companies to enforce security rules for packages.

groupid changes

artifactid changes

  • change plugins to start with grails-plugin-
  • address additional naming issues

repackage
org.grails.* -> org.apache.grails.*
grails.* -> org.apache.grails.internal.* ?????

Plugins not moving to Apache:
After these steps are completed, Grails plugins which are not included in the core set of plugins migrating to Apache that live in https://github.com/gpc/, https://github.com/grails-plugins and other historical locations will continue to use org.grails.plugins group and org.grails.* package as desired.

@jamesfredley
Copy link
Contributor Author

Groovy still has a mix of packages and we should make sure we understand why.

  • org.apache.groovy.*
  • groovy.*
  • org.codehaus.groovy.*

@jamesfredley jamesfredley changed the title Apache migration: groupid and artifactid updates and repackage Apache migration: maven groupid and artifactid updates and source code repackage Feb 11, 2025
@jamesfredley
Copy link
Contributor Author

Update grails-console artifactid during the transition

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

No branches or pull requests

2 participants