summaryrefslogtreecommitdiffstats
path: root/otest
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-09-16 14:44:26 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-09-16 14:44:26 +0000
commit4baf80bebd5df0ed7e6753059b75ff0286f2fbec (patch)
treef6439682e28cacb1ab8ee236e45e530b1e07c636 /otest
parent110b858c7907b1dacf4a3c6f52dcfa56d2a92348 (diff)
Fix up existing pom to generate jar to be used by trunk compliance. Removes to need for separate project
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@997768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'otest')
-rw-r--r--otest/newlayout/tuscany-test-runner/pom.xml77
1 files changed, 74 insertions, 3 deletions
diff --git a/otest/newlayout/tuscany-test-runner/pom.xml b/otest/newlayout/tuscany-test-runner/pom.xml
index a5b49b6ce7..5bbae04bc2 100644
--- a/otest/newlayout/tuscany-test-runner/pom.xml
+++ b/otest/newlayout/tuscany-test-runner/pom.xml
@@ -26,7 +26,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-otests-asm-tests</artifactId>
- <name>Apache Tuscany SCA Specification Tests</name>
+ <name>Apache Tuscany SCA Specification Assembly Tests</name>
<dependencies>
<dependency>
@@ -103,11 +103,55 @@
</dependencies>
-
-
<build>
<finalName>${artifactId}</finalName>
<plugins>
+<!-- for when OASIS deploy the artifacts themselves we need to pull the
+ contributions in locally so that the tests can refer to then and
+ we need to get at the Test_Client so that we can run the tests themselves
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.oasis-open.sca.assembly</groupId>
+ <artifactId>ASM_4002</artifactId>
+ <type>zip</type>
+ <version>1.0</version>
+ </artifactItem>
+ </artifactItems>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.oasis-open.sca.assembly</groupId>
+ <artifactId>Test_Client</artifactId>
+ <version>1.0</version>
+ <type>jar</type>
+ <outputDirectory>${project.build.directory}/dependency/Test_client</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
@@ -163,8 +207,35 @@
</sources>
</configuration>
</execution>
+ <execution>
+ <id>add-test-resource</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-test-resource</goal>
+ </goals>
+ <configuration>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <classesDirectory>${project.build.directory}/test-classes</classesDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
</project>