Hi,

The issue is due to the certificate of download.libvirt.org (libvirt.org is
ok).

you can install libvirt-java manually before compiling

# fix libvirt.org certificate issue
wget --no-check-certificate
https://libvirt.org/maven2/org/libvirt/libvirt/0.5.3/libvirt-0.5.3.jar -O
libvirt-0.5.3.jar
mvn install:install-file -Dfile=libvirt-0.5.3.jar -DgroupId=org.libvirt
-DartifactId=libvirt -Dversion=0.5.3 -Dpackaging=jar
rm -rf libvirt-0.5.3.jar


Kind regards,
Wei






On Fri, Oct 17, 2025 at 7:10 AM Rajiv Jain <
[email protected]> wrote:

> Hello Fellows,
>
> We are started seeing below issues while taking care of checks during merge
> to forked branch. Seems this is coming from some repo-mirror issue, we
> needed to fix this with the mirror being used for the checks and
> compilation.
>
>
> *Failed to execute goal on project cloud-plugin-hypervisor-kvm: Could not
> collect dependencies for project
> org.apache.cloudstack:cloud-plugin-hypervisor-kvm:jar:4.22.0.0-SNAPSHOT*
>
> *Error: Failed to read artifact descriptor for
> org.libvirt:libvirt:jar:0.5.3*
>
> *Error: Caused by: The following artifacts could not be resolved:
> org.libvirt:libvirt:pom:0.5.3 (absent): Could not transfer artifact
> org.libvirt:libvirt:pom:0.5.3 from/to libvirt.org.maven2
> (https://libvirt.org/maven2/ <https://libvirt.org/maven2/>): PKIX path
> validation failed: java.security.cert.CertPathValidatorException: validity
> check failed*
>
> *Error: -> [Help 1]*
>
>
> Thanks
>
> Rajiv
>

Reply via email to