]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
doc: Add Maven repository to Java bindings documentation
authorWido den Hollander <wido@widodh.nl>
Thu, 27 Sep 2012 20:48:17 +0000 (22:48 +0200)
committerEric Blake <eblake@redhat.com>
Thu, 4 Oct 2012 15:17:45 +0000 (09:17 -0600)
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@widodh.nl>
docs/java.html.in

index d3e3ebc5010d6682e6be35f3f7c528d194f7b8ce..41f26301c88ef538cc43dd003954e8886781246e 100644 (file)
@@ -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>&lt;repositories&gt;
+  &lt;repository&gt;
+    &lt;id&gt;libvirt-org&lt;/id&gt;
+    &lt;url&gt;http://libvirt.org/maven2&lt;/url&gt;
+  &lt;/repository&gt;
+&lt;/repositories&gt;</pre>
+
   </body>
 </html>