summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-15 03:59:57 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-15 03:59:57 +0000
commit305ce8eea6f2ddd0e9d9a0aeab3bd1854ffc2f96 (patch)
tree0ad90481620ff026cb274657b6c48ca80e3ba4dd
parentf1d94852e62234cd1a74249753119b285d6197b6 (diff)
Properly install dojo in local maven repo if not already installed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825385 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/modules/web-javascript-dojo/pom.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/web-javascript-dojo/pom.xml b/branches/sca-java-1.x/modules/web-javascript-dojo/pom.xml
index 3abaab8636..5ccfe4a992 100644
--- a/branches/sca-java-1.x/modules/web-javascript-dojo/pom.xml
+++ b/branches/sca-java-1.x/modules/web-javascript-dojo/pom.xml
@@ -81,6 +81,20 @@
</dependency>
</dependencies>
<executions>
+ <execution>
+ <id>install-dojo</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <ant antfile="./build-dojo.xml" target="install-dojo">
+ <property name="localRepository" value="${settings.localRepository}"/>
+ </ant>
+ </tasks>
+ </configuration>
+ </execution>
<execution>
<id>copy-dojo-files</id>
<phase>generate-resources</phase>