Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] How to use the maven repo for release 1.0


I tried using the maven repo (with gradle) a few weeks ago and failed. Now since 1.0 is released I thought I should try again. Last time I ended up downloading the matt-client jar manually.

I have gotten this far:

If I change this (from which doesn’t work):
to this:

But then the pom-file contains "${paho.version}” which doesn’t work. Perhaps I can define that myself but that can’t be correct? In gradle I just specify:

compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.+’
Which means that it will automatically fetch the latest 1.0-release I guess. It won’t define any paho-version variable.

What am I doing wrong? I can’t understand how this is supposed to work.

Best regards,

Back to the top