/
pom.xml
174 lines (162 loc) · 6.07 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<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.hornetq.examples</groupId>
<artifactId>hornetq-examples</artifactId>
<version>2.4.0.Final</version>
</parent>
<groupId>org.hornetq.example.javaee</groupId>
<artifactId>jee-examples</artifactId>
<packaging>pom</packaging>
<name>HornetQ JEE Examples</name>
<!-- Properties -->
<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>
<jboss.home>${env.JBOSS_HOME}</jboss.home>
<!-- Note this must be consistent with the version in AS7 -->
<hornetq.client.version>2.4.0-SNAPSHOT</hornetq.client.version>
</properties>
<profiles>
<profile>
<id>cluster-examples</id>
<modules>
<module>mdb-remote-failover-static</module>
</modules>
</profile>
</profiles>
<modules>
<module>jca-config</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>jms-context-injection</module>
<module>mdb-message-selector</module>
<module>mdb-tx-send</module>
<module>servlet-ssl</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.0.3.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.spec.javax.jms</groupId>
<artifactId>jboss-jms-api_2.0_spec</artifactId>
</dependency>
<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.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<version>1.0.3.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>8.0.0.Alpha3-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-core-client</artifactId>
<version>${hornetq.client.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-jms-client</artifactId>
<version>${hornetq.client.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-ra</artifactId>
<version>${hornetq.client.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty.version}</version>
</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>${jboss.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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<argLine>-Dlogging.configuration=file:///${user.dir}/test/config/logging.properties</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>