commit | author | age
|
4682c8
|
1 |
<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/xsd/maven-4.0.0.xsd"> |
RS |
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<groupId>com.redhat.training</groupId> |
|
4 |
<artifactId>parent-pom</artifactId> |
|
5 |
<version>1.0</version> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>JB125 Parent Project</name> |
|
8 |
<description>This is the parent project</description> |
|
9 |
|
|
10 |
<properties> |
|
11 |
<!-- Explicitly declaring the source encoding eliminates the following |
|
12 |
message: --> |
|
13 |
<!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered |
|
14 |
resources, i.e. build is platform dependent! --> |
|
15 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
16 |
|
|
17 |
<!-- JBoss dependency versions --> |
|
18 |
|
|
19 |
<version.wildfly.maven.plugin>1.0.2.Final</version.wildfly.maven.plugin> |
|
20 |
|
|
21 |
<!-- Define the version of the JBoss BOMs we want to import to specify tested stacks. --> |
|
22 |
<version.jboss.bom.eap>7.0.2.GA</version.jboss.bom.eap> |
|
23 |
|
|
24 |
<!-- other plug-in versions --> |
|
25 |
<version.surefire.plugin>2.10</version.surefire.plugin> |
|
26 |
<version.war.plugin>2.1.1</version.war.plugin> |
|
27 |
|
|
28 |
<!-- maven-compiler-plugin --> |
|
29 |
<maven.compiler.target>1.8</maven.compiler.target> |
|
30 |
<maven.compiler.source>1.8</maven.compiler.source> |
|
31 |
</properties> |
|
32 |
|
|
33 |
<dependencyManagement> |
|
34 |
<dependencies> |
|
35 |
<dependency> |
|
36 |
<groupId>org.jboss.bom</groupId> |
|
37 |
<artifactId>jboss-eap-javaee7-with-tools</artifactId> |
|
38 |
<version>${version.jboss.bom.eap}</version> |
|
39 |
<type>pom</type> |
|
40 |
<scope>import</scope> |
|
41 |
</dependency> |
|
42 |
|
|
43 |
<dependency> |
|
44 |
<groupId>org.jboss.eap</groupId> |
|
45 |
<artifactId>wildfly-ejb-client-bom</artifactId> |
|
46 |
<version>7.0.2.GA-redhat-1</version> |
|
47 |
<type>pom</type> |
|
48 |
<scope>import</scope> |
|
49 |
</dependency> |
|
50 |
|
|
51 |
</dependencies> |
|
52 |
</dependencyManagement> |
|
53 |
|
|
54 |
<build> |
|
55 |
<finalName>${project.artifactId}</finalName> |
|
56 |
<plugins> |
|
57 |
<plugin> |
|
58 |
<artifactId>maven-war-plugin</artifactId> |
|
59 |
<version>${version.war.plugin}</version> |
|
60 |
<configuration> |
|
61 |
<!-- Java EE doesn't require web.xml, Maven needs to catch |
|
62 |
up! --> |
|
63 |
<failOnMissingWebXml>false</failOnMissingWebXml> |
|
64 |
</configuration> |
|
65 |
</plugin> |
|
66 |
<!-- Surefire plug-in is responsible for running tests |
|
67 |
as part of project build --> |
|
68 |
<plugin> |
|
69 |
<artifactId>maven-surefire-plugin</artifactId> |
|
70 |
<version>${version.surefire.plugin}</version> |
|
71 |
</plugin> |
|
72 |
<!-- The WildFly plug-in deploys the WAR to a local JBoss EAP container --> |
|
73 |
<!-- To use, run: mvn package wildfly:deploy --> |
|
74 |
<plugin> |
|
75 |
<groupId>org.wildfly.plugins</groupId> |
|
76 |
<artifactId>wildfly-maven-plugin</artifactId> |
|
77 |
<version>${version.wildfly.maven.plugin}</version> |
|
78 |
</plugin> |
|
79 |
</plugins> |
|
80 |
</build> |
|
81 |
|
|
82 |
</project> |