Skip to content

Commit 5b0cb76

Browse files
committed
README updates.
1 parent a221c56 commit 5b0cb76

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
## Travis builds now enabled
2-
3-
Builds are now verified by Travis (see [issue #20](https://github.com/daveclayton/json-patch/issues/20) for details)
4-
5-
https://travis-ci.org/daveclayton/json-patch
1+
[![License LGPLv3][LGPLv3 badge]][LGPLv3]
2+
[![License ASL 2.0][ASL 2.0 badge]][ASL 2.0]
3+
[![Build Status][Travis badge]][Travis]
4+
[![Maven Central][Maven Central badge]][Maven]
65

76
## Read me first
87

98
This project, as of version 1.4, is licensed under both LGPLv3 and ASL 2.0. See
109
file LICENSE for more details. Versions 1.3 and lower are licensed under LGPLv3
1110
only.
1211

12+
**Note the "L" in "LGPL". LGPL AND GPL ARE QUITE DIFFERENT!**
13+
1314
## What this is
1415

1516
This is an implementation of [RFC 6902 (JSON Patch)](http://tools.ietf.org/html/rfc6902) and [RFC
@@ -33,20 +34,22 @@ With Gradle:
3334

3435
```groovy
3536
dependencies {
36-
compile(group: "com.github.fge", name: "json-patch", version: "yourVersionHere");
37+
compile(group: "com.github.java-json-tools", name: "json-patch", version: "yourVersionHere");
3738
}
3839
```
3940

4041
With Maven:
4142

4243
```xml
4344
<dependency>
44-
<groupId>com.github.fge</groupId>
45+
<groupId>com.github.java-json-tools</groupId>
4546
<artifactId>json-patch</artifactId>
4647
<version>yourVersionHere</version>
4748
</dependency>
4849
```
4950

51+
Versions before 1.10 are available at `groupId` `com.github.fge`.
52+
5053
## JSON "diff" factorization
5154

5255
When computing the difference between two JSON texts (in the form of `JsonNode` instances), the diff
@@ -147,3 +150,11 @@ Applying a patch also uses an `.apply()` method:
147150
final JsonNode patched = patch.apply(orig);
148151
```
149152

153+
[LGPLv3 badge]: https://img.shields.io/:license-LGPLv3-blue.svg
154+
[LGPLv3]: http://www.gnu.org/licenses/lgpl-3.0.html
155+
[ASL 2.0 badge]: https://img.shields.io/:license-Apache%202.0-blue.svg
156+
[ASL 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html
157+
[Travis Badge]: https://api.travis-ci.org/java-json-tools/json-patch.svg?branch=master
158+
[Travis]: https://travis-ci.org/java-json-tools/json-patch
159+
[Maven Central badge]: https://img.shields.io/maven-central/v/com.github.java-json-tools/json-patch.svg
160+
[Maven]: https://search.maven.org/artifact/com.github.java-json-tools/json-patch

0 commit comments

Comments
 (0)