summaryrefslogtreecommitdiff
path: root/java/broker/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'java/broker/pom.xml')
-rw-r--r--java/broker/pom.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/java/broker/pom.xml b/java/broker/pom.xml
index 2cf8a563f0..dbdb9daba6 100644
--- a/java/broker/pom.xml
+++ b/java/broker/pom.xml
@@ -120,6 +120,7 @@
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
@@ -145,6 +146,52 @@
</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>
+
+ <property name="command"
+ 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>