122 lines
4.9 KiB
XML
122 lines
4.9 KiB
XML
<?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>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>open-liberty</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>microservices-modules</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<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>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- For tests -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit-jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
<version>${junit-jupiter.version}</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>
|
|
|
|
<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>
|
|
<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>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<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>
|
|
<version.liberty-maven-plugin>3.3-M3</version.liberty-maven-plugin>
|
|
<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>
|
|
|
|
</project> |