activemq/activemq-arquillian/javaee/pom.xml

152 lines
4.8 KiB
XML

<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>
<parent>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-arquillian</artifactId>
<version>5.9-SNAPSHOT</version>
</parent>
<groupId>org.apache.activemq</groupId>
<artifactId>javaee</artifactId>
<packaging>pom</packaging>
<name>JEE Examples</name>
<properties>
<!--
Explicitly declaring the source encoding eliminates the following
message: [WARNING] Using platform encoding (UTF-8 actually) to copy
filtered resources, i.e. build is platform dependent!
-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<ee.install.home>
${pom.basedir}${file.separator}..${file.separator}..${file.separator}ee-install${file.separator}target${file.separator}${container-version}
</ee.install.home>
</properties>
<modules>
<module>jca-config</module>
<module>jca-remote</module>
<module>mdb-bmt</module>
<module>mdb-cmt-setrollbackonly</module>
<module>mdb-cmt-tx-local</module>
<module>mdb-cmt-tx-not-supported</module>
<module>mdb-cmt-tx-required</module>
<module>mdb-message-selector</module>
<module>mdb-tx-send</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.0.0.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Final</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-rar</artifactId>
<version>${project.version}</version>
<type>rar</type>
</dependency>
<dependency>
<groupId>org.jboss.ejb3</groupId>
<artifactId>jboss-ejb3-ext-api</artifactId>
<version>2.0.0-beta-2</version>
</dependency>
</dependencies>
<build>
<plugins>
<!--
A build of target/jbossas which is shared by all modules.
Modules and bundles are not copied as they are read-only (see surefire props).
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions combine.children="append">
<!-- Copy the AS into current_submodule/target/jbossas . This is executed recursively in submodules. -->
<execution>
<id>as-node-0</id>
<inherited>true</inherited>
<phase>generate-test-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/jbossas-node0</outputDirectory>
<overwrite>true</overwrite>
<resources>
<resource>
<directory>${ee.install.home}</directory>
<excludes>
<exclude>standalone/data</exclude>
<exclude>standalone/log</exclude>
<exclude>standalone/tmp</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/server</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>eap</id>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-managed</artifactId>
<version>${arquillian-version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>wildfly</id>
<!-- needs jdk 7 -->
<dependencies>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>${container-version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>