<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">
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>
<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">
<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 -->
<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>