Fix swarm to thorntail migration
This commit is contained in:
parent
3aedfffe2f
commit
dec01143fb
1 changed files with 8 additions and 34 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><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">
|
||||||
<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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.redhat.training.example</groupId>
|
<groupId>com.redhat.training.example</groupId>
|
||||||
<artifactId>java-serverhost</artifactId>
|
<artifactId>java-serverhost</artifactId>
|
||||||
|
|
@ -8,36 +6,20 @@
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Explicitly declaring the source encoding eliminates the following
|
<version.wildfly.swarm>2.1.0.Final</version.wildfly.swarm>
|
||||||
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>
|
|
||||||
|
|
||||||
<!-- 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>
|
|
||||||
|
|
||||||
<!-- maven-compiler-plugin -->
|
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.thorntail</groupId>
|
<groupId>io.thorntail</groupId>
|
||||||
<artifactId>bom-all</artifactId>
|
<artifactId>bom-all</artifactId>
|
||||||
<version>${version.thorntail}</version>
|
<version>${version.wildfly.swarm}</version>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
@ -50,7 +32,7 @@
|
||||||
<plugin>
|
<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.wildfly.swarm}</version>
|
||||||
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
@ -64,14 +46,6 @@
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>io.thorntail</groupId>
|
|
||||||
<artifactId>cdi</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>io.thorntail</groupId>
|
|
||||||
<artifactId>jaxrs</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<!-- Java EE 7 dependency -->
|
<!-- Java EE 7 dependency -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax</groupId>
|
<groupId>javax</groupId>
|
||||||
|
|
@ -82,4 +56,4 @@
|
||||||
<!-- WildFly Swarm Fractions -->
|
<!-- WildFly Swarm Fractions -->
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
Loading…
Add table
Reference in a new issue