Avoid duplicate entries

Prior to this commit, the schema distribution archive contains
duplicate entries for the more recent XSD as it is reference both with
its version and as the "default" XSD (i.e. without a version).

This commit configures the task to apply a duplicatesStrategy so that
only the first entry remains.

Issue: SPR-12011
This commit is contained in:
Stephane Nicoll
2014-08-04 14:21:00 +02:00
parent 3da68cfe21
commit 32975be2a2

View File

@@ -1171,7 +1171,7 @@ configure(rootProject) {
classifier = "schema"
description = "Builds -${classifier} archive containing all " +
"XSDs for deployment at http://springframework.org/schema."
duplicatesStrategy 'exclude'
subprojects.each { subproject ->
def Properties schemas = new Properties();