[
https://issues.apache.org/jira/browse/MRESOLVER-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694534#comment-17694534
]
ASF GitHub Bot commented on MRESOLVER-333:
------------------------------------------
cstamas commented on PR #261:
URL: https://github.com/apache/maven-resolver/pull/261#issuecomment-1448158259
Emitted NEW messages (Elliotte would really appreciate if we halve the logs
:smile: ):
During resolution of project or any dependency:
```
[INFO] Artifact com.atlassian.audit:atlassian-audit-api:pom:1.14.2 is
locally present, but unavailable, verifying availability of
/home/cstamas/tmp/a-very-bad-project/local/com/atlassian/audit/atlassian-audit-api/1.14.2/atlassian-audit-api-1.14.2.pom
from [groovy-plugins-release
(https://groovy.jfrog.io/artifactory/plugins-release, default, releases),
central (https://repo.maven.apache.org/maven2, default, releases)]
```
And the new error at the failed build:
```
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.288 s
[INFO] Finished at: 2023-02-28T14:08:15+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project project: Could not resolve
dependencies for project org.cstamas.remotefilter:project:jar:1.0-SNAPSHOT: The
following artifacts could not be resolved:
com.atlassian.audit:atlassian-audit-api:jar:1.14.2 (present, but unavailable):
com.atlassian.audit:atlassian-audit-api:jar:1.14.2 was not found in
https://groovy.jfrog.io/artifactory/plugins-release during a previous attempt.
This failure was cached in the local repository and resolution is not
reattempted until the update interval of groovy-plugins-release has elapsed or
updates are forced -> [Help 1]
```
> Distinguish better resolver errors for artifact availability
> ------------------------------------------------------------
>
> Key: MRESOLVER-333
> URL: https://issues.apache.org/jira/browse/MRESOLVER-333
> Project: Maven Resolver
> Issue Type: Task
> Components: Resolver
> Reporter: Tamas Cservenak
> Priority: Major
> Fix For: 1.9.6
>
>
> Improve resolver emitted errors to detail more about the state (the error)
> how resolver came up with it. Example issues:
> * MNG-5185
> * MNG-7001
> The "artifact availability check" is widely misunderstood.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)