summaryrefslogtreecommitdiffstats
path: root/java/sca/otest/current/General
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 21:51:36 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 21:51:36 +0000
commitc10eb19f425060aa0ef75d82fa768e6388f1dbd8 (patch)
treea7d4e3d48d7d018611e58d556db398205934f6f9 /java/sca/otest/current/General
parent12ea2c2ece883a256d8d7226a986b9bfc9df8db9 (diff)
Update pom.xml
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--java/sca/otest/current/General/pom.xml8
-rw-r--r--java/sca/otest/current/General_Java/pom.xml55
2 files changed, 54 insertions, 9 deletions
diff --git a/java/sca/otest/current/General/pom.xml b/java/sca/otest/current/General/pom.xml
index b3ac1ff1b9..4f462c3f12 100644
--- a/java/sca/otest/current/General/pom.xml
+++ b/java/sca/otest/current/General/pom.xml
@@ -53,9 +53,13 @@
<configuration>
<tasks>
<property name="from.dir" value="../src/main/resources/General"/>
- <property name="to.dir" value="src/main/resources"/>
<ant antfile="../build.xml">
- <target name="copyDir"/>
+ <property name="to.dir" value="src/main/resources"/>
+ <target name="copyResourceDir"/>
+ </ant>
+ <ant antfile="../build.xml">
+ <property name="to.dir" value="src/main/java"/>
+ <target name="copySourceDir"/>
</ant>
</tasks>
</configuration>
diff --git a/java/sca/otest/current/General_Java/pom.xml b/java/sca/otest/current/General_Java/pom.xml
index 2c5743514f..95481927a2 100644
--- a/java/sca/otest/current/General_Java/pom.xml
+++ b/java/sca/otest/current/General_Java/pom.xml
@@ -25,14 +25,55 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-otests-asm-General_Java</artifactId>
- <name>Apache Tuscany SCA Specification Tests ASM General_Java</name>
+ <name>Apache Tuscany SCA Specification Tests General_Java</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-otests-asm-General</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
<build>
- <finalName>${artifactId}</finalName>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- </resource>
- </resources>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-trax</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ </dependencies>
+
+ <executions>
+ <execution>
+ <id>copy-files-from-svn</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <property name="from.dir" value="../src/main/resources/General_Java"/>
+ <ant antfile="../build.xml">
+ <property name="to.dir" value="src/main/resources"/>
+ <target name="copyResourceDir"/>
+ </ant>
+ <ant antfile="../build.xml">
+ <property name="to.dir" value="src/main/java"/>
+ <target name="copySourceDir"/>
+ </ant>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</project>