diff --git a/build.gradle b/build.gradle index f207dacdf5..1999efe14f 100644 --- a/build.gradle +++ b/build.gradle @@ -236,12 +236,8 @@ subprojects { subProject -> name = 'jbossDeployer' configuration = configurations.deployerJars pom.project pomConfig - 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) - } + repository(url: "https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/") + snapshotRepository(url: "https://repository.jboss.org/nexus/content/repositories/snapshots") } }