针对grails的私有库的设置,设置USER_HOME/settings.groovy如下:
grails.dependency.cache.dir = "c:/m2_repositories"
grails.project.mavenCache = "c:/m2_repositories" grails.project.dependency.authentication = {
credentials {
id = "nexus"
username = "USERNAME"
password = "PASSWORD"
}
} grails.project.repos.ssRepo.username = "deployment"
grails.project.repos.ssRepo.password = "password"