|
9 | 9 | <name>deltaspike</name> |
10 | 10 | <description>A starter Java EE 7 webapp which uses DeltaSpike</description> |
11 | 11 | <url>http://wildfly.org</url> |
| 12 | + |
| 13 | + <parent> |
| 14 | + <groupId>com.baeldung</groupId> |
| 15 | + <artifactId>parent-modules</artifactId> |
| 16 | + <version>1.0.0-SNAPSHOT</version> |
| 17 | + </parent> |
| 18 | + |
12 | 19 | <licenses> |
13 | 20 | <license> |
14 | 21 | <name>Apache License, Version 2.0</name> |
15 | 22 | <distribution>repo</distribution> |
16 | 23 | <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> |
17 | 24 | </license> |
18 | 25 | </licenses> |
19 | | - |
20 | | - <parent> |
21 | | - <groupId>com.baeldung</groupId> |
22 | | - <artifactId>parent-modules</artifactId> |
23 | | - <version>1.0.0-SNAPSHOT</version> |
24 | | - </parent> |
| 26 | + <repositories> |
| 27 | + <repository> |
| 28 | + <id>redhat-repository-techpreview</id> |
| 29 | + <url>https://maven.repository.redhat.com/techpreview/all/</url> |
| 30 | + </repository> |
| 31 | + </repositories> |
25 | 32 |
|
26 | 33 | <dependencyManagement> |
27 | 34 | <dependencies> |
|
47 | 54 | <type>pom</type> |
48 | 55 | <scope>import</scope> |
49 | 56 | </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.apache.deltaspike.distribution</groupId> |
| 59 | + <artifactId>distributions-bom</artifactId> |
| 60 | + <version>${deltaspike.version}</version> |
| 61 | + <type>pom</type> |
| 62 | + <scope>import</scope> |
| 63 | + </dependency> |
50 | 64 | </dependencies> |
51 | 65 | </dependencyManagement> |
52 | 66 |
|
|
160 | 174 | <dependency> |
161 | 175 | <groupId>org.apache.deltaspike.modules</groupId> |
162 | 176 | <artifactId>deltaspike-data-module-api</artifactId> |
163 | | - <version>${deltaspike.version}</version> |
164 | 177 | <scope>compile</scope> |
165 | 178 | </dependency> |
166 | 179 |
|
167 | 180 | <dependency> |
168 | 181 | <groupId>org.apache.deltaspike.modules</groupId> |
169 | 182 | <artifactId>deltaspike-data-module-impl</artifactId> |
170 | | - <version>${deltaspike.version}</version> |
171 | 183 | <scope>runtime</scope> |
172 | 184 | </dependency> |
173 | 185 |
|
|
184 | 196 | <artifactId>querydsl-jpa</artifactId> |
185 | 197 | <version>${querydsl.version}</version> |
186 | 198 | </dependency> |
| 199 | + |
| 200 | + <dependency> |
| 201 | + <groupId>org.apache.deltaspike.modules</groupId> |
| 202 | + <artifactId>deltaspike-test-control-module-api</artifactId> |
| 203 | + <scope>test</scope> |
| 204 | + </dependency> |
| 205 | + |
| 206 | + <dependency> |
| 207 | + <groupId>org.apache.deltaspike.modules</groupId> |
| 208 | + <artifactId>deltaspike-test-control-module-impl</artifactId> |
| 209 | + <scope>test</scope> |
| 210 | + </dependency> |
| 211 | + |
| 212 | + <dependency> |
| 213 | + <groupId>org.apache.deltaspike.cdictrl</groupId> |
| 214 | + <artifactId>deltaspike-cdictrl-weld</artifactId> |
| 215 | + <scope>test</scope> |
| 216 | + </dependency> |
| 217 | + |
| 218 | + <dependency> |
| 219 | + <groupId>org.jboss.weld.se</groupId> |
| 220 | + <artifactId>weld-se-core</artifactId> |
| 221 | + <version>${weld.version}</version> |
| 222 | + <scope>test</scope> |
| 223 | + </dependency> |
| 224 | + |
| 225 | + <dependency> |
| 226 | + <groupId>org.hibernate</groupId> |
| 227 | + <artifactId>hibernate-core</artifactId> |
| 228 | + <scope>provided</scope> |
| 229 | + </dependency> |
| 230 | + |
| 231 | + <dependency> |
| 232 | + <groupId>org.jboss</groupId> |
| 233 | + <artifactId>jandex</artifactId> |
| 234 | + <version>1.2.5.Final-redhat-1</version> |
| 235 | + </dependency> |
| 236 | + |
| 237 | + <dependency> |
| 238 | + <groupId>com.h2database</groupId> |
| 239 | + <artifactId>h2</artifactId> |
| 240 | + <version>1.4.197</version> |
| 241 | + <scope>test</scope> |
| 242 | + </dependency> |
| 243 | + |
| 244 | + <dependency> |
| 245 | + <groupId>org.hibernate</groupId> |
| 246 | + <artifactId>hibernate-entitymanager</artifactId> |
| 247 | + <scope>provided</scope> |
| 248 | + </dependency> |
| 249 | + |
| 250 | + <!-- Needed for running tests (you may also use TestNG) --> |
| 251 | + <dependency> |
| 252 | + <groupId>junit</groupId> |
| 253 | + <artifactId>junit</artifactId> |
| 254 | + <scope>test</scope> |
| 255 | + </dependency> |
| 256 | + |
| 257 | + <!-- Others --> |
| 258 | + <dependency> |
| 259 | + <groupId>org.apache.commons</groupId> |
| 260 | + <artifactId>commons-lang3</artifactId> |
| 261 | + <version>3.5</version> |
| 262 | + </dependency> |
| 263 | + |
187 | 264 | </dependencies> |
188 | 265 |
|
189 | 266 | <build> |
|
226 | 303 | </build> |
227 | 304 |
|
228 | 305 | <profiles> |
229 | | - <profile> |
230 | | - <!-- The default profile skips all tests, though you can tune it to run |
231 | | - just unit tests based on a custom pattern --> |
232 | | - <!-- Seperate profiles are provided for running all tests, including Arquillian |
233 | | - tests that execute in the specified container --> |
234 | | - <id>default</id> |
235 | | - <activation> |
236 | | - <activeByDefault>true</activeByDefault> |
237 | | - </activation> |
238 | | - <build> |
239 | | - <plugins> |
240 | | - <plugin> |
241 | | - <artifactId>maven-surefire-plugin</artifactId> |
242 | | - <version>${maven-surefire-plugin.version}</version> |
243 | | - <configuration> |
244 | | - <skip>true</skip> |
245 | | - </configuration> |
246 | | - </plugin> |
247 | | - </plugins> |
248 | | - </build> |
249 | | - </profile> |
250 | | - |
251 | 306 | <profile> |
252 | 307 |
|
253 | 308 | <!-- An optional Arquillian testing profile that executes tests in your |
|
273 | 328 | resources, i.e. build is platform dependent! --> |
274 | 329 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
275 | 330 | <querydsl.version>3.7.4</querydsl.version> |
276 | | - <deltaspike.version>1.7.2</deltaspike.version> |
| 331 | + <deltaspike.version>1.8.2</deltaspike.version> |
277 | 332 | <!-- JBoss dependency versions --> |
278 | 333 | <wildfly.maven.plugin.version>1.0.2.Final</wildfly.maven.plugin.version> |
279 | 334 | <!-- Define the version of the JBoss BOMs we want to import to specify |
280 | 335 | tested stacks. --> |
281 | | - <jboss.bom.version>8.2.2.Final</jboss.bom.version> |
| 336 | + <jboss.bom.version>8.2.1.Final</jboss.bom.version> |
| 337 | + <weld.version>2.1.2.Final</weld.version> |
282 | 338 | <!-- other plugin versions --> |
283 | 339 | <war.plugin.version>2.6</war.plugin.version> |
284 | 340 | <apt-maven-plugin.version>1.1.3</apt-maven-plugin.version> |
| 341 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 342 | + <maven.compiler.source>1.8</maven.compiler.source> |
285 | 343 | </properties> |
286 | 344 |
|
287 | 345 | </project> |
0 commit comments