HHH-5880 Added username and password for authentication of deploys into remote repos

This commit is contained in:
Hardy Ferentschik 2011-01-28 17:51:52 -06:00 committed by JPAV
parent 9d3b6bbb1d
commit 318352519f
1 changed files with 6 additions and 2 deletions

View File

@ -237,8 +237,12 @@ subprojects { subProject ->
name = 'jbossDeployer'
configuration = configurations.deployerJars
pom.project pomConfig
repository(url: "https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/")
snapshotRepository(url: "https://repository.jboss.org/nexus/content/repositories/snapshots")
repository(url: "https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/") {
authentication(userName: repoUsername, password: repoPassword)
}
snapshotRepository(url: "https://repository.jboss.org/nexus/content/repositories/snapshots") {
authentication(userName: repoUsername, password: repoPassword)
}
}
}