]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: java: Clean up links to source code
authorPeter Krempa <pkrempa@redhat.com>
Tue, 14 Mar 2023 08:26:11 +0000 (09:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 14 Mar 2023 14:42:36 +0000 (15:42 +0100)
 - drop the link to the FTP server which doesn't exist any more
 - change links to libvirt.org/source to download.libvirt.org
 - change link to the maven repository to point to download.libvirt.org
 - change link to javadoc to the documentation generated via gitlab job
   in the libvirt-java project

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
docs/java.rst

index df846c6fc623d4a969d8a0539b41df9219cb93f1..685600d2f67e680473a01512941387594247a174 100644 (file)
@@ -16,11 +16,10 @@ Getting it
 
 The latest versions of the libvirt Java bindings can be downloaded from:
 
--  `libvirt.org FTP server <ftp://libvirt.org/libvirt/java/>`__
--  `libvirt.org HTTP server <https://libvirt.org/sources/java/>`__
+-  `libvirt.org HTTP server <https://download.libvirt.org/java/>`__
 
-A maven repository is located at https://libvirt.org/maven2/ which you can use
-to include this in your maven projects.
+A maven repository is located at https://download.libvirt.org/maven2/ which you
+can use to include this in your maven projects.
 
 GIT source repository
 ---------------------
@@ -68,8 +67,8 @@ become
 
 There is of course some functions where the mapping is less direct and using
 extra classes to map complex arguments. The
-`Javadoc <https://libvirt.org/sources/java/javadoc>`__ is available online or as
-part of a separate libvirt-java-javadoc package.
+`Javadoc <https://libvirt.gitlab.io/libvirt-java/javadoc>`__ is available online
+or as part of a separate libvirt-java-javadoc package.
 
 So let's look at a simple example inspired from the ``test.java`` test found in
 ``src`` in the source tree:
@@ -123,6 +122,6 @@ pom.xml
    <repositories>
      <repository>
        <id>libvirt-org</id>
-       <url>https://libvirt.org/maven2</url>
+       <url>https://download.libvirt.org/maven2</url>
      </repository>
    </repositories>