1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
4
5
<modelVersion >4.0.0</modelVersion >
5
6
<artifactId >deltaspike</artifactId >
6
7
<version >1.0</version >
16
17
</parent >
17
18
18
19
<dependencies >
19
-
20
- <!-- First declare the APIs we depend on and need for compilation. All of them are provided by JBoss WildFly -->
21
-
20
+ <!-- First declare the APIs we depend on and need for compilation. All of them are provided by
21
+ JBoss WildFly -->
22
22
<!-- Import the CDI API, we use provided scope as the API is included in JBoss WildFly -->
23
23
<dependency >
24
24
<groupId >javax.enterprise</groupId >
25
25
<artifactId >cdi-api</artifactId >
26
26
<scope >provided</scope >
27
27
</dependency >
28
-
29
- <!-- Import the Common Annotations API (JSR-250), we use provided scope as the API is included in JBoss WildFly -->
28
+ <!-- Import the Common Annotations API (JSR-250), we use provided scope as the API is included
29
+ in JBoss WildFly -->
30
30
<dependency >
31
31
<groupId >org.jboss.spec.javax.annotation</groupId >
32
32
<artifactId >jboss-annotations-api_1.2_spec</artifactId >
33
33
<scope >provided</scope >
34
34
</dependency >
35
-
36
35
<!-- Import the JAX-RS API, we use provided scope as the API is included in JBoss WildFly -->
37
36
<dependency >
38
37
<groupId >org.jboss.resteasy</groupId >
39
38
<artifactId >jaxrs-api</artifactId >
40
39
<scope >provided</scope >
41
40
</dependency >
42
-
43
41
<!-- Import the JPA API, we use provided scope as the API is included in JBoss WildFly -->
44
42
<dependency >
45
43
<groupId >org.hibernate.javax.persistence</groupId >
46
44
<artifactId >hibernate-jpa-2.1-api</artifactId >
47
45
<scope >provided</scope >
48
46
</dependency >
49
-
50
47
<!-- Import the EJB API, we use provided scope as the API is included in JBoss WildFly -->
51
48
<dependency >
52
49
<groupId >org.jboss.spec.javax.ejb</groupId >
53
50
<artifactId >jboss-ejb-api_3.2_spec</artifactId >
54
51
<scope >provided</scope >
55
52
</dependency >
56
-
57
53
<!-- JSR-303 (Bean Validation) Implementation -->
58
54
<!-- Provides portable constraints such as @Email -->
59
55
<!-- Hibernate Validator is shipped in JBoss WildFly -->
68
64
</exclusion >
69
65
</exclusions >
70
66
</dependency >
71
-
72
67
<!-- Import the JSF API, we use provided scope as the API is included in JBoss WildFly -->
73
68
<dependency >
74
69
<groupId >org.jboss.spec.javax.faces</groupId >
75
70
<artifactId >jboss-jsf-api_2.2_spec</artifactId >
76
71
<scope >provided</scope >
77
72
</dependency >
78
-
79
73
<!-- Now we declare any tools needed -->
80
-
81
74
<!-- Annotation processor to generate the JPA 2.0 metamodel classes for typesafe criteria queries -->
82
75
<dependency >
83
76
<groupId >org.hibernate</groupId >
84
77
<artifactId >hibernate-jpamodelgen</artifactId >
85
78
<scope >provided</scope >
86
79
</dependency >
87
-
88
- <!-- Annotation processor that raising compilation errors whenever constraint annotations are incorrectly used. -->
80
+ <!-- Annotation processor that raising compilation errors whenever constraint annotations are
81
+ incorrectly used. -->
89
82
<dependency >
90
83
<groupId >org.hibernate</groupId >
91
84
<artifactId >hibernate-validator-annotation-processor</artifactId >
92
85
<scope >provided</scope >
93
86
</dependency >
94
-
95
87
<!-- Optional, but highly recommended -->
96
- <!-- Arquillian allows you to test enterprise code such as EJBs and Transactional(JTA) JPA from JUnit/TestNG -->
88
+ <!-- Arquillian allows you to test enterprise code such as EJBs and Transactional(JTA) JPA from
89
+ JUnit/TestNG -->
97
90
<dependency >
98
91
<groupId >org.jboss.arquillian.junit</groupId >
99
92
<artifactId >arquillian-junit-container</artifactId >
100
93
<scope >test</scope >
101
94
</dependency >
102
-
103
95
<dependency >
104
96
<groupId >org.jboss.arquillian.protocol</groupId >
105
97
<artifactId >arquillian-protocol-servlet</artifactId >
106
98
<scope >test</scope >
107
99
</dependency >
108
-
109
100
<dependency >
110
101
<groupId >org.jboss.shrinkwrap.resolver</groupId >
111
102
<artifactId >shrinkwrap-resolver-impl-maven</artifactId >
112
103
<scope >test</scope >
113
104
</dependency >
114
-
115
105
<dependency >
116
106
<groupId >org.apache.deltaspike.modules</groupId >
117
107
<artifactId >deltaspike-data-module-api</artifactId >
118
108
<scope >compile</scope >
119
109
</dependency >
120
-
121
110
<dependency >
122
111
<groupId >org.apache.deltaspike.modules</groupId >
123
112
<artifactId >deltaspike-data-module-impl</artifactId >
124
113
<scope >runtime</scope >
125
114
</dependency >
126
-
127
115
<!-- querydsl libraries -->
128
116
<dependency >
129
117
<groupId >com.mysema.querydsl</groupId >
130
118
<artifactId >querydsl-apt</artifactId >
131
119
<version >${querydsl.version} </version >
132
120
<scope >provided</scope >
133
121
</dependency >
134
-
135
122
<dependency >
136
123
<groupId >com.mysema.querydsl</groupId >
137
124
<artifactId >querydsl-jpa</artifactId >
138
125
<version >${querydsl.version} </version >
139
126
</dependency >
140
-
141
127
<dependency >
142
128
<groupId >org.apache.deltaspike.modules</groupId >
143
129
<artifactId >deltaspike-test-control-module-api</artifactId >
144
130
<scope >test</scope >
145
131
</dependency >
146
-
147
132
<dependency >
148
133
<groupId >org.apache.deltaspike.modules</groupId >
149
134
<artifactId >deltaspike-test-control-module-impl</artifactId >
150
135
<scope >test</scope >
151
136
</dependency >
152
-
153
137
<dependency >
154
138
<groupId >org.apache.deltaspike.cdictrl</groupId >
155
139
<artifactId >deltaspike-cdictrl-weld</artifactId >
156
140
<scope >test</scope >
157
141
</dependency >
158
-
159
142
<dependency >
160
143
<groupId >org.jboss.weld.se</groupId >
161
144
<artifactId >weld-se-core</artifactId >
162
145
<version >${weld.version} </version >
163
146
<scope >test</scope >
164
147
</dependency >
165
-
166
148
<dependency >
167
149
<groupId >org.hibernate</groupId >
168
150
<artifactId >hibernate-core</artifactId >
169
151
<scope >provided</scope >
170
152
</dependency >
171
-
172
153
<dependency >
173
154
<groupId >org.jboss</groupId >
174
155
<artifactId >jandex</artifactId >
175
156
<version >${jandex.version} </version >
176
157
</dependency >
177
-
178
158
<dependency >
179
159
<groupId >com.h2database</groupId >
180
160
<artifactId >h2</artifactId >
181
161
<version >${h2.version} </version >
182
162
<scope >test</scope >
183
163
</dependency >
184
-
185
164
<dependency >
186
165
<groupId >org.hibernate</groupId >
187
166
<artifactId >hibernate-entitymanager</artifactId >
188
167
<scope >provided</scope >
189
168
</dependency >
190
-
191
169
<!-- Others -->
192
170
<dependency >
193
171
<groupId >org.apache.commons</groupId >
194
172
<artifactId >commons-lang3</artifactId >
195
173
<version >${commons-lang3.version} </version >
196
174
</dependency >
197
-
198
175
</dependencies >
199
176
200
177
<build >
201
- <!-- Maven will append the version to the finalName (which is the name given to the generated war, and hence the context root) -->
178
+ <!-- Maven will append the version to the finalName (which is the name given to the generated
179
+ war, and hence the context root) -->
202
180
<finalName >${project.artifactId} </finalName >
203
181
<plugins >
204
182
<plugin >
237
215
238
216
<profiles >
239
217
<profile >
240
-
241
218
<!-- An optional Arquillian testing profile that executes tests in your WildFly instance -->
242
- <!-- This profile will start a new WildFly instance, and execute the test, shutting it down when done -->
219
+ <!-- This profile will start a new WildFly instance, and execute the test, shutting it down
220
+ when done -->
243
221
<!-- Run with: mvn clean test -Parq-wildfly-managed -->
244
222
<id >arq-wildfly-managed</id >
245
223
<dependencies >
259
237
<url >http://www.apache.org/licenses/LICENSE-2.0.html</url >
260
238
</license >
261
239
</licenses >
240
+
262
241
<repositories >
263
242
<repository >
264
243
<id >redhat-repository-techpreview</id >
268
247
269
248
<dependencyManagement >
270
249
<dependencies >
271
- <!-- JBoss distributes a complete set of Java EE 7 APIs including a Bill of Materials (BOM). A BOM specifies the versions of a "stack" (or a collection) of artifacts. We
272
- use this here so that we always get the correct versions of artifacts. Here we use the jboss-javaee-7.0-with-tools stack (you can read this as the JBoss stack of the Java EE 7 APIs,
273
- with some extras tools for your project, such as Arquillian for testing) and the jboss-javaee-7.0-with-hibernate stack you can read this as the JBoss stack of the Java EE 7 APIs, with
274
- extras from the Hibernate family of projects) -->
250
+ <!-- JBoss distributes a complete set of Java EE 7 APIs including a Bill of Materials (BOM).
251
+ A BOM specifies the versions of a "stack" (or a collection) of artifacts. We use this here so that we
252
+ always get the correct versions of artifacts. Here we use the jboss-javaee-7.0-with-tools stack (you
253
+ can read this as the JBoss stack of the Java EE 7 APIs, with some extras tools for your project, such
254
+ as Arquillian for testing) and the jboss-javaee-7.0-with-hibernate stack you can read this as the JBoss
255
+ stack of the Java EE 7 APIs, with extras from the Hibernate family of projects) -->
275
256
<dependency >
276
257
<groupId >org.wildfly.bom</groupId >
277
258
<artifactId >jboss-javaee-7.0-with-tools</artifactId >
310
291
<jandex .version>1.2.5.Final-redhat-1</jandex .version>
311
292
</properties >
312
293
313
- </project >
294
+ </project >
0 commit comments