My project uses dependency published in company's private Artifactory repository. Here is build.gradle:
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
maven {
url 'https://myhostname.com/artifactory/someproject-shared'
credentials {
username = 'mylogin'
password = 'mypassword'
}
}
}
Gradle builds it well from console. But Intellij Idea has the issue. When trying to refresh the project it says: Unindexed remote maven repositories found.
. And there it does not manage to update the repo: Authorization exception retrieving nexus-maven-repository-index.properties
. How to fix this issue? Thanks
答案 0 :(得分:0)
我接受了Idea跳过存储库更新的提议,并且gradle构建了该项目。