[
https://issues.apache.org/jira/browse/WAGON-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376353#comment-17376353
]
Michael Osipov commented on WAGON-611:
--------------------------------------
You build suffers from two fundamental problems:
1. Starting with:
{noformat}
2021-07-06T16:16:47.4956157Z [INFO] ---------<
com.castlelake.mulesoft:castlelake-salesforce-sapi >---------
2021-07-06T16:16:47.4971752Z [INFO] Building castlelake-salesforce-sapi 1.0.0
2021-07-06T16:16:47.4992831Z [INFO] --------------------------[
mule-application ]--------------------------
{noformat}
I only see downloads without a repo id: {{2021-07-06T16:16:47.5592011Z [INFO]
Downloading from :
https://repository.mulesoft.org/releases/org/apache/maven/plugins/maven-resources-plugin/3.0.2/maven-resources-plugin-3.0.2.pom}}
and NO debug output. As is someone is using Resolver separately here. Try with
{-X} to find the reason and fix.
2. JitPack requires authentication:
{noformat}
$ curl -I
https://jitpack.io/com/github/scopt/scopt_2/12/scopt_sjs0.6_2.12/3.7.0/scopt_sjs0.6_2.12-3.7.0.pom
-qs
HTTP/2 401
date: Wed, 07 Jul 2021 07:09:51 GMT
content-type: text/plain; charset=utf-8
content-length: 35
cf-ray: 66af3fec4c58d447-HAM
cache-control: no-cache, no-store, must-revalidate, private
expires: 0
vary: Accept-Encoding
www-authenticate: Basic realm="JitPack"
{noformat}
and since you don't have a repo id you are out of luck.
> Cannot download Artifact
> com.github.everit-org.json-schema:org.everit.json.schema:jar:1.9.2
> -------------------------------------------------------------------------------------------
>
> Key: WAGON-611
> URL: https://issues.apache.org/jira/browse/WAGON-611
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 3.4.3
> Reporter: Meghana Chada
> Priority: Blocker
> Labels: AZURE
> Fix For: waiting-for-feedback
>
> Attachments: image-2021-06-24-15-36-47-636.png,
> image-2021-06-24-15-37-44-206.png, image-2021-06-30-11-16-13-970.png,
> logs_2415.zip, logs_2457.zip
>
>
> Hi,
> I am creating CI/CD pipelines in Azure Devops for the Mulesoft Applications,
> and I get this error for one of my API
> {color:#FF0000}_Failed to execute goal on project castlelake-salesforce-sapi:
> Could not resolve dependencies for project
> com.castlelake.mulesoft:castlelake-salesforce-sapi:mule-application:1.0.0:
> Could not transfer artifact
> com.github.everit-org.json-schema:org.everit.json.schema:jar:1.9.2 from/to
> central ([https://repo.maven.apache.org/maven2]): Connection timed out (Read
> failed) -> [Help 1]_{color}
> I am not sure why is it trying to download this particular dependency even if
> it is not mentioned in the POM file. The pipeline works fine with a
> self-hosted agent but fails to download with a Microsoft Hosted agent. (Note:
> Other pipelines that run on a Microsoft Hosted agent work well.)
> I see this error with one other pipeline too , which worked fine earlier a
> few days ago, and it now fails with this error even without any changes to
> the pipeline. I am not sure why is it trying to download that dependency or
> is the error misleading?
> Any help with this would be greatly appreciated as it is a complete blockage.
> Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)