Dan K
2019-07-19 9963c0bd49817821ec545e3cb1d936f70552ee88
micro-java/pom.xml
@@ -1,46 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
   <groupId>com.redhat.training.openshift</groupId>
   <artifactId>micro-java</artifactId>
   <version>1.0</version>
   <packaging>war</packaging>
   <name>Red Hat Training Hello Java app</name>
   <description>Hello microservice using Thorntail</description>
  <groupId>com.redhat.training.openshift</groupId>
  <artifactId>hello</artifactId>
  <version>1.0</version>
  <packaging>war</packaging>
  <name>Red Hat Training Hello Java app</name>
  <description>Hello microservice using Thorntail</description>
   <properties>
      <!-- Explicitly declaring the source encoding eliminates the following
         message: -->
      <!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
         resources, i.e. build is platform dependent! -->
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      <failOnMissingWebXml>false</failOnMissingWebXml>
  <properties>
    <!-- Explicitly declaring the source encoding eliminates the following
      message: -->
    <!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
      resources, i.e. build is platform dependent! -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <failOnMissingWebXml>false</failOnMissingWebXml>
      <!-- Thorntail dependency versions -->
      <version.thorntail>2.4.0.Final</version.thorntail>
    <!-- Thorntail dependency versions -->
    <version.thorntail>2.4.0.Final</version.thorntail>
      <!-- other plugin versions -->
      <version.compiler.plugin>3.1</version.compiler.plugin>
      <version.surefire.plugin>2.16</version.surefire.plugin>
      <version.war.plugin>2.5</version.war.plugin>
                <!--
      <version.fabric8.plugin>3.1.80.redhat-000019</version.fabric8.plugin>
                -->
                <!--
      <version.fabric8.plugin>3.5.38</version.fabric8.plugin>
                -->
      <version.fabric8.plugin>4.1.0</version.fabric8.plugin>
      <!-- maven-compiler-plugin -->
      <maven.compiler.target>1.8</maven.compiler.target>
      <maven.compiler.source>1.8</maven.compiler.source>
    <!-- other plugin versions -->
    <version.compiler.plugin>3.1</version.compiler.plugin>
    <version.surefire.plugin>2.16</version.surefire.plugin>
    <version.war.plugin>2.5</version.war.plugin>
    <version.fabric8.plugin>4.1.0</version.fabric8.plugin>
   </properties>
    <!-- maven-compiler-plugin -->
    <maven.compiler.target>1.8</maven.compiler.target>
    <maven.compiler.source>1.8</maven.compiler.source>
  </properties>
   <dependencyManagement>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.thorntail</groupId>
@@ -52,26 +46,25 @@
    </dependencies>
  </dependencyManagement>
   <dependencies>
      <dependency>
         <groupId>io.thorntail</groupId>
         <artifactId>cdi</artifactId>
      </dependency>
      <dependency>
         <groupId>io.thorntail</groupId>
         <artifactId>jaxrs</artifactId>
      </dependency>
  <dependencies>
    <dependency>
      <groupId>io.thorntail</groupId>
      <artifactId>cdi</artifactId>
    </dependency>
    <dependency>
      <groupId>io.thorntail</groupId>
      <artifactId>jaxrs</artifactId>
    </dependency>
  </dependencies>
   </dependencies>
   <build>
      <!-- Maven will append the version to the finalName (which is the name
         given to the generated war, and hence the context root) -->
      <finalName>hello</finalName>
      <plugins>
         <!-- The Thorntail Maven plugin creates an uber jar -->
         <!-- To use, run: mvn thorntail:run -->
         <plugin>
  <build>
    <!-- Maven will append the version to the finalName (which is the name
         given to the generated war, and hence the context root) -->
    <finalName>hello</finalName>
    <plugins>
      <!-- The Thorntail Maven plugin creates an uber jar -->
      <!-- To use, run: mvn thorntail:run -->
      <plugin>
        <groupId>io.thorntail</groupId>
        <artifactId>thorntail-maven-plugin</artifactId>
        <version>${version.thorntail}</version>