diff options
| author | Stephen Vinoski <vinoski@apache.org> | 2006-11-19 04:14:42 +0000 |
|---|---|---|
| committer | Stephen Vinoski <vinoski@apache.org> | 2006-11-19 04:14:42 +0000 |
| commit | 26f3bd59751462922e4c3268392a526a60ef7b2f (patch) | |
| tree | 33d4dcf6804551948e3c78233494e29fbba95c4e /java/client/pom.xml | |
| parent | be9f473e274d6cfe4cf8d8b04dd3f5a171ba9de4 (diff) | |
| download | qpid-python-26f3bd59751462922e4c3268392a526a60ef7b2f.tar.gz | |
convert tests to junit3
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476701 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/pom.xml')
| -rw-r--r-- | java/client/pom.xml | 51 |
1 files changed, 13 insertions, 38 deletions
diff --git a/java/client/pom.xml b/java/client/pom.xml index 71e8fb59e9..6965a72759 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -105,46 +105,21 @@ <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>ant-test</id> - <phase>test</phase> - <configuration> - <tasks unless="${maven.test.skip}"> - <taskdef name="junit" - classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"> - <classpath> - <path refid="maven.test.classpath"/> - </classpath> - </taskdef> - <mkdir dir="${project.build.directory}/test-classes"/> - <junit fork="yes" printsummary="yes" showoutput="true" haltonfailure="yes"> - <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/> - <formatter type="plain"/> - <classpath> - <path refid="maven.test.classpath"/> - </classpath> - <batchtest fork="yes" todir="${project.build.directory}"> - <fileset dir="src/test/java"> - <include name="**/test/unit/**/*Test.java"/> - <exclude name="**/test/unit/**/*UnitTests.java"/> - </fileset> - </batchtest> - </junit> - </tasks> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <skip>true</skip> + <systemProperties> + <property> + <name>amqj.noAutoCreateVMBroker</name> + <value>true</value> + </property> + </systemProperties> + <includes> + <include>**/test/unit/**/*Test.java</include> + </includes> + <excludes> + <exclude>**/JNDIReferenceableTest.java</exclude> + <exclude>**/TransactedTest.java</exclude> + </excludes> </configuration> </plugin> </plugins> |
