224 lines
7.5 KiB
XML
224 lines
7.5 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>dev.alexzaw.rest4i</groupId>
|
|
<artifactId>rest4i</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>war</packaging>
|
|
|
|
<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>
|
|
|
|
<!-- APIs -->
|
|
<javax.servlet.version>4.0.1</javax.servlet.version>
|
|
<javax.ws.rs.version>2.1.1</javax.ws.rs.version>
|
|
<javax.annotation.version>1.3.2</javax.annotation.version>
|
|
<javax.validation.version>2.0.1.Final</javax.validation.version>
|
|
<javax.json.version>1.1.4</javax.json.version>
|
|
<javax.jaxb.version>2.3.1</javax.jaxb.version>
|
|
<javax.jaxws.version>2.3.1</javax.jaxws.version>
|
|
<mp.openapi.api.version>1.1.2</mp.openapi.api.version>
|
|
|
|
<!-- App libs -->
|
|
<jackson.version>2.13.3</jackson.version>
|
|
<jt400.version>11.2</jt400.version>
|
|
<jcifs-ng.version>2.1.7</jcifs-ng.version>
|
|
<pdfbox.version>2.0.24</pdfbox.version>
|
|
<openhtmltopdf.version>1.0.10</openhtmltopdf.version>
|
|
<poi.version>5.2.4</poi.version>
|
|
<jsoup.version>1.16.1</jsoup.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- ===== Container-provided APIs (Liberty features) ===== -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>${javax.servlet.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
<version>${javax.ws.rs.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.microprofile.openapi</groupId>
|
|
<artifactId>microprofile-openapi-api</artifactId>
|
|
<version>${mp.openapi.api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>${javax.annotation.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>${javax.validation.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.json</groupId>
|
|
<artifactId>javax.json-api</artifactId>
|
|
<version>${javax.json.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>${javax.jaxb.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.ws</groupId>
|
|
<artifactId>jaxws-api</artifactId>
|
|
<version>${javax.jaxws.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- ===== App runtime libs (bundled in WAR) ===== -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sf.jt400</groupId>
|
|
<artifactId>jt400</artifactId>
|
|
<version>${jt400.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
<version>4.0.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>eu.agno3.jcifs</groupId>
|
|
<artifactId>jcifs-ng</artifactId>
|
|
<version>${jcifs-ng.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox</artifactId>
|
|
<version>${pdfbox.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox-tools</artifactId>
|
|
<version>${pdfbox.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.openhtmltopdf</groupId>
|
|
<artifactId>openhtmltopdf-pdfbox</artifactId>
|
|
<version>${openhtmltopdf.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>${jsoup.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Tests -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>rest4i</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<source>${maven.compiler.source}</source>
|
|
<target>${maven.compiler.target}</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<compilerArgs>
|
|
<arg>-Xlint:unchecked</arg>
|
|
<arg>-Xlint:deprecation</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Ensure src/main/webapp/** (index.html, scalar.json) goes into the WAR -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.4.0</version>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<warSourceDirectory>src/main/webapp</warSourceDirectory>
|
|
<webResources>
|
|
<resource>
|
|
<directory>src/main/webapp</directory>
|
|
<filtering>false</filtering>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</resource>
|
|
</webResources>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<configuration>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<nonFilteredFileExtensions>
|
|
<nonFilteredFileExtension>json</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>html</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|