Skip to content

Conversation

@jdaugherty
Copy link
Contributor

This should add licensing / notice / disclaimer to the grails-cli.jar. It removes publishing for the grails-forge-cli shadow jar.

Please note: as part of this work, I think we need to enable the licensing plugin added by Sergio. I noticed the grails-core project exports the Jakarta annotations API, which is dual licensed under GPL & Eclipse. For now, I've updated our notice files to say which one we choose.

We may want to revisit this approach for the shadowJar and instead generate a combined file, check it in, and then every build generate one. If it changes, we know the licenses have changed and need updated (so fail the build until updated). This would allow us to manually curate the shadowJar license information.

This is out of scope for the RC1 though, and this PR at least makes our licensing consistent so I'd like to move forward with this as a start.

Copy link
Contributor

@jamesfredley jamesfredley left a comment

Choose a reason for hiding this comment

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

I retested with the latest changes and the SLF4J messages are gone.

@jdaugherty jdaugherty merged commit 7d06b75 into 7.0.x Aug 3, 2025
30 checks passed
@jdaugherty jdaugherty deleted the shadowJarLicensing branch August 3, 2025 00:18
@jamesfredley jamesfredley linked an issue Aug 3, 2025 that may be closed by this pull request
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.

Rework NOTICE/LICENSE in ShadowJars from CLIs

3 participants