style(micro-java): fix pom.xml whitespace

This commit is contained in:
Dan K 2019-07-19 10:00:48 -04:00
parent 213f257670
commit 9963c0bd49

View file

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