Skip to content

Commit c994864

Browse files
committed
Update README.md
1 parent 20c2d9f commit c994864

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
11
# Simple MQTT Client in Java [![Build Status](https://travis-ci.org/ltg-uic/simple-java-mqtt-client.svg?branch=master)](https://travis-ci.org/ltg-uic/simple-java-mqtt-client)
2-
32
A simple asynchronous MQTT client written in Java.
43

5-
## Hello world
4+
## Download
5+
You can either download the zip file from the releases on Github [here](https://github.com/ltg-uic/simple-java-mqtt-client/releases) or use Maven. If you are using Maven, add the following to your project `pom.xml` file.
6+
```xml
7+
<project ...>
8+
...
9+
<repositories>
10+
<repository>
11+
<id>LTG</id>
12+
<url>http://ltg.evl.uic.edu/artifactory/repo</url>
13+
</repository>
14+
</repositories>
15+
...
16+
<dependencies>
17+
<dependency>
18+
<groupId>ltg</groupId>
19+
<artifactId>simple-java-mqtt-client</artifactId>
20+
<version>1.0.0</version>
21+
</dependency>
22+
</dependencies>
23+
...
24+
</project>
25+
```
626

27+
## Hello world
728
```java
829
import ltg.commons.SimpleMQTTClient;
930

@@ -36,5 +57,5 @@ public class MQTTClientDemo {
3657
For a complete example see `MQTTClientDemo.java` in `ltg.commons.examples`.
3758

3859
# Important note
39-
This library is based off of a fixed version of the [Eclipse Paho java library](http://www.eclipse.org/paho/clients/java/).
60+
This library is based off of a fixed version of the [Eclipse Paho java library](http://www.eclipse.org/paho/clients/java/). Hopefully they will fix their broken Maven repo and release system one day.
4061

0 commit comments

Comments
 (0)