2023-05-15 08:28:55 -04:00
<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">
2019-10-22 11:55:55 -04:00
<modelVersion > 4.0.0</modelVersion>
<!-- Note: HAPI projects use the "hapi - fhir" POM as their base to provide easy management. You do not need to use this in your own projects, so the "parent" tag and it's contents below may be removed
if you are using this file as a basis for your own project. -->
<parent >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir</artifactId>
2023-05-18 14:46:44 -04:00
<version > 6.7.3-SNAPSHOT</version>
2023-04-02 11:50:20 -04:00
2019-11-12 16:08:20 -05:00
<relativePath > ../../pom.xml</relativePath>
2019-10-22 11:55:55 -04:00
</parent>
<artifactId > hapi-fhir-base-test-jaxrsserver-kotlin</artifactId>
2023-05-15 08:28:55 -04:00
<packaging > jar</packaging>
2019-10-22 11:55:55 -04:00
<name > HAPI FHIR JAX-RS Server Kotlin test</name>
<repositories >
<repository >
<id > oss-snapshots</id>
<snapshots >
<enabled > true</enabled>
</snapshots>
<url > https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies >
<!-- This dependency includes the core HAPI - FHIR classes -->
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-jaxrsserver-base</artifactId>
<version > ${project.version}</version>
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu2</artifactId>
<version > ${project.version}</version>
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu3</artifactId>
<version > ${project.version}</version>
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-r4</artifactId>
<version > ${project.version}</version>
</dependency>
<dependency >
<groupId > javax.ws.rs</groupId>
<artifactId > javax.ws.rs-api</artifactId>
<version > 2.0.1</version>
<scope > provided</scope>
</dependency>
<dependency >
<groupId > javax.ejb</groupId>
<artifactId > ejb-api</artifactId>
<version > 3.0</version>
<scope > provided</scope>
</dependency>
<dependency >
<groupId > org.eclipse.jetty</groupId>
<artifactId > jetty-server</artifactId>
<version > ${jetty_version}</version>
</dependency>
<dependency >
<groupId > org.eclipse.jetty</groupId>
<artifactId > jetty-servlet</artifactId>
<version > ${jetty_version}</version>
</dependency>
<dependency >
<groupId > org.jboss.resteasy</groupId>
<artifactId > resteasy-client</artifactId>
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
</dependency>
2023-05-15 08:28:55 -04:00
<dependency >
2019-10-22 11:55:55 -04:00
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-test-utilities</artifactId>
<version > ${project.version}</version>
<scope > test</scope>
2023-05-15 08:28:55 -04:00
</dependency>
2019-10-22 11:55:55 -04:00
<dependency >
<groupId > org.jetbrains.kotlin</groupId>
<artifactId > kotlin-maven-allopen</artifactId>
<version > ${kotlin.version}</version>
</dependency>
<dependency >
<groupId > org.jetbrains.kotlin</groupId>
<artifactId > kotlin-maven-noarg</artifactId>
<version > ${kotlin.version}</version>
</dependency>
</dependencies>
<build >
<finalName > hapi-fhir-jaxrsserver-example</finalName>
<!-- This is to run the integration tests -->
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-failsafe-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > integration-test</goal>
<goal > verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-deploy-plugin</artifactId>
<configuration >
<skip > true</skip>
</configuration>
</plugin>
<plugin >
<groupId > org.jetbrains.kotlin</groupId>
<artifactId > kotlin-maven-plugin</artifactId>
<version > ${kotlin.version}</version>
<executions >
<execution >
<id > compile</id>
2023-05-15 08:28:55 -04:00
<goals >
<goal > compile</goal>
</goals>
2019-10-22 11:55:55 -04:00
<configuration >
<sourceDirs >
<sourceDir > ${project.basedir}/src/main/kotlin</sourceDir>
<sourceDir > ${project.basedir}/src/main/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
<execution >
<id > test-compile</id>
2023-05-15 08:28:55 -04:00
<goals >
<goal > test-compile</goal>
</goals>
2019-10-22 11:55:55 -04:00
<configuration >
<sourceDirs >
<sourceDir > ${project.basedir}/src/test/kotlin</sourceDir>
<sourceDir > ${project.basedir}/src/test/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
2023-05-15 08:28:55 -04:00
<profiles >
<profile >
<id > DIST</id>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-war-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > war</goal>
</goals>
</execution>
</executions>
<configuration >
<archive >
<manifestEntries >
<Build-Time > ${maven.build.timestamp}</Build-Time>
</manifestEntries>
</archive>
<overlays >
<overlay >
2023-05-15 21:48:29 -04:00
<id > hapi-fhir-base-test-jaxrsserver-kotlin</id>
2023-05-15 08:28:55 -04:00
<excludes >
<exclude > WEB-INF/classes/**/*.class</exclude>
</excludes>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2019-10-22 11:55:55 -04:00
<properties >
2021-05-19 07:12:10 -04:00
<!-- <kotlin.compiler.incremental>true</kotlin.compiler.incremental> -->
2022-09-25 15:22:06 -04:00
<kotlin.version > 1.6.21</kotlin.version>
2019-10-22 11:55:55 -04:00
</properties>
</project>