Browse files

updated references to snapshot repo to sonatype OSS repo

  • Loading branch information...
1 parent 01fdd2a commit 379f7b7a8e3ff9c2ed3e46eb933eee9caa027456 @pniederw pniederw committed Apr 16, 2012
View
2 build.gradle
@@ -20,7 +20,7 @@ allprojects { project ->
repositories {
maven { url "http://repo.grails.org/grails/core" }
if (isSnapshot) {
- maven { url "http://m2repo.spockframework.org/snapshots" }
+ maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
} else if (isStagingBuild) {
maven { url "«staging repo here»" }
} else {
View
6 spock-grails-support/spock-grails-support.gradle
@@ -17,7 +17,11 @@ task install(type: Upload) {
uploadArchives {
mavenDeployer = repositories.mavenDeployer {
if (isSnapshot) {
- snapshotRepository(url: "file:///var/www/m2repo/snapshots")
+ snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
+ if (project.hasProperty("sonatypeOssUsername")) {
+ authentication(userName: sonatypeOssUsername, password: sonatypeOssPassword)
+ }
+ }
} else {
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') {
if (project.hasProperty("sonatypeOssUsername")) {
View
2 spock-grails/plugin/grails-app/conf/BuildConfig.groovy.in
@@ -33,7 +33,7 @@ grails.project.dependency.resolution = {
mavenLocal()
}
if (isSnapshot) {
- mavenRepo "http://m2repo.spockframework.org/snapshots"
+ mavenRepo "http://oss.sonatype.org/content/repositories/snapshots/"
}
}

0 comments on commit 379f7b7

Please sign in to comment.