Skip to main content

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

Hi Christian, Gustav,

I spoke to Al this morning who said that this is intended to be fixed in the 1.1 release.   He suggested using 1.0.1-SNAPSHOT for now (I don't know if/how this will help).   (Just in case you haven't seen it, the description for getting the Paho Java client through Maven is on this page: https://www.eclipse.org/paho/clients/java/).

I've raised a bug for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=442613

To install into the Eclipse IDE you can use the update site: http://download.eclipse.org/paho.

Ian


On 08/26/2014 04:51 AM, Christian Götz wrote:
Hi everybody,

I have the same problem as Gustav, I can't get the Paho 1.0.0 version from Maven.

My IDE gives me the following error: "invalid uri 'http://<internal-ip>/nexus/content/groups/public//org/eclipse/paho/java-parent/${paho.version}/java-parent-${paho.version}.pom': escaped absolute path not valid"
   
Is there any way to get the Paho 1.0.0 release through Maven?

Thanks,
Christian


Gustav Sohtell wrote:
Hello,

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 http://www.eclipse.org/paho/clients/java/ which doesn’t work):
<dependency>
        <groupId>org.eclipse.paho</groupId>
        <artifactId>mqtt-client</artifactId>
        <version>%VERSION%</version>
</dependency>
to this:
<dependency>
        <groupId>org.eclipse.paho</groupId>
        <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
        <version>1.0.0</version>
</dependency>

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,
Gustav
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Committer on Paho, Mosquitto


Back to the top