Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
216 lines (186 sloc) 7.31 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>javaee-servers-parent</artifactId>
<version>javaee-7-v3</version>
</parent>
<groupId>com.github.phillip-kruger.quote-service</groupId>
<artifactId>quote-service</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>quote-service</name>
<url>https://github.com/phillip-kruger/quote-service</url>
<description>Simple Quote service. To demonstrate OpenLiberty and Wildfly swarm deployment options</description>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/phillip-kruger/quote-service.git</connection>
<url>https://github.com/phillip-kruger/quote-service</url>
</scm>
<distributionManagement>
<site>
<id>wiki</id>
<url>https://github.com/phillip-kruger/quote-service/wiki</url>
</site>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<developers>
<developer>
<name>Phillip Kruger</name>
<email>phillip.kruger@phillip-kruger.com</email>
<organizationUrl>http://www.phillip-kruger.com</organizationUrl>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<failOnMissingWebXml>false</failOnMissingWebXml>
<!-- Java version -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- Java EE Platform -->
<java-ee.version>7.0</java-ee.version>
<microProfile.version>1.2</microProfile.version>
<lombok.version>1.16.18</lombok.version>
<!-- Example web page -->
<semantic-ui.version>2.2.10</semantic-ui.version>
<jquery.version>2.1.4</jquery.version>
<!-- Logging settings -->
<log.level>FINEST</log.level>
<log.name>com.github.phillipkruger</log.name>
</properties>
<dependencies>
<!-- Java EE -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${java-ee.version}</version>
<scope>provided</scope>
</dependency>
<!-- MicroProfile -->
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>${microProfile.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<!-- Webjars: see http://www.webjars.org/documentation -->
<!-- Used in example web page -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>semantic-ui</artifactId>
<version>${semantic-ui.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>jquery</artifactId>
<version>${jquery.version}</version>
<scope>runtime</scope>
</dependency>
<!-- Test related -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<webResources>
<resource>
<directory>${basedir}/src/main/webapp</directory>
<filtering>true</filtering>
<includes>
<include>**/*.css</include>
<include>**/*.html</include>
<include>**/*.xhtml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>k8</id>
<activation>
<property>
<name>k8</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.deanjameseverett</groupId>
<artifactId>k8-maven-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<id>kubernetes</id>
<phase>install</phase>
<goals>
<goal>startMinikube</goal>
<goal>deleteImage</goal>
<goal>buildImage</goal>
<goal>undeploy</goal>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>