Skip to content

Commit c70516d

Browse files
authored
Included clojars maven repository
1 parent f1d7972 commit c70516d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.markdown

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Implemented WebSocket protocol versions are:
2020

2121

2222
## Build
23-
You can build using Ant or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
23+
You can build using Ant, Maven or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
2424

2525
### Ant
2626

@@ -32,6 +32,22 @@ will create the javadoc of this library at ```doc/``` and build the library itse
3232

3333
The ant targets are: ```compile```, ```jar```, ```doc``` and ```clean```
3434

35+
### Maven
36+
To use maven add this repository to your pom.xml:
37+
```xml
38+
<repository>
39+
<id>clojars.org</id>
40+
<url>http://clojars.org/repo</url>
41+
</repository>
42+
```
43+
Also add this dependency to your pom.xml:
44+
```xml
45+
<dependency>
46+
<groupId>org.java-websocket</groupId>
47+
<artifactId>Java-WebSocket</artifactId>
48+
<version>1.3.0</version>
49+
</dependency>
50+
```
3551

3652
### Leiningen
3753

0 commit comments

Comments
 (0)