<?xml version="1.0" encoding="UTF-8" standalone="no"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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> <!-- one-liner to take you to the cloud with settings form the application.yaml file: --> <!-- 'mvn clean package com.google.cloud.tools:jib-maven-plugin:dockerBuild -Dimage=distroless-hapi && docker run -p 8080:8080 -e spring.batch.job.enabled=false distroless-hapi' --> <!-- 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 its contents below may be removed if you are using this file as a basis for your own project. --> <!-- <parent><groupId>matchbox.</groupId><artifactId>matchbox</artifactId><version>6.0.0-PRE10-SNAPSHOT</version></parent> --> <groupId>health.matchbox</groupId> <artifactId>matchbox</artifactId> <version>3.4.5</version> <packaging>pom</packaging> <name>matchbox</name> <description>An open-source implementation to support testing and implementation of FHIR based solutions and map or capture health data into HL7® FHIR® </description> <url>https://matchbox.health</url> <organization> <name>ahdis ag</name> <url>https://ahdis.ch</url> </organization> <inceptionYear>2022</inceptionYear> <issueManagement> <system>GitHub</system> <url>https://github.com/ahdis/matchbox/issues</url> </issueManagement> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>11</java.version> <fhir.core.version>6.0.22</fhir.core.version> <hapi.fhir.version>6.8.0</hapi.fhir.version> <!-- Dependency Versions --> <activation_api_version>1.2.0</activation_api_version> <apache_karaf_version>4.2.5</apache_karaf_version> <aries_spifly_version>1.2</aries_spifly_version> <caffeine_version>3.1.1</caffeine_version> <commons_codec_version>1.15</commons_codec_version> <commons_compress_version>1.21</commons_compress_version> <commons_text_version>1.10.0</commons_text_version> <commons_io_version>2.11.0</commons_io_version> <commons_lang3_version>3.12.0</commons_lang3_version> <com_jamesmurty_utils_version>1.2</com_jamesmurty_utils_version> <cql_version>1.5.0</cql_version> <derby_version>10.14.2.0</derby_version> <!--<derby_version>10.15.1.3</derby_version> --> <error_prone_core_version>2.10.0</error_prone_core_version> <mockito_version>4.8.1</mockito_version> <nullaway_version>0.7.9</nullaway_version> <guava_version>32.1.1-jre</guava_version> <gson_version>2.8.9</gson_version> <jaxb_bundle_version>2.2.11_1</jaxb_bundle_version> <jaxb_api_version>2.3.1</jaxb_api_version> <jaxb_core_version>2.3.0.1</jaxb_core_version> <jaxb_runtime_version>3.0.0</jaxb_runtime_version> <jena_version>4.8.0</jena_version> <jersey_version>3.0.3</jersey_version> <jsr305_version>3.0.2</jsr305_version> <junit_version>5.9.1</junit_version> <flexmark_version>0.50.40</flexmark_version> <flyway_version>9.4.0</flyway_version> <hibernate_version>5.6.15.Final</hibernate_version> <hibernate_search_version>6.1.6.Final</hibernate_search_version> <!-- Update lucene version when you update hibernate-search version --> <lucene_version>8.11.1</lucene_version> <hamcrest_version>2.2</hamcrest_version> <hibernate_validator_version>6.1.5.Final</hibernate_validator_version> <httpcore_version>4.4.13</httpcore_version> <httpclient_version>4.5.13</httpclient_version> <jackson_version>2.15.2</jackson_version> <maven_assembly_plugin_version>3.3.0</maven_assembly_plugin_version> <maven_license_plugin_version>1.8</maven_license_plugin_version> <maven_surefire_version>3.0.0</maven_surefire_version> <okhttp_version>4.11.0</okhttp_version> <poi_version>4.1.2</poi_version> <poi_ooxml_schemas_version>1.4</poi_ooxml_schemas_version> <resteasy_version>5.0.2.Final</resteasy_version> <ph_schematron_version>5.6.5</ph_schematron_version> <ph_commons_version>9.5.5</ph_commons_version> <plexus_compiler_api_version>2.9.0</plexus_compiler_api_version> <servicemix_saxon_version>9.8.0-15</servicemix_saxon_version> <servicemix_xmlresolver_version>1.2_5</servicemix_xmlresolver_version> <swagger_version>2.1.12</swagger_version> <slf4j_version>2.0.3</slf4j_version> <log4j_to_slf4j_version>2.19.0</log4j_to_slf4j_version> <spring_version>5.3.27</spring_version> <spring_data_version>2.6.1</spring_data_version> <spring_batch_version>4.3.3</spring_batch_version> <spring_boot_version>2.7.12</spring_boot_version> <spring_retry_version>1.2.2.RELEASE</spring_retry_version> <stax2_api_version>3.1.4</stax2_api_version> <testcontainers_version>1.17.1</testcontainers_version> <thymeleaf-version>3.0.14.RELEASE</thymeleaf-version> <woodstox_core_asl_version>4.4.1</woodstox_core_asl_version> <jacoco_version>0.8.7</jacoco_version> <info_cqframework_version>1.5.1</info_cqframework_version> <lombok_version>1.18.26</lombok_version> <byte_buddy_version>1.10.21</byte_buddy_version> <apache_poi_version>4.1.1</apache_poi_version> </properties> <developers> <developer> <name>Oliver Egger</name> <organization>ahdis</organization> <organizationUrl>https://ahdis.ch</organizationUrl> </developer> <developer> <name>Quentin Ligier</name> <organization>ahdis</organization> <organizationUrl>https://ahdis.ch</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git://github.com/ahdis/matchbox.git</connection> <url>https://github.com/ahdis/matchbox/tree/master</url> <developerConnection>scm:git:ssh://github.com:ahdis/matchbox.git</developerConnection> </scm> <repositories> <repository> <id>oss-snapshots</id> <snapshots> <enabled>true</enabled> </snapshots> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </repository> </repositories> <dependencyManagement> <dependencies> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>org.hl7.fhir.r4</artifactId> <version>${fhir.core.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>org.hl7.fhir.r5</artifactId> <version>${fhir.core.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>org.hl7.fhir.convertors</artifactId> <version>${fhir.core.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>org.hl7.fhir.validation</artifactId> <version>${fhir.core.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-base</artifactId> <version>${hapi.fhir.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>org.hl7.fhir.utilities</artifactId> <version>${fhir.core.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-jpaserver-base</artifactId> <version>${hapi.fhir.version}</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactId>spring-jcl</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>com.zaxxer</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-jpaserver-mdm</artifactId> <version>${hapi.fhir.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-server-openapi</artifactId> <version>${hapi.fhir.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-client</artifactId> <version>${hapi.fhir.version}</version> </dependency> <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-test-utilities</artifactId> <version>${hapi.fhir.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</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> <!-- This dependency is used for the "FHIR Tester" web app overlay <dependency><groupId>ca.uhn.hapi.fhir</groupId><artifactId>hapi-fhir-testpage-overlay</artifactId><version>${hapi.fhir.version}</version><type>war</type><scope>provided</scope></dependency><dependency><groupId>ca.uhn.hapi.fhir</groupId><artifactId>hapi-fhir-testpage-overlay</artifactId><version>${hapi.fhir.version}</version><classifier>classes</classifier></dependency> --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.10</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-to-slf4j</artifactId> <version>${log4j_to_slf4j_version}</version> </dependency> <!-- If you are using HAPI narrative generation, you will need to include Thymeleaf as well. Otherwise the following can be omitted. <dependency><groupId>org.thymeleaf</groupId><artifactId>thymeleaf</artifactId></dependency> --> <!-- You may not need this if you are deploying to an application server which provides database connection pools itself. --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-dbcp2</artifactId> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> <version>2.9.0</version> </dependency> <!-- The following dependencies are only needed for automated unit tests, you do not neccesarily need them to run the example. --> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <scope>test</scope> <version>${testcontainers_version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>elasticsearch</artifactId> <scope>test</scope> <version>${testcontainers_version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> <version>${testcontainers_version}</version> </dependency> <dependency> <groupId>org.hl7.fhir.testcases</groupId> <artifactId>fhir-test-cases</artifactId> <version>1.1.56</version> <scope>test</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok_version}</version> <scope>provided</scope> </dependency> <!-- dependencies for test --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit_version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit_version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit_version}</version> <scope>test</scope> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.33</version> </dependency> <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql --> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.6.0</version> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>2.2.220</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>1.33</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring_version}</version> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <version>4.2.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> <version>${spring_boot_version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> <version>${spring_boot_version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>${spring_boot_version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>${spring_boot_version}</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> <scope>provided</scope> </dependency> </dependencies> </dependencyManagement> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <!-- Tells Maven to name the generated WAR file as ROOT.war --> <finalName>matchbox-engine</finalName> <plugins> <!-- Tell Maven which Java source version you want to use --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <release>${java.version}</release> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <configuration> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <!-- This is to run the integration tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <redirectTestOutputToFile>true</redirectTestOutputToFile> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> <executions> <execution> <id>default</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> <inherited>true</inherited> </execution> </executions> <configuration> <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict> <checkTestClasspath>false</checkTestClasspath> <ignoredResourcePatterns> <ignoredResourcePattern>.*\.txt$</ignoredResourcePattern> <ignoredResourcePattern>.*\.html$</ignoredResourcePattern> <ignoredResourcePattern>config/favicon.ico</ignoredResourcePattern> </ignoredResourcePatterns> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <inherited>true</inherited> <executions> <execution> <id>standard</id> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> <execution> <id>downstream</id> <phase>validate</phase> <goals> <goal>create-metadata</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/generated-sources/properties</outputDirectory> <outputName>matchbox-build.properties</outputName> <revisionPropertyName>matchbox.buildnumber</revisionPropertyName> <timestampPropertyName>matchbox.timestamp</timestampPropertyName> <timestampFormat>yyyy-MM-dd'T'HH:mm:ss.SXXX</timestampFormat> <versionPropertyName>matchbox.version</versionPropertyName> <revisionOnScmFailure>UNKNOWN</revisionOnScmFailure> </configuration> </execution> </executions> </plugin> <!-- Release plugins --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> </resource> <resource> <directory>${project.build.directory}/generated-sources/properties</directory> <filtering>false</filtering> </resource> </resources> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.1.2</version> </plugin> <plugin> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> <version>2.0.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring_boot_version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven_surefire_version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.3.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> </plugin> </plugins> </pluginManagement> </build> <profiles> <!-- example of how to start the server using spring boot --> <!-- mvn clean package spring-boot:repackage -Pboot && java -jar target/hapi-fhir-jpaserver.war --> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <!-- Prevent gpg from using pinentry in CI release. To release manually, remove these arguments. --> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </plugin> </plugins> </build> </profile> </profiles> <modules> <module>matchbox-engine</module> <module>matchbox-server</module> </modules> </project>