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

Update publish plugin to expose an API for using pre-existing pom file #29

Open
bjhargrave opened this issue Jan 14, 2020 · 3 comments
Open

Comments

@bjhargrave
Copy link

Expected Behavior

When wanting to publish an already built gradle plugin artifact in the Plugin portal, you want to use the existing pom file. See #9 (comment).

The pluginBundle DSL should provide a way to use the existing pom file (either as a supplied file or as the pom resource in the artifact jar) rather than always generating a new pom file.

Current Behavior

The publish plugin always generates a new pom file which will not contain necessary information already in the existing pom file.

Context

See #9.

@lacasseio
Copy link
Contributor

Thanks for opening this issue. It's great feature to have. It may overlap with some of the work around using the maven-publish and the variant aware publishing that we are discussing but it's definitely something that should be doable from the plugin author.

@JLLeitschuh
Copy link

You can absolutely hack this to make it work (I've done so in the past for some testing) but I agree we should expose an official way to do this.

@marcphilipp
Copy link

FWIW I've submitted a workaround to bnd: bndtools/bnd#3811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants