You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mitchell Skaggs (Jira)" <ji...@apache.org> on 2021/04/11 19:23:00 UTC

[jira] [Created] (MDEP-743) go-offline doesn't resolve dependencies from non-central repos

Mitchell Skaggs created MDEP-743:
------------------------------------

             Summary: go-offline doesn't resolve dependencies from non-central repos
                 Key: MDEP-743
                 URL: https://issues.apache.org/jira/browse/MDEP-743
             Project: Maven Dependency Plugin
          Issue Type: Bug
          Components: go-offline
    Affects Versions: 3.1.2
         Environment: Windows 10 Powershell; WSL 2 Debian
            Reporter: Mitchell Skaggs


To reproduce, create a Maven project with a dependency that is not in Maven Central. The one I used is located at [https://jitpack.io/#bhlangonijr/chesslib]. Add Jitpack as a repository like normal, and then run `go-offline`. The task fails because it can't resolve the artifact in Maven Central.

 

I did some debugging and found that the task doesn't have the Jitpack repository in the list to check, even though the artifact is resolved normally for compilation and running.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)