From: Wido den Hollander
Date: Thu, 27 Sep 2012 20:48:17 +0000 (+0200)
Subject: doc: Add Maven repository to Java bindings documentation
X-Git-Tag: v1.0.0-rc1~173
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cd90935433dafc3aa1e160da99b8d67f2ea687d;p=thirdparty%2Flibvirt.git
doc: Add Maven repository to Java bindings documentation
Getting a artifact into Maven central has a lot of restrictions as
where the artifact should be hosted.
This seemed like a big hassle which we don't want to go through now.
Document a way for users to use libvirt.org as a repository so they can
fetch the Java bindings with maven.
Signed-off-by: Wido den Hollander
---
diff --git a/docs/java.html.in b/docs/java.html.in
index d3e3ebc501..41f26301c8 100644
--- a/docs/java.html.in
+++ b/docs/java.html.in
@@ -157,5 +157,15 @@ from the C API, the only points to notice are:
various methods
associated to the Domain class.
+Maven
+ Up until version 0.4.7 the Java bindings were available from the central maven repository.
+ If you want to use 0.4.8 or higher, please add the following repository to your pom.xml
+ <repositories>
+ <repository>
+ <id>libvirt-org</id>
+ <url>http://libvirt.org/maven2</url>
+ </repository>
+</repositories>
+