diff --git a/README.md b/README.md
index b316afb28..311364bcb 100644
--- a/README.md
+++ b/README.md
@@ -29,14 +29,14 @@ For examples on using the Spring Data Key Value, see the dedicated project, also
spring-maven-snapshot
true
Springframework Maven SNAPSHOT Repository
- http://maven.springframework.org/snapshot
+ http://repo.springsource.org/libs-release
spring-maven-milestone
Springframework Maven Milestone Repository
- http://maven.springframework.org/milestone
+ http://repo.springsource.org/libs-milestone
~~~~~
@@ -44,8 +44,8 @@ For examples on using the Spring Data Key Value, see the dedicated project, also
~~~~~ groovy
repositories {
- mavenRepo name: "spring-snapshot", urls: "http://maven.springframework.org/snapshot"
- mavenRepo name: "spring-milestone", urls: "http://maven.springframework.org/milestone"
+ maven { url "http://repo.springsource.org/libs-milestone" }
+ maven { url "http://repo.springsource.org/libs-snapshot" }
}
// used for nightly builds
@@ -54,8 +54,8 @@ dependencies {
}
~~~~~
-Latest GA release is _1.0.0.RELEASE_
-Latest nightly is _1.0.1.BUILD-SNAPSHOT_
+Latest GA release is _1.0.1.RELEASE_
+Latest nightly is _1.0.2.BUILD-SNAPSHOT_
# Usage (for the impatient)
diff --git a/build.gradle b/build.gradle
index e03f0ea64..88f7eb066 100644
--- a/build.gradle
+++ b/build.gradle
@@ -150,22 +150,18 @@ task schemaZip(type: Zip) {
it.path.endsWith('META-INF' + File.separator + 'spring.schemas')
}?.withInputStream { schemas.load(it) }
- ext.paths = [] as Set
-
for (def key : schemas.keySet()) {
def shortName = key.replaceAll(/http.*schema.(.*).spring-.*/, '$1')
+ def alias = key.replaceAll(/http.*schema.(.*).(spring-.*)/, '$2')
assert shortName != key
File xsdFile = sourceSets.main.resources.find {
it.path.replace('\\', '/').endsWith(schemas.get(key))
}
assert xsdFile != null
- def input = xsdFile.path
-
- if (!paths.contains(input)) {
- paths.add(input)
- into (shortName) {
- from input
- }
+
+ into (shortName) {
+ from xsdFile.path
+ rename { String fileName -> alias }
}
}
}