-
Notifications
You must be signed in to change notification settings - Fork 120
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
Move to Bintray for Mapbox Java SDK releases #995
Comments
Love the idea of getting more projects on to the same platform. Bintray integrations and its UI are all great. |
I added the needed environment variables to the Java SDK project in CircleCI |
I've added an initial setup for this on https://github.com/mapbox/mapbox-java/pull/new/ls-moving-release-process-to-bintray I've made good progress but I'm running into a crash that probably has to do with where I'm (not) adding Gradle |
Ok @osana & @LukasPaczos , https://github.com/mapbox/mapbox-java/pull/new/ls-moving-release-process-to-bintray has my most up-to-date work. One thing I thought about looking into is using a different Bintray publishing plugin, such as https://github.com/novoda/bintray-release . Perhaps a different plugin can handle the multiple components that are in the |
Now that I think about it, what's the issue with pushing each artifact separately to Bintray? We'll probably still need to click the The only piece that I think might be missing is that we need to recognize in the |
Not sure what you mean. Can you elaborate? You're suggesting each API wrapper artifact (optimization, mapmatching, etc.) should be sent separately to Bintray first? Or something different?
Ok, will look into this. Working off of mapbox/mapbox-gl-native#14067, I pushed/re-based changes to start the work of setting the SNAPSHOT repository to https://oss.jfrog.org/artifactory/oss-snapshot-local/. If this shouldn't be done, let me know. |
No, phrased that poorly. We have 4 releasable modules,
Just a hunch, but this error might be thrown because you are first applying the bintray plugin that defines a publication to, for example, Another issue might arise when we get to dependencies on other projects, for example:
or mapbox-java/services/build.gradle Lines 13 to 14 in 7120a50
those dependencies might not be picked up in POM (or are represented poorly, like unknown or wrong artifact names).
References in the So, whenever we release a module, during the |
When it comes to snapshots, we need to first create a new project in https://bintray.com/mapbox/mapbox/ (this is needed for regular releases as well) and request JCenter access to be able to push to the snapshot repository. |
A bit of a side note but maybe it would be helpful. It is easy to merge service-core into services. But if we want to be able to release each of the sub-services individually than this is not actionable. |
Still lots to fix, but I made good progress today 👍 See page 2 of https://bintray.com/mapbox/mapbox |
Also, seems that the Java wrappers (optimization, mapmatching, etc.) were successfully included in the |
@LukasPaczos , a couple of things based on my latest update above: Regarding my past 💥 of
Seems that my current setup is successfully doing this. Each of the 4 packages is separate on Bintray.
Still need to figure this out.
So, below is the
Seems that the plugin correctly picked up the dependencies, right? |
Yes, seems like the POM is fine 🚀 |
Created a pr for the work discussed above #1037 |
Right now, Mapbox Java Sdk uses Sonatype to pass release files on to MavenCentral.
Recently, Maps SDK Android switched to using Bintray.
We want to align the release process used in those two projects and to use Bintray for Mapbox Java Sdk releases.
Here is the PR used to move to Bintray in Maps SDK Android for reference.
The text was updated successfully, but these errors were encountered: