grails 私有庫相關設置

針對grails的私有庫的設置,設置USER_HOME/settings.groovy以下:maven

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"
相關文章
相關標籤/搜索