| <!-- |
| 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-client</artifactId> |
| <packaging>jar</packaging> |
| <version>1.0-incubating-M2-SNAPSHOT</version> |
| <name>Qpid Client</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> |
| </parent> |
| |
| <properties> |
| <topDirectoryLocation>..</topDirectoryLocation> |
| <java.source.version>1.5</java.source.version> |
| <qpid.version>${pom.version}</qpid.version> |
| <qpid.targetDir>${project.build.directory}</qpid.targetDir> |
| |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>qpid-common</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-filter-ssl</artifactId> |
| </dependency> |
| |
| <!-- Test Dependencies --> |
| <dependency> <!-- for inVm Broker --> |
| <groupId>org.apache.qpid</groupId> |
| <artifactId>qpid-broker</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>jmscts</groupId> |
| <artifactId>jmscts</artifactId> |
| <version>0.5-b2</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymockclassextension</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- These need to be included at compile time only, for the retrotranslator verification to find them. --> |
| <dependency> |
| <groupId>net.sf.retrotranslator</groupId> |
| <artifactId>retrotranslator-runtime</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>amqj.logging.level</name> |
| <value>${amqj.logging.level}</value> |
| </property> |
| <property> |
| <name>log4j.configuration</name> |
| <value>${log4j.configuration}</value> |
| </property> |
| <property> |
| <name>amqj.noAutoCreateVMBroker</name> |
| <value>true</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> |
| |
| <!-- Backports the module to Java 1.4. This is done during the packaging phase as a transformation of the Jar. --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>retrotranslator-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>retro-client</id> |
| <phase>package</phase> |
| <goals> |
| <goal>translate</goal> |
| </goals> |
| <configuration> |
| <!--<destdir>${project.build.directory}/retro-classes</destdir>--> |
| <destjar>${project.build.directory}/${project.build.finalName}-java14.jar</destjar> |
| <verify>${retrotranslator.verify}</verify> |
| <verifyClasspath> |
| <element>${retrotranslator.1.4-rt-path}</element> |
| <element>${retrotranslator.1.4-jce-path}</element> |
| <element>${retrotranslator.1.4-jsse-path}</element> |
| <element>${retrotranslator.1.4-sasl-path}</element> |
| </verifyClasspath> |
| <failonwarning>false</failonwarning> |
| <includes> |
| <include> |
| <directory>${project.build.directory}</directory> |
| <pattern>${project.build.finalName}.jar</pattern> |
| </include> |
| </includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- This identifies the backported java 1.4 jars and attaches them as jar (classified as java14) build artifacts. --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-artifacts</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>${project.build.directory}/${project.build.finalName}-java14.jar</file> |
| <type>jar</type> |
| <classifier>java14</classifier> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| |
| <testResources> |
| <testResource> |
| <targetPath>META-INF/</targetPath> |
| <filtering>false</filtering> |
| <directory>../resources/META-INF</directory> |
| <includes> |
| <include>**</include> |
| </includes> |
| </testResource> |
| |
| <!-- |
| <testResource> |
| <targetPath>src/</targetPath> |
| <filtering>false</filtering> |
| <directory>src/test/java</directory> |
| <includes> |
| <include>**/*.java</include> |
| </includes> |
| </testResource> |
| --> |
| |
| <testResource> |
| <targetPath></targetPath> |
| <filtering>false</filtering> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>client.log4j</include> |
| </includes> |
| </testResource> |
| </testResources> |
| |
| </build> |
| |
| </project> |