针对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"
时间: 2024-10-06 04:24:14