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

MavenApacheLicensePlugin does not correctly apply to Plugin Marker Artifacts #192

Open
nmck257 opened this issue May 23, 2024 · 0 comments

Comments

@nmck257
Copy link

nmck257 commented May 23, 2024

(based on conversation over here openrewrite/rewrite-gradle-plugin#305)

In order to customize plugin marker artifacts, the work must be done in an afterEvaluate block, as described here:
https://discuss.gradle.org/t/how-can-i-customize-the-pom-of-the-plugin-marker-artifacts/33053

The MavenApacheLicensePlugin does not do this. So, a project using this plugin and publishing plugins to Gradle Plugin Portal will successfully have the license in the plugin jar's generated pom, but, the license will not be present in the plugin marker artifacts.

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

1 participant