-
Notifications
You must be signed in to change notification settings - Fork 427
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 on Maven #16
Comments
Anything I can do to help make this happen? It would be really nice to have this project on Maven Central. Let me know how I can help and I'll make the necessary changes. |
Forgot, it's already there: https://github.com/tavendo/AutobahnAndroid/tree/master/Autobahn Since this is some time ago, and I forgot everything about Maven, could you check if that works as expected? If so, I'd close the issue .. |
Although the 0.5.2-SNAPSHOT is in sonatype, it isn't available in Maven Central (search.maven.org), and unless you specify a repository for dependencies with snapshots you aren't be able to use it as a regular drop-in dependency. My company policies for instance forbids libraries with this type of dependencies. This being said, it would be great if there was both a non-SNAPSHOT version and also synced with Maven Central. |
Pretty please make this happen. It's a burden not to have every library on Maven. |
Like jcxavier said, please make it a non-SNAPSHOT build and the current master branch could be a SNAPSHOT as well. |
That's really an issue! Please make it happen that we can use a maven repo for the development with autobahn. |
+1, would really like to be able to pull this into my team's Android Gradle project through Maven. |
+1, really appreciate it. |
+1, would be nice for use with Gradle |
I found a new service, which creates maven/gradle usage on the fly from git-hashes or github release tags: https://jitpack.io/#tavendo/AutobahnAndroid/v0.5.2 |
mars3142 cool , this works , is there some drawbacks? like slower build time or something ? |
Don't know. The tool isn't from me. Just contact the creator: jitpack@jitpack.io ;) |
+1 would also like to have this available for use with gradle |
mars3142, don't use Autobahn from jitpack.io, it uses wrong old version. |
Sorry guys, I long left Java/Android .. I have no idea what's the latest rage in Java package hosting / distribution. Is it Maven, jitpack, whatnot? But I agree: whatever the current preferred hosting for Android devs is, we should support that. I am leaving this open .. it should be addressed as part of #92 |
Well jitpack is workaround when it is not on maven . maven is standard , nothing new here ... just support maven properly ! |
@rene-dohan alright. then Maven. sorry for confusion, I am not following things in the Java world closely .. |
I see that 0.5.2 is now available thru jitpack: https://jitpack.io/#crossbario/autobahn-android |
Have there been any updates on this issue? |
Any updates? |
We are working on this, I'll try to get a test version uploaded to a central repo this week. |
@om26er the groupId for the project has been created https://issues.sonatype.org/browse/OSSRH-34508 |
@ALL interested in this: ok, we have the what we would like to have is a target in the anyone with active knowledge in this stuff who could help out? |
Hi Oberstet, here is a step by step guide to follow for your case: But there are also plugins to help you with this: If you need any assistance let me know. |
The library will be published under io.crossbar.autobahn group with multiple sub packages, namely:
So for consumers the "import" line in their build.gralde look like
Given Android studio defaults to JCenter() as its default repository, I suggest that we should take the generic approach here i.e: Upload to Bintray and from there Sync to both JCenter and Maven Central. That will give us a streamlined workflow. |
Autobahn is now published to JCenter, we'll sync to Maven Central from there. |
We are now on both JCenter and Maven. http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.crossbar.autobahn%22 |
To get the AutobahnAndroid artifact into the maven central repository you should use the facilities offered by oss.sonatype.org.
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
That should help you understand how to get the artifact and all associated metadata up to oss.sonatype.org, once you are happy with it, you can request that your artifacts be synced to Maven Central http://repo.maven.org/
FYI, sonatype.org is run by many Apache Maven committer and PMC members, they do a great job in helping out the open source community.
The text was updated successfully, but these errors were encountered: