Giter VIP home page Giter VIP logo

Comments (28)

om26er avatar om26er commented on May 18, 2024 2

Any updates?

We are working on this, I'll try to get a test version uploaded to a central repo this week.

from autobahn-java.

bcurren avatar bcurren commented on May 18, 2024

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.

from autobahn-java.

oberstet avatar oberstet commented on May 18, 2024

Forgot, it's already there:

https://github.com/tavendo/AutobahnAndroid/tree/master/Autobahn
https://oss.sonatype.org/content/repositories/snapshots/de/tavendo/autobahn-android/

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 ..

from autobahn-java.

jcxavier avatar jcxavier commented on May 18, 2024

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.

from autobahn-java.

Velfolt avatar Velfolt commented on May 18, 2024

Pretty please make this happen. It's a burden not to have every library on Maven.

from autobahn-java.

mars3142 avatar mars3142 commented on May 18, 2024

Like jcxavier said, please make it a non-SNAPSHOT build and the current master branch could be a SNAPSHOT as well.

from autobahn-java.

benjamin-dittwald avatar benjamin-dittwald commented on May 18, 2024

That's really an issue! Please make it happen that we can use a maven repo for the development with autobahn.

from autobahn-java.

bjenning04 avatar bjenning04 commented on May 18, 2024

+1, would really like to be able to pull this into my team's Android Gradle project through Maven.

from autobahn-java.

disciple97 avatar disciple97 commented on May 18, 2024

+1, really appreciate it.

from autobahn-java.

pielambr avatar pielambr commented on May 18, 2024

+1, would be nice for use with Gradle

from autobahn-java.

mars3142 avatar mars3142 commented on May 18, 2024

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

from autobahn-java.

renetik avatar renetik commented on May 18, 2024

mars3142 cool , this works , is there some drawbacks? like slower build time or something ?

from autobahn-java.

mars3142 avatar mars3142 commented on May 18, 2024

Don't know. The tool isn't from me. Just contact the creator: [email protected] ;)

from autobahn-java.

James-Firth avatar James-Firth commented on May 18, 2024

+1 would also like to have this available for use with gradle

from autobahn-java.

abcdeiko avatar abcdeiko commented on May 18, 2024

mars3142, don't use Autobahn from jitpack.io, it uses wrong old version.
This is my post on SO http://stackoverflow.com/a/30777724/3363782

from autobahn-java.

oberstet avatar oberstet commented on May 18, 2024

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

from autobahn-java.

renetik avatar renetik commented on May 18, 2024

Well jitpack is workaround when it is not on maven . maven is standard , nothing new here ... just support maven properly !

from autobahn-java.

oberstet avatar oberstet commented on May 18, 2024

@rene-dohan alright. then Maven. sorry for confusion, I am not following things in the Java world closely ..

from autobahn-java.

Muyangmin avatar Muyangmin commented on May 18, 2024

@oberstet MavenCentral is a good choice, either jcenter. Btw, jcenter is the default repository for android projects now.

from autobahn-java.

jgamedev avatar jgamedev commented on May 18, 2024

I see that 0.5.2 is now available thru jitpack: https://jitpack.io/#crossbario/autobahn-android
I'll just say for me personally it sucks to be late to the websocket party and not know what ppl are using for Android.

from autobahn-java.

zjulia avatar zjulia commented on May 18, 2024

Have there been any updates on this issue?

from autobahn-java.

bvolpato avatar bvolpato commented on May 18, 2024

Any updates?

from autobahn-java.

oberstet avatar oberstet commented on May 18, 2024

@om26er the groupId for the project has been created https://issues.sonatype.org/browse/OSSRH-34508

from autobahn-java.

oberstet avatar oberstet commented on May 18, 2024

@ALL interested in this: ok, we have the groupId on sonatype. now, actually uploading a bunch of jars seems to be ridiculously complicated https://docs.gradle.org/current/userguide/publishing_maven.html

what we would like to have is a target in the Makefile like publish_maven that uploads JARs left in a local directory to maven.

anyone with active knowledge in this stuff who could help out?

from autobahn-java.

joeystdio avatar joeystdio commented on May 18, 2024

Hi Oberstet, here is a step by step guide to follow for your case:
http://central.sonatype.org/pages/gradle.html

But there are also plugins to help you with this:
https://github.com/Codearte/gradle-nexus-staging-plugin/
and
https://github.com/bmuschko/gradle-nexus-plugin/

If you need any assistance let me know.

from autobahn-java.

om26er avatar om26er commented on May 18, 2024

The library will be published under io.crossbar.autobahn group with multiple sub packages, namely:

  1. autobahn-android
  2. autobahn-java(or -netty)

So for consumers the "import" line in their build.gralde look like

implementation 'io.crossbar.autobahn:autobahn-android:17.X.X'

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.

from autobahn-java.

om26er avatar om26er commented on May 18, 2024

Autobahn is now published to JCenter, we'll sync to Maven Central from there.

from autobahn-java.

om26er avatar om26er commented on May 18, 2024

We are now on both JCenter and Maven. http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.crossbar.autobahn%22

from autobahn-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.