HHH-5880 Added username and password for authentication of deploys into remote repos
This commit is contained in:
parent
9f992cd6d0
commit
595f919e4c
|
@ -203,8 +203,12 @@ subprojects { subProject ->
|
||||||
name = 'jbossDeployer'
|
name = 'jbossDeployer'
|
||||||
configuration = configurations.deployerJars
|
configuration = configurations.deployerJars
|
||||||
pom.project pomConfig
|
pom.project pomConfig
|
||||||
repository(url: "https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/")
|
repository(url: "https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/") {
|
||||||
snapshotRepository(url: "https://repository.jboss.org/nexus/content/repositories/snapshots")
|
authentication(userName: repoUsername, password: repoPassword)
|
||||||
|
}
|
||||||
|
snapshotRepository(url: "https://repository.jboss.org/nexus/content/repositories/snapshots") {
|
||||||
|
authentication(userName: repoUsername, password: repoPassword)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue