The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/feature/i18n-plugin-namespace-lenience-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
baffa9d4cb287b9b9c26112acb3478da21018aad / Scott Murphy Heiberg 
<[email protected]>
i18n - let a plugin that cannot rename downgrade the namespace check to a 
warning

The namespace check exists because Spring resolves a base name to the first
match on the classpath instead of merging, so two artifacts shipping the same
base name shadow one another with nothing at runtime to say which won. Failing
the plugin's own build is the right default: it puts the error in front of the
only person who can rename the bundle.

It has no escape hatch, though, and grails { i18n { basenames } } is not one --
declared base names are folded into the index before the check runs, so a
plugin cannot declare its way past it. That leaves a plugin that genuinely
cannot rename -- a base name that is part of a published contract, or a bundle
vendored from somewhere else -- with `-x generateI18nDescriptor`, which ships no
descriptor at all and so drops the plugin's messages entirely, or a fork.

Add grails { i18n { enforceNamespace = false } }. It downgrades the same
diagnosis to a build warning and writes the descriptor as it stands; the
default is unchanged. The wording is identical either way, because what is
wrong and how to fix it do not change with the severity, and both the message
and the upgrade guide are explicit that this silences the build rather than the
collision.

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

With regards,
GitHub Actions via GitBox

Reply via email to