[libvirt] [PATCH] doc: Add Maven repository to Java bindings documentation

Wido den Hollander wido at widodh.nl
Thu Sep 27 20:48:17 UTC 2012


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 <wido at widodh.nl>
---
 docs/java.html.in |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/java.html.in b/docs/java.html.in
index d3e3ebc..41f2630 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:</p>
     various <span style="color: #E50073; background-color: #FFFFFF">methods</span>
     associated to the Domain class.</li>
     </ul>
+<h2>Maven</h2>
+  <p>Up until version 0.4.7 the Java bindings were available from the central maven repository.</p>
+  <p>If you want to use 0.4.8 or higher, please add the following repository to your pom.xml</p>
+  <pre><repositories>
+  <repository>
+    <id>libvirt-org</id>
+    <url>http://libvirt.org/maven2</url>
+  </repository>
+</repositories></pre>
+
   </body>
 </html>
-- 
1.7.9.5




More information about the libvir-list mailing list