diff options
| author | Robert Gemmell <robbie@apache.org> | 2014-03-07 12:13:16 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2014-03-07 12:13:16 +0000 |
| commit | fda07b599eda172c7979ba217390fabc66ab2b21 (patch) | |
| tree | ebab51b0bb3d33ade20a9b4509e672f4b2a86101 | |
| parent | f1c119f95677d802bf6c2ea47ec3705d6ba482ef (diff) | |
| download | qpid-python-fda07b599eda172c7979ba217390fabc66ab2b21.tar.gz | |
QPID-5048: get the tests running again for the perftests module
Patch submitted by Andrew MacBean <andymacbean@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1575242 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | java/bdbstore/systests/pom.xml | 4 | ||||
| -rw-r--r-- | java/perftests/pom.xml | 29 | ||||
| -rw-r--r-- | java/qpid-systests-parent/pom.xml | 5 | ||||
| -rw-r--r-- | java/systests/pom.xml | 4 |
4 files changed, 39 insertions, 3 deletions
diff --git a/java/bdbstore/systests/pom.xml b/java/bdbstore/systests/pom.xml index e8620d3426..7d4913ebcd 100644 --- a/java/bdbstore/systests/pom.xml +++ b/java/bdbstore/systests/pom.xml @@ -67,4 +67,8 @@ </dependency> </dependencies> + <build> + <testSourceDirectory>src/main/java</testSourceDirectory> + </build> + </project> diff --git a/java/perftests/pom.xml b/java/perftests/pom.xml index 1751f3f48a..9fc1c95848 100644 --- a/java/perftests/pom.xml +++ b/java/perftests/pom.xml @@ -29,6 +29,10 @@ <name>Qpid Performance Tests</name> <description>Performance testing configuration, code and tests</description> + <properties> + <test.systest.resource.directory>${basedir}/../systests</test.systest.resource.directory> + </properties> + <dependencies> <!-- client deps --> <dependency> @@ -86,4 +90,29 @@ </dependency> </dependencies> + <build> + <testResources> + <testResource> + <directory>src/test/java</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </testResource> + <testResource> + <directory>src/test/resources</directory> + </testResource> + </testResources> + + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <!--version specified in parent pluginManagement --> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + + </build> </project> diff --git a/java/qpid-systests-parent/pom.xml b/java/qpid-systests-parent/pom.xml index 7024bf6426..f550aff884 100644 --- a/java/qpid-systests-parent/pom.xml +++ b/java/qpid-systests-parent/pom.xml @@ -38,6 +38,7 @@ <test.log4j.configuration.file>${project.basedir}${file.separator}..${file.separator}test-profiles${file.separator}log4j-test.xml</test.log4j.configuration.file> <test.working.directory>${basedir}/..</test.working.directory> <test.resource.directory>${basedir}/..</test.resource.directory> + <test.systest.resource.directory>${basedir}</test.systest.resource.directory> </properties> <dependencies> @@ -81,8 +82,6 @@ </resource> </resources> - <testSourceDirectory>src/main/java</testSourceDirectory> - <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -128,7 +127,7 @@ <outputDirectory>${qpid.home}</outputDirectory> <resources> <resource> - <directory>${basedir}</directory> + <directory>${test.systest.resource.directory}</directory> <includes> <include>etc/</include> </includes> diff --git a/java/systests/pom.xml b/java/systests/pom.xml index 319a3da5b2..070e9f9ace 100644 --- a/java/systests/pom.xml +++ b/java/systests/pom.xml @@ -185,4 +185,8 @@ </dependencies> + <build> + <testSourceDirectory>src/main/java</testSourceDirectory> + </build> + </project> |
