Richard Allred
2019-06-19 899e2df31d18220a1f443e3a1a08338a22ca5d43
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
31   <build>
ce90e8 32     <finalName>demo</finalName>
0f618d 33     <plugins>
RA 34       <plugin>
3aedff 35         <groupId>io.thorntail</groupId>
IC 36         <artifactId>thorntail-maven-plugin</artifactId>
ce90e8 37         <version>${version.thorntail}</version>
0f618d 38         
RA 39         <executions>
40           <execution>
41             <goals>
42               <goal>package</goal>
43             </goals>
44           </execution>
45         </executions>
46       </plugin>
47     </plugins>
48   </build>
95e865 49
ce90e8 50 </project>