What is the correct way to configure grails maven authentication to Artifactory?
问题 What is the correct way to configure authentication to Artifactory using the Maven resolver? Currently I'm using: grails.project.ivy.authentication = { repositories { mavenRepo "http://SERVER:8081/artifactory/remote-repos" } credentials { realm = "Artifactory Realm" host = "SERVER" username = "USER" password = "PASSWORD" } } grails.project.dependency.resolver = "maven" // or ivy grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits("global") { // specify