library-api
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>library-api</artifactId>
<version>9.4.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
~ Organisation (CSIRO) ABN 41 687 119 230.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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>
<parent>
<artifactId>pathling</artifactId>
<groupId>au.csiro.pathling</groupId>
<version>9.4.0</version>
</parent>
<artifactId>library-api</artifactId>
<packaging>jar</packaging>
<name>Pathling Library API</name>
<description>An API that exposes Pathling functionality to language libraries.</description>
<dependencies>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>encoders</artifactId>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>terminology</artifactId>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>terminology</artifactId>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>fhirpath</artifactId>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>fhirpath</artifactId>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>utilities</artifactId>
</dependency>
<dependency>
<groupId>au.csiro.fhir</groupId>
<artifactId>bulk-export</artifactId>
</dependency>
<dependency>
<groupId>au.csiro.fhir</groupId>
<artifactId>bulk-export</artifactId>
<classifier>sources</classifier>
</dependency>
<!-- Apache Spark -->
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${pathling.scalaVersion}</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${pathling.scalaVersion}</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-catalyst_${pathling.scalaVersion}</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.delta</groupId>
<artifactId>delta-spark_${pathling.scalaVersion}</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<scope>test</scope>
</dependency>
<!-- HAPI FHIR -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>encoders</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>utilities</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>terminology</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>fhirpath</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_${pathling.scalaVersion}</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-encoders-tests</id>
<phase>generate-test-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>au.csiro.pathling</includeGroupIds>
<includeArtifactIds>encoders</includeArtifactIds>
<includeTypes>test-jar</includeTypes>
<includeScope>test</includeScope>
<excludeTransitive>true</excludeTransitive>
<outputDirectory>${project.build.directory}/encoders-tests</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>au/csiro/pathling/fhirpath/parser/generated/*</exclude>
<exclude>au/csiro/pathling/views/ansi/generated/*</exclude>
<exclude>au/csiro/pathling/terminology/mock/*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**/logback.xml</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>skipLibraryApiTests</id>
<activation>
<property>
<name>skipLibraryApiTests</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>docs</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-bulk-export-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>au.csiro.fhir</includeGroupIds>
<includeArtifactIds>bulk-export</includeArtifactIds>
<includeClassifiers>sources</includeClassifiers>
<excludeTransitive>true</excludeTransitive>
<outputDirectory>${project.build.directory}/unpacked-sources/bulk-export</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-fhirpath-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>au.csiro.pathling</includeGroupIds>
<includeArtifactIds>fhirpath</includeArtifactIds>
<includeClassifiers>sources</includeClassifiers>
<excludeTransitive>true</excludeTransitive>
<outputDirectory>${project.build.directory}/unpacked-sources/fhirpath</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-terminology-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>au.csiro.pathling</includeGroupIds>
<includeArtifactIds>terminology</includeArtifactIds>
<includeClassifiers>sources</includeClassifiers>
<excludeTransitive>true</excludeTransitive>
<outputDirectory>${project.build.directory}/unpacked-sources/terminology</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<overview>src/main/javadoc/overview.html</overview>
<sourcepath>src/main/java:${project.build.directory}/unpacked-sources/bulk-export:${project.build.directory}/unpacked-sources/fhirpath:${project.build.directory}/unpacked-sources/terminology</sourcepath>
<subpackages>au.csiro.pathling:au.csiro.fhir.export</subpackages>
<groups>
<group>
<title>Pathling Library API</title>
<packages>au.csiro.pathling.library*</packages>
</group>
<group>
<title>Pathling Core Interfaces</title>
<packages>au.csiro.pathling.io*</packages>
</group>
<group>
<title>Pathling Terminology Functions</title>
<packages>au.csiro.pathling.sql*</packages>
</group>
<group>
<title>FHIR Bulk Export Client</title>
<packages>au.csiro.fhir.export*</packages>
</group>
</groups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>