diff options
Diffstat (limited to '')
-rw-r--r-- | otest/newlayout/tuscany-test-runner/pom.xml | 77 |
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> |