summaryrefslogtreecommitdiffstats
path: root/client/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'client/build.xml')
-rw-r--r--client/build.xml15
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=" &lt;/dependencies&gt;" to=" &lt;dependency&gt;
+ &lt;groupId&gt;javax.validation&lt;/groupId&gt;
+ &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
+ &lt;version&gt;1.0.0.GA&lt;/version&gt;
+ &lt;scope&gt;compile&lt;/scope&gt;
+ &lt;classifier&gt;sources&lt;/classifier&gt;
+ &lt;/dependency&gt;
+cies&gt;" />
+ </filterchain>
+ </copy>
+ <move file="${temp.pom}" tofile="${pom.xml}" />
</target>
<target name="publish-local" depends="jar">