Aws-sdk-android: IoT has prerelease dependency

Created on 2 Jun 2016  路  4Comments  路  Source: aws-amplify/aws-sdk-android

Consuming projects will not build.

As of 2.2.16, aws-android-sdk-iot depends on org.eclipse.paho.client.mqttv3:1.0.3-SNAPSHOT.

@797c0df | changelog

Workaround: consumers can use 2.2.15, or add the upstream Paho snapshot repo. (example)

Usage Question

Most helpful comment

@mockturtl AWS SDK for Android v2.2.21 updates Paho MQTT client to 1.1.0. It may take up to a day before jCenter catching up with Maven central. Consumers can take the latest version without adding the snapshot repo.

All 4 comments

It looks to me like upstream development is moving to eclipse/paho.mqtt.android (contrast, paho.mqtt.java).

@jpwsutton Do I understand the split correctly?

Hi, that's right, we've split out the Android service from the Java Repository. However the 1.0.3-SNAPSHOT will be promoted to our 1.1.0 release sometime in the next few days. Once that has happened, It will be available in Maven Central like the current 1.0.2 service (http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.paho.android.service%22)

That will mean that you won't have to add the eclipse snapshots repo. Of course if you want to continue using our snapshot builds, then you will have to add it (Maven central doesn't host snapshots).

Thanks for the clarification!

@mockturtl AWS SDK for Android v2.2.21 updates Paho MQTT client to 1.1.0. It may take up to a day before jCenter catching up with Maven central. Consumers can take the latest version without adding the snapshot repo.

Was this page helpful?
0 / 5 - 0 ratings