Richard Allred
2019-08-03 99e73490b45f1f76040216418afeec9ff9770e57
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>
0f618d 17   </properties>
RA 18
19   <dependencyManagement>
20     <dependencies>
21       <dependency>
3aedff 22         <groupId>io.thorntail</groupId>
0f618d 23         <artifactId>bom-all</artifactId>
ce90e8 24         <version>${version.thorntail}</version>
0f618d 25         <scope>import</scope>
RA 26         <type>pom</type>
27       </dependency>
28     </dependencies>
29   </dependencyManagement>
30
e347c8 31   <dependencies>
RA 32         <dependency>
33             <groupId>io.thorntail</groupId>
34             <artifactId>cdi</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>io.thorntail</groupId>
38             <artifactId>jaxrs</artifactId>
39         </dependency>
40
41     </dependencies>
42
0f618d 43   <build>
ce90e8 44     <finalName>demo</finalName>
0f618d 45     <plugins>
RA 46       <plugin>
3aedff 47         <groupId>io.thorntail</groupId>
IC 48         <artifactId>thorntail-maven-plugin</artifactId>
ce90e8 49         <version>${version.thorntail}</version>
0f618d 50         
RA 51         <executions>
52           <execution>
53             <goals>
54               <goal>package</goal>
55             </goals>
56           </execution>
57         </executions>
58       </plugin>
59     </plugins>
60   </build>
95e865 61
ce90e8 62 </project>