The latest version of libvirt is not deploy to the maven central repository.

Source: Internet
Author: User
Tags maven central

Libvirt is a virtual API.

Org. libvirt: jar is its Java implementation.

Official Website: http://libvirt.org/

Search for the central repository. the maximum version is 0.4.7, but this is not the latest version (0.4.9 is found)

You can view the information on the official website at http://lib#.org/java.htmlpage:

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>

We can see from the above,

The maximum version of libvirt in the central repository is 0.4.7,

To use 0.4.8 or a later version, you need to configure the maven repository for libvirt: http://www.libvirt.org/maven2/.

I don't understand why 0.4.8 or later does not deploy to the central warehouse, but build a self-built warehouse.

Configure repository on nexus:

Log on to nexus as an administrator, create a new proxy repository, and place the repository in the public repositories repository group.

Cache org. libvirt: libvirt component:

1. Create a Maven project and add dependecy of libvirt to Pom. xml.

<dependency>  <groupId>org.libvirt</groupId>  <artifactId>libvirt</artifactId>  <version>0.4.9</version></dependency>

2. Execute MVN Test-UYou can cache the component locally (remember to add-U)

Plus-The utable indicates forced update.


The latest version of libvirt is not deploy to the maven central repository.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.