summaryrefslogtreecommitdiff
path: root/qpid/java/broker/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/broker/pom.xml')
-rw-r--r--qpid/java/broker/pom.xml68
1 files changed, 66 insertions, 2 deletions
diff --git a/qpid/java/broker/pom.xml b/qpid/java/broker/pom.xml
index 2cf8a563f0..85ec5da3bf 100644
--- a/qpid/java/broker/pom.xml
+++ b/qpid/java/broker/pom.xml
@@ -15,7 +15,7 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
- -->
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -44,6 +44,11 @@
</dependency>
<dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
@@ -58,7 +63,14 @@
<artifactId>commons-lang</artifactId>
</dependency>
- <!-- Test Dependencies -->
+ <!-- Test Dependencies -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.4.0</version>
+ <scope>test</scope>
+ </dependency>
+
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -120,6 +132,7 @@
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
@@ -145,6 +158,57 @@
</testResource>
</testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${antrun.version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ </dependencies>
+
+ <executions>
+ <execution>
+ <id>python_test</id>
+ <phase>test</phase>
+ <configuration>
+ <tasks>
+
+ <condition property="broker.dir"
+ value="${user.dir}${file.separator}..${file.separator}broker"
+ else="${user.dir}">
+ <equals arg1="${topDirectoryLocation}" arg2="." />
+ </condition>
+
+ <condition property="skip-python-tests" value="true">
+ <isset property="skip.python.tests"/>
+ </condition>
+
+ <property name="command"
+ value="python run-tests -v -I java_failing.txt"/>
+ <!--value="bash -c 'python run-tests -v -I java_failing.txt'"/>-->
+
+ <ant antfile="python-test.xml" inheritRefs="true">
+ <target name="run-tests" />
+ </ant>
+
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
+
</build>
</project>