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

Back to the top