Richard Allred
2019-06-19 240c81958d9ed1693c367f25efdfc6ae88f28d18
commit | author | age
ce90e8 1 <?xml version="1.0" encoding="UTF-8"?>
IC 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">
0f618d 4   <modelVersion>4.0.0</modelVersion>
RA 5   <groupId>com.redhat.training.example</groupId>
6   <artifactId>java-serverhost</artifactId>
ce90e8 7   <name>Thorntail Example</name>
IC 8   <version>1.0.0-SNAPSHOT</version>
0f618d 9   <packaging>war</packaging>
RA 10
11   <properties>
ce90e8 12     <version.thorntail>2.4.0.Final</version.thorntail>
3aedff 13     <maven.compiler.source>1.8</maven.compiler.source>
dec011 14     <maven.compiler.target>1.8</maven.compiler.target>
IC 15     <failOnMissingWebXml>false</failOnMissingWebXml>
16     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
240c81 17     <version.compiler.plugin>3.1</version.compiler.plugin>
RA 18         <version.surefire.plugin>2.16</version.surefire.plugin>
19         <version.war.plugin>2.5</version.war.plugin>
0f618d 20   </properties>
RA 21
22   <dependencyManagement>
23     <dependencies>
24       <dependency>
3aedff 25         <groupId>io.thorntail</groupId>
0f618d 26         <artifactId>bom-all</artifactId>
ce90e8 27         <version>${version.thorntail}</version>
0f618d 28         <scope>import</scope>
RA 29         <type>pom</type>
30       </dependency>
31     </dependencies>
32   </dependencyManagement>
240c81 33
RA 34   <dependencies>
35         <dependency>
36             <groupId>io.thorntail</groupId>
37             <artifactId>cdi</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>io.thorntail</groupId>
41             <artifactId>jaxrs</artifactId>
42         </dependency>
43
44     </dependencies>
0f618d 45
RA 46   <build>
ce90e8 47     <finalName>demo</finalName>
0f618d 48     <plugins>
RA 49       <plugin>
3aedff 50         <groupId>io.thorntail</groupId>
IC 51         <artifactId>thorntail-maven-plugin</artifactId>
ce90e8 52         <version>${version.thorntail}</version>
0f618d 53         
RA 54         <executions>
55           <execution>
56             <goals>
57               <goal>package</goal>
58             </goals>
59           </execution>
60         </executions>
61       </plugin>
62     </plugins>
63   </build>
ce90e8 64 </project>