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
parent 9f992cd6d0
commit 595f919e4c
1 changed files with 6 additions and 2 deletions

View File

@ -203,8 +203,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)
}
}
}