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

Publish to Maven Central repository #1171

Open
3 tasks done
mtrezza opened this issue May 25, 2022 · 8 comments
Open
3 tasks done

Publish to Maven Central repository #1171

mtrezza opened this issue May 25, 2022 · 8 comments
Labels
type:meta Non-code issue

Comments

@mtrezza
Copy link
Member

mtrezza commented May 25, 2022

New Feature / Enhancement Checklist

Current Limitation

Google published their new Google Play SDK Index to help developers evaluate (potential) SDKs for their projects. Parse Android SDK is not listed there, as one hard requirement seems to be that the SDK is published to Maven Central.

We used to publish on Maven Central initially, but then stopped some years ago (for reasons currently unknown). The last releases there are from 2018.

Feature / Enhancement Description

Publishing releases to Maven Central, instead of Jitpack, or maybe in addition to Jitpack if there is a good reason.

Example Use Case

n/a

Alternatives / Workarounds

n/a

@parse-github-assistant
Copy link

parse-github-assistant bot commented May 25, 2022

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added the type:meta Non-code issue label May 25, 2022
@mtrezza mtrezza pinned this issue May 25, 2022
@mtrezza
Copy link
Member Author

mtrezza commented May 25, 2022

@parse-community/android-sdk Any suggetions?

@rommansabbir
Copy link
Member

I need to learn about the process, so that I can contribute with the publication process. (Publish to Maven Central repository #1171) as I'm experienced with JitPack at this time.

@Jawnnypoo
Copy link
Member

You'd have to get the owner of https://parseplatform.org/ to change some DNS settings so that the domain could be verified. The dependency would have to be something like org.parseplatform.* instead of com.parse-community or com.parse. See all instructions here: https://central.sonatype.org/publish/publish-guide/#introduction

@rommansabbir
Copy link
Member

rommansabbir commented May 28, 2022

@mtrezza I have reviewed the Maven Central Publication Process and found out a Libray that makes the whole process eaiser with just a Gradle Plugin.

Article: https://www.waseefakhtar.com/android/publishing-your-first-android-library-to-mavencentral/
Library: https://github.com/vanniktech/gradle-maven-publish-plugin

Take a look at this. Thanks.

@mtrezza
Copy link
Member Author

mtrezza commented May 28, 2022

There are also docs how to publish that in GitHub Actions:
https://docs.github.com/en/actions/publishing-packages/publishing-java-packages-with-maven

Looks pretty simple.

@Jawnnypoo
Copy link
Member

Publishing is the simple part for sure! Here I have a configuration that publishes when I make a tag in Git.

https://github.com/Commit451/ResourcesPoet/blob/master/.github/workflows/publish-release.yml

The setup/access is the hard part 😜

@Shvet
Copy link
Contributor

Shvet commented Aug 1, 2022

You can publish any library for free on maven or jitpack if it is open source, as for private sdk's you may need enterprise account. As for how to publish sdk i think there are lots of scripts out there already also we can have Developer Page for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:meta Non-code issue
Projects
None yet
Development

No branches or pull requests

4 participants