Regarding maven dependency build failure

21 views
Skip to first unread message

Ashok Reddy

unread,
Sep 20, 2023, 11:40:47 PM9/20/23
to maven-download-plugin
Hi All,

When we do jenkins build, We have been facing the following issue:

We have configured in our local jfrog repo but it did n't pick up.

Failed to execute goal on project inbranch-api: Could not resolve dependencies for project Failed to collect dependencies at org.apache.poi:poi-ooxml:jar:3.15 -> com.github.virtuald:curvesapi:jar:1.04: Failed to read artifact descriptor for com.github.virtuald:curvesapi:jar:1.04: Could not transfer artifact com.github.virtuald:curvesapi:pom:1.04 from/to ): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]

Can you please help me?

Ashok Reddy

unread,
Sep 22, 2023, 4:40:43 AM9/22/23
to maven-down...@googlegroups.com
Hi , 

Can someone help me?



--
You received this message because you are subscribed to the Google Groups "maven-download-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-download-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maven-download-plugin/a52e7509-9e98-4b8e-b314-a8f6b146500en%40googlegroups.com.

Ashok Reddy

unread,
Sep 25, 2023, 5:22:20 AM9/25/23
to maven-down...@googlegroups.com
Hi All, 

I have been facing this issue for the past few days. Can someone help me please?

Mickael Istria

unread,
Sep 25, 2023, 7:02:01 AM9/25/23
to maven-down...@googlegroups.com
Hi,

The error doesn't come directly from the download-maven-plugin, but it's "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target". Please make sure you're using a recent JVM first (with up-to-date certificates), and if this is not sufficient, looking for this particular message on the web will give you other clues.
HTH

Ashok Reddy

unread,
Sep 25, 2023, 7:56:41 AM9/25/23
to maven-down...@googlegroups.com
Hi Mickael, 

Thanks for your inputs. 
We are using jvm1.8 version . If it is related to certs issue, every dependency build failure happens but that didn’t happen. A few of them are already successful. 

I have tried all following possibilities but can’t make it work. 

1). Remove the .last_updated files, .remote_repositories files

2). Remove the .m2 directory if it is corrupted. 

3). To configure the missing dependencies in jfrog repository.

--
You received this message because you are subscribed to the Google Groups "maven-download-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-download-p...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages