2020-01-04 07:28:44 -05:00
|
|
|
<?xml version='1.0' encoding='utf-8'?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-09 10:39:43 -04:00
|
|
|
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">
|
2020-01-18 13:40:00 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>open-liberty</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<packaging>war</packaging>
|
2020-01-04 07:28:44 -05:00
|
|
|
|
2020-01-18 13:40:00 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.platform</groupId>
|
|
|
|
<artifactId>jakarta.jakartaee-web-api</artifactId>
|
|
|
|
<version>${version.jakarta.jakartaee-web-api}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.microprofile</groupId>
|
|
|
|
<artifactId>microprofile</artifactId>
|
|
|
|
<version>${version.microprofile}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>${version.derby}</version>
|
2020-08-27 00:54:29 -04:00
|
|
|
<scope>provided</scope>
|
2020-01-18 13:40:00 -05:00
|
|
|
</dependency>
|
|
|
|
<!-- For tests -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${version.junit}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse</groupId>
|
|
|
|
<artifactId>yasson</artifactId>
|
|
|
|
<version>${version.yasson}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
<artifactId>cxf-rt-rs-client</artifactId>
|
|
|
|
<version>${version.cxf-rt-rs-client}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
|
|
|
<version>${version.javax.json}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
<artifactId>cxf-rt-rs-mp-client</artifactId>
|
|
|
|
<version>${version.cxf-rt-rs-mp-client}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2020-01-04 07:28:44 -05:00
|
|
|
|
2020-01-18 13:40:00 -05:00
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<!-- Enable liberty-maven plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.openliberty.tools</groupId>
|
|
|
|
<artifactId>liberty-maven-plugin</artifactId>
|
|
|
|
<version>${version.liberty-maven-plugin}</version>
|
2020-08-27 00:54:29 -04:00
|
|
|
<configuration>
|
|
|
|
<copyDependencies>
|
|
|
|
<location>${project.build.directory}/liberty/wlp/usr/shared/resources/</location>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>${version.derby}</version>
|
|
|
|
</dependency>
|
|
|
|
</copyDependencies>
|
|
|
|
</configuration>
|
2020-01-18 13:40:00 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${version.maven-war-plugin}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-01-17 08:55:22 -05:00
|
|
|
|
2020-01-18 13:40:00 -05:00
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
<!-- versions -->
|
|
|
|
<version.jakarta.jakartaee-web-api>8.0.0</version.jakarta.jakartaee-web-api>
|
|
|
|
<version.microprofile>3.2</version.microprofile>
|
|
|
|
<version.derby>10.14.2.0</version.derby>
|
2020-08-27 00:54:29 -04:00
|
|
|
<version.liberty-maven-plugin>3.3-M3</version.liberty-maven-plugin>
|
2020-01-18 13:40:00 -05:00
|
|
|
<version.maven-war-plugin>3.2.3</version.maven-war-plugin>
|
|
|
|
<version.junit>4.12</version.junit>
|
|
|
|
<version.yasson>1.0.5</version.yasson>
|
|
|
|
<version.cxf-rt-rs-client>3.2.6</version.cxf-rt-rs-client>
|
|
|
|
<version.javax.json>1.0.4</version.javax.json>
|
|
|
|
<version.cxf-rt-rs-mp-client>3.3.1</version.cxf-rt-rs-mp-client>
|
|
|
|
<!-- Liberty configuration -->
|
|
|
|
<liberty.var.app.context.root>openliberty</liberty.var.app.context.root>
|
|
|
|
<liberty.var.default.http.port>9080</liberty.var.default.http.port>
|
|
|
|
<liberty.var.default.https.port>9443</liberty.var.default.https.port>
|
|
|
|
<testServerHttpPort>7070</testServerHttpPort>
|
|
|
|
</properties>
|
2020-01-04 07:28:44 -05:00
|
|
|
</project>
|