]> source.dussan.org Git - pf4j.git/commitdiff
Add SNAPSHOT maven repository
authorDecebal Suiu <decebal.suiu@gmail.com>
Wed, 6 Jan 2016 11:39:48 +0000 (13:39 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Wed, 6 Jan 2016 11:39:48 +0000 (13:39 +0200)
README.md

index 76e60e90f27d64a16ac8e30fbea75869686f0ab5..4a8e48a067d5916c060ce30cb3ba6b88b641126b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -56,6 +56,23 @@ where ${pf4j.version} is the last pf4j version.
 
 You may want to check for the latest released version using [Maven Search](http://search.maven.org/#search%7Cga%7C1%7Cpf4j)
 
+Also you can use the latest SNAPSHOT via the Sonatype Maven Repository. For this, you must add above lines in your `pom.xml`:
+
+```xml
+<repositories>
+    <repository>
+        <id>sonatype-nexus-snapshots</id>
+        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+        <releases>
+            <enabled>false</enabled>
+        </releases>
+        <snapshots>
+            <enabled>true</enabled>
+        </snapshots>
+    </repository>
+</repositories>
+```
+
 How to use
 -------------------
 It's very simple to add pf4j in your application: