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 | |
parent | 4d17eced19fd3705532e501e9d92c5ffe87f69b6 (diff) | |
download | vaadin-framework-d2e75eb1d596a6506110c3122aa5ef5c2d68a8d4.tar.gz vaadin-framework-d2e75eb1d596a6506110c3122aa5ef5c2d68a8d4.zip |
Moved validation dependency and hack to client (#9551)
-rw-r--r-- | client-compiler/build.xml | 15 | ||||
-rw-r--r-- | client-compiler/ivy.xml | 3 | ||||
-rw-r--r-- | client/build.xml | 15 | ||||
-rw-r--r-- | client/ivy.xml | 15 |
4 files changed, 25 insertions, 23 deletions
diff --git a/client-compiler/build.xml b/client-compiler/build.xml index cff8057274..733ee73e32 100644 --- a/client-compiler/build.xml +++ b/client-compiler/build.xml @@ -38,21 +38,6 @@ gwt.svnrev=${git.revision}</echo> <reference refid="compiler.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> - </dependencies>" /> - </filterchain> - </copy> - <move file="${temp.pom}" tofile="${pom.xml}" /> </target> <target name="publish-local" depends="jar"> diff --git a/client-compiler/ivy.xml b/client-compiler/ivy.xml index d57c3f700c..777236ee53 100644 --- a/client-compiler/ivy.xml +++ b/client-compiler/ivy.xml @@ -29,9 +29,6 @@ rev="3.1" conf="build,ide -> default" /> <dependency org="ant" name="ant" rev="1.6.5" conf="build,ide -> default" /> - <dependency org="javax.validation" name="validation-api" - rev="1.0.0.GA" conf="build->default,sources" /> - </dependencies> </ivy-module> 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"> diff --git a/client/ivy.xml b/client/ivy.xml index 39ed494d86..4b56338c24 100644 --- a/client/ivy.xml +++ b/client/ivy.xml @@ -10,14 +10,14 @@ <configurations> <conf name="build" /> <conf name="build-provided" /> - <conf name="ide" visibility="private"/> + <conf name="ide" visibility="private" /> <conf name="tests" /> </configurations> <publications> - <artifact type="jar" ext="jar"/> -<artifact type="source" ext="jar" m:classifier="sources" /> -<artifact type="javadoc" ext="jar" m:classifier="javadoc" /> - <artifact type="pom" ext="pom"/> + <artifact type="jar" ext="jar" /> + <artifact type="source" ext="jar" m:classifier="sources" /> + <artifact type="javadoc" ext="jar" m:classifier="javadoc" /> + <artifact type="pom" ext="pom" /> </publications> <dependencies defaultconf="build" defaultconfmapping="build,ide->default"> <!-- API DEPENDENCIES --> @@ -34,6 +34,11 @@ <dependency org="junit" name="junit" rev="4.5" conf="tests->default" /> + + <dependency org="javax.validation" name="validation-api" + rev="1.0.0.GA" conf="build->default,sources" /> + + </dependencies> </ivy-module> |