http authentication between using ant/ivy retrieving dependency from nexus?

前端 未结 1 2042
执念已碎
执念已碎 2021-01-13 01:38

I have an issue when attempting to retrieve a dependency from a nexus repository when running ant with ivy. the dependency is never resolved, when running with verbose outp

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-13 01:47

    Are you getting a HTTP 401 error? That would indicate problems with the credentials being used to login to Nexus.

    Can be fixed by adding a credentials entry in your ivy settings file:

      
    

    The gotcha is you need to specify the correct Nexus security realm.

    0 讨论(0)
提交回复
热议问题