| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| 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> | |
| <groupId>org.apache.qpid</groupId> | |
| <artifactId>qpid-broker</artifactId> | |
| <packaging>jar</packaging> | |
| <version>1.0-incubating-M2-SNAPSHOT</version> | |
| <name>Qpid Broker</name> | |
| <url>http://cwiki.apache.org/confluence/display/qpid</url> | |
| <parent> | |
| <groupId>org.apache.qpid</groupId> | |
| <artifactId>qpid</artifactId> | |
| <version>1.0-incubating-M2-SNAPSHOT</version> | |
| <relativePath>../pom.xml</relativePath> | |
| </parent> | |
| <properties> | |
| <topDirectoryLocation>..</topDirectoryLocation> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.qpid</groupId> | |
| <artifactId>qpid-common</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>log4j</groupId> | |
| <artifactId>log4j</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <version>1.4.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-log4j12</artifactId> | |
| <version>1.4.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-cli</groupId> | |
| <artifactId>commons-cli</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-configuration</groupId> | |
| <artifactId>commons-configuration</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-lang</groupId> | |
| <artifactId>commons-lang</artifactId> | |
| </dependency> | |
| <!-- Test Dependencies --> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.easymock</groupId> | |
| <artifactId>easymockclassextension</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <!--plugin> | |
| <artifactId>minijar-maven-plugin</artifactId> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>minijars</goal> | |
| </goals> | |
| <configuration> | |
| <stripUnusedClasses>true</stripUnusedClasses> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin--> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-antrun-plugin</artifactId> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>javacc-maven-plugin</artifactId> | |
| <version>2.0</version> | |
| <executions> | |
| <execution> | |
| <phase>generate-sources</phase> | |
| <configuration> | |
| <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory> | |
| <outputDirectory>${basedir}/target/generated-sources</outputDirectory> | |
| <packageName>org.apache.qpid.server.filter.jms.selector</packageName> | |
| </configuration> | |
| <goals> | |
| <goal>javacc</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <systemProperties> | |
| <property> | |
| <name>amqj.noAutoCreateVMBroker</name> | |
| <value>true</value> | |
| </property> | |
| <property> | |
| <name>amqj.logging.level</name> | |
| <value>${amqj.logging.level}</value> | |
| </property> | |
| <property> | |
| <name>log4j.configuration</name> | |
| <value>file:///${basedir}/src/main/java/log4j.properties</value> | |
| </property> | |
| </systemProperties> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>test-jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| <testResources> | |
| <testResource> | |
| <targetPath>src/</targetPath> | |
| <filtering>false</filtering> | |
| <directory>src/test/java</directory> | |
| <includes> | |
| <include>**/*.java</include> | |
| </includes> | |
| </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" | |
| else="${user.dir}${file.separator}broker" | |
| value="${user.dir}"> | |
| <contains string="${user.dir}" substring="broker" /> | |
| </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> |