Authrenticate To Artifactory Grails 2.1.1

[Solved] Authrenticate To Artifactory Grails 2.1.1 | Ruby - Code Explorer | yomemimo.com
Question : authrenticate to artifactory grails 2.1.1

Answered by : uptight-unicorn-hwulch11xvfj

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 dependency exclusions here; for example, uncomment this to disable ehcache: // excludes 'ehcache' } log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' checksums true // Whether to verify checksums on resolve legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility repositories { inherits true // Whether to inherit repository definitions from plugins
// mavenLocal() mavenRepo id: 'Artifactory', url: "http://SERVER:8081/artifactory/remote-repos" }

Source : https://stackoverflow.com/questions/23669806/what-is-the-correct-way-to-configure-grails-maven-authentication-to-artifactory | Last Update : Mon, 03 Aug 20

Answers related to authrenticate to artifactory grails 2.1.1

Code Explorer Popular Question For Ruby