diff options
author | Artur Signell <artur@vaadin.com> | 2012-09-12 16:59:27 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-09-12 16:59:27 +0300 |
commit | d2e75eb1d596a6506110c3122aa5ef5c2d68a8d4 (patch) | |
tree | 4ec5017125bfe8b479204819fb229448dc5a3591 /client/build.xml | |
parent | 4d17eced19fd3705532e501e9d92c5ffe87f69b6 (diff) | |
download | vaadin-framework-d2e75eb1d596a6506110c3122aa5ef5c2d68a8d4.tar.gz vaadin-framework-d2e75eb1d596a6506110c3122aa5ef5c2d68a8d4.zip |
Moved validation dependency and hack to client (#9551)
Diffstat (limited to 'client/build.xml')
-rw-r--r-- | client/build.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/build.xml b/client/build.xml index f0ee0892f9..462a98ed5d 100644 --- a/client/build.xml +++ b/client/build.xml @@ -25,6 +25,21 @@ <antcall target="common.jar"> <reference refid="client.gwt.includes" torefid="extra.jar.includes" /> </antcall> + <!-- Hack to add validation dependency with source classifier --> + <property name="pom.xml" location="${result.dir}/lib/${module.name}-${vaadin.version}.pom" /> + <copy file="${pom.xml}" tofile="${temp.pom}"> + <filterchain> + <replacestring from=" </dependencies>" to=" <dependency> + <groupId>javax.validation</groupId> + <artifactId>validation-api</artifactId> + <version>1.0.0.GA</version> + <scope>compile</scope> + <classifier>sources</classifier> + </dependency> +cies>" /> + </filterchain> + </copy> + <move file="${temp.pom}" tofile="${pom.xml}" /> </target> <target name="publish-local" depends="jar"> |