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

Support for original "maven" plugin #8

Open
szpak opened this Issue Nov 15, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@szpak
Copy link
Contributor

szpak commented Nov 15, 2018

Even though maven-publish has been (finally) greatly improved this year, some people still use the old maven plugin to publish their projects (with uploadArchives). That plugin suffers the same issue with uploading from Travis as maven-publish. Do you plan to add support also for that plugin?

@szpak szpak changed the title Support for original `maven` plugin Support for original "maven" plugin Nov 15, 2018

@marcphilipp

This comment has been minimized.

Copy link
Owner

marcphilipp commented Nov 17, 2018

TBH I'd rather not support the old maven plugin. There's no reason anymore to use it since Gradle 4.8. I think users who'd like to solve the issue with uploading from Travis should consider migrating to maven-publish as a prerequisite for using this plugin. That being said, I'll leave this issue open for the time being to see how many people complain. 😉

@bartoszwalacik

This comment has been minimized.

Copy link

bartoszwalacik commented Jan 24, 2019

@marcphilipp please reconsider adding support for the original maven plugin.
The new maven-publish plugin dosn't play along with the signing plugin. Signing is mandatory when we are publishing to Sonatype Nexus (and then to the Central).

I didn't find the easy way to use signing with maven-publish without writing complex scripts as described in this post
https://medium.com/@nmauti/sign-and-publish-on-maven-central-a-project-with-the-new-maven-publish-gradle-plugin-22a72a4bfd4b

@marcphilipp

This comment has been minimized.

Copy link
Owner

marcphilipp commented Jan 27, 2019

@bartoszwalacik Which Gradle version are you using? The signing plugin supports maven-publish since Gradle 4.8: https://docs.gradle.org/4.8/release-notes.html#signing-publications

@bartoszwalacik

This comment has been minimized.

Copy link

bartoszwalacik commented Feb 11, 2019

thanks @marcphilipp , I didn't know that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.