Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
140 lines (118 sloc) 5 KB
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.phillip-kruger</groupId>
<artifactId>microprofile-extensions</artifactId>
<version>1.0.11-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<groupId>com.github.phillip-kruger.microprofile-extensions</groupId>
<artifactId>example</artifactId>
<packaging>war</packaging>
<name>Microprofile extensions :: Example</name>
<description>Sample application that uses some of these extensions</description>
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
<payara-micro.version>5.182</payara-micro.version>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>config-ext</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jaxrs-ext</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>openapi-ext</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>health-ext</artifactId>
<version>${project.version}</version>
</dependency>
<!--
<dependency>
<groupId>fish.payara.api</groupId>
<artifactId>payara-api</artifactId>
<version>${payara-micro.version}</version>
<scope>provided</scope>
</dependency>-->
<!-- <dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-api</artifactId>
<version>0.31.0</version>
<scope>provided</scope>
</dependency>-->
<!-- <dependency>
<groupId>io.jaegertracing</groupId>
<artifactId>jaeger-client</artifactId>
<version>0.30.3</version>
</dependency>-->
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
</build>
<profiles>
<profile>
<id>payara-micro-run</id>
<activation>
<property>
<name>payara-micro-run</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>fish.payara.maven.plugins</groupId>
<artifactId>payara-micro-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItem>
<groupId>fish.payara.extras</groupId>
<artifactId>payara-micro</artifactId>
<version>${payara-micro.version}</version>
</artifactItem>
<deployWar>true</deployWar>
<javaCommandLineOptions>
<option>
<value>-Dconfigsource.etcd.host=127.0.0.1</value>
</option>
</javaCommandLineOptions>
<!-- <commandLineOptions>
<option>
<key>- -postbootcommandfile</key>
<value>${project.build.directory}/postbootcommand.txt</value>
</option>
</commandLineOptions>-->
</configuration>
</plugin>
</plugins>
<!-- <resources>
<resource>
<filtering>true</filtering>
<directory>${project.basedir}</directory>
<targetPath>${project.build.directory}</targetPath>
<includes>
<include>postbootcommand.txt</include>
</includes>
</resource>
</resources>-->
</build>
</profile>
</profiles>
</project>