183 lines
6.6 KiB
XML
Executable File
183 lines
6.6 KiB
XML
Executable File
<?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>
|
|
<groupId>br.com.sample</groupId>
|
|
<artifactId>bpe-chave</artifactId>
|
|
<name>BPe Chave</name>
|
|
<version>1.0.11</version>
|
|
<packaging>war</packaging>
|
|
|
|
<properties>
|
|
<version.thorntail>2.4.0.Final</version.thorntail>
|
|
<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>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>bom-all</artifactId>
|
|
<version>${version.thorntail}</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>thorntail-runner</artifactId>
|
|
<version>${version.thorntail}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<finalName>bpe-chave</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>thorntail-maven-plugin</artifactId>
|
|
<version>${version.thorntail}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>package</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<properties>
|
|
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
|
|
</properties>
|
|
<jvmArguments>
|
|
<jvmArgument>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006</jvmArgument>
|
|
</jvmArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.2.3</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>0.28.0</version>
|
|
<configuration>
|
|
<images>
|
|
<image>
|
|
<name>${project.build.finalName}:${project.version}</name>
|
|
<build>
|
|
<dockerFile>${project.basedir}/${dockerfile}</dockerFile>
|
|
</build>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>2.22.0</version>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*Test</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-jwt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-restclient</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-metrics</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-opentracing</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>jaxrs</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>jaeger</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-fault-tolerance</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-health</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>microprofile-config</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>fluentd</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.thorntail</groupId>
|
|
<artifactId>arquillian</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<profiles>
|
|
<profile>
|
|
<id>normal</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<dockerfile>DockerfileNormal</dockerfile>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>istio</id>
|
|
<properties>
|
|
<dockerfile>DockerfileIstio</dockerfile>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|