2015-09-19 11:00:57 -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">
|
2015-09-09 07:30:57 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-deployable-pom</artifactId>
|
2017-08-13 14:39:47 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2015-09-09 07:30:57 -04:00
|
|
|
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hapi-fhir-osgi-core</artifactId>
|
2015-09-19 11:00:57 -04:00
|
|
|
<packaging>bundle</packaging>
|
2015-09-09 07:30:57 -04:00
|
|
|
|
|
|
|
<url>http://jamesagnew.github.io/hapi-fhir/</url>
|
|
|
|
|
|
|
|
<name>HAPI FHIR - OSGi Bundle</name>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-base</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2015-09-19 11:00:57 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2017-08-13 14:39:47 -04:00
|
|
|
<artifactId>hapi-fhir-utilities</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-server</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2015-09-19 11:00:57 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu2</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2015-09-19 11:00:57 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-hl7org-dstu2</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2015-09-19 11:00:57 -04:00
|
|
|
</dependency>
|
2016-01-19 20:04:36 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2016-02-01 08:55:58 -05:00
|
|
|
<artifactId>hapi-fhir-structures-dstu3</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2016-01-19 20:04:36 -05:00
|
|
|
</dependency>
|
2017-08-13 14:39:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-r4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2015-09-19 11:00:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu2</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2015-09-09 07:30:57 -04:00
|
|
|
</dependency>
|
2016-01-19 20:04:36 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2016-02-01 08:55:58 -05:00
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu3</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2016-01-19 20:04:36 -05:00
|
|
|
</dependency>
|
2015-10-14 18:11:52 -04:00
|
|
|
|
2015-10-21 07:57:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.thymeleaf</groupId>
|
|
|
|
<artifactId>thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-05-14 17:38:40 -04:00
|
|
|
<groupId>com.helger</groupId>
|
|
|
|
<artifactId>ph-schematron</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>Saxon-HE</artifactId>
|
|
|
|
<groupId>net.sf.saxon</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-10-21 07:57:42 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-05-14 17:38:40 -04:00
|
|
|
<groupId>com.helger</groupId>
|
|
|
|
<artifactId>ph-commons</artifactId>
|
2015-10-21 07:57:42 -04:00
|
|
|
</dependency>
|
|
|
|
|
2015-11-27 14:59:53 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-10-08 17:38:14 -04:00
|
|
|
<!-- Don't force OSGi users to use a newer version of SLF4j than we need -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j_target_version}</version>
|
|
|
|
</dependency>
|
2015-10-14 18:11:52 -04:00
|
|
|
|
2017-08-13 14:39:47 -04:00
|
|
|
<!--
|
|
|
|
Optional dependencies from RI codebase
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>es.nitaur.markdown</groupId>
|
|
|
|
<artifactId>txtmark</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xpp3</groupId>
|
|
|
|
<artifactId>xpp3</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2015-09-09 07:30:57 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2015-09-19 11:00:57 -04:00
|
|
|
<plugins>
|
2016-12-04 21:09:28 -05:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/ca/uhn/fhir/rest/server/interceptor/CorsInterceptor.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
2015-10-21 07:57:42 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copySources</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<copy todir="target/sources">
|
2016-08-29 09:39:13 -04:00
|
|
|
<fileset dir="../hapi-fhir-base/src/main/java">
|
|
|
|
<exclude name="**/TestUtil.java"/>
|
|
|
|
</fileset>
|
2015-10-21 07:57:42 -04:00
|
|
|
<fileset dir="../hapi-fhir-structures-dstu2/src/main/java" />
|
|
|
|
<fileset dir="../hapi-fhir-structures-dstu2/target/generated-sources/tinder" />
|
|
|
|
<fileset dir="../hapi-fhir-structures-hl7org-dstu2/src/main/java" />
|
2016-02-01 08:55:58 -05:00
|
|
|
<fileset dir="../hapi-fhir-structures-dstu3/src/main/java" />
|
2017-08-13 14:39:47 -04:00
|
|
|
<fileset dir="../hapi-fhir-structures-r4/src/main/java" />
|
2015-10-21 07:57:42 -04:00
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>target/sources</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-19 11:00:57 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2015-10-14 18:11:52 -04:00
|
|
|
<!--<Export-Package>ca.uhn.fhir</Export-Package> <Export-Package>org.hl7.fhir</Export-Package> -->
|
2016-06-14 18:52:47 -04:00
|
|
|
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
2015-10-14 18:11:52 -04:00
|
|
|
<!--<Embed-Dependency>*;scope=!provided|test</Embed-Dependency> <Embed-Directory>lib</Embed-Directory> <Embed-Transitive>true</Embed-Transitive> -->
|
2016-01-19 20:04:36 -05:00
|
|
|
<_nouses>true</_nouses>
|
2016-06-14 18:52:47 -04:00
|
|
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
2015-09-19 11:00:57 -04:00
|
|
|
<!-- <Private-Package>org.foo.myproject.*</Private-Package> <Bundle-Activator>org.foo.myproject.impl1.Activator</Bundle-Activator> -->
|
2015-10-21 07:57:42 -04:00
|
|
|
<!-- <Embed-Dependency>*;scope=compile|runtime;inline=false;artifactId=hapi-fhir-*</Embed-Dependency> -->
|
|
|
|
<Import-Package>
|
|
|
|
!ca.uhn.*,
|
|
|
|
!org.hl7.*,
|
2016-01-19 20:04:36 -05:00
|
|
|
com.ctc.wstx.api;version="4.4";resolution:=optional,
|
|
|
|
com.ctc.wstx.*;version="4.4";resolution:=optional,
|
|
|
|
com.google.*;resolution:=optional;-remove-attribute:=version,
|
2018-05-14 17:38:40 -04:00
|
|
|
com.helger.commons;resolution:=optional;-remove-attribute:=version,
|
|
|
|
com.helger.*;resolution:=optional;-remove-attribute:=version,
|
2016-06-14 18:52:47 -04:00
|
|
|
javassist;-remove-attribute:=version,
|
2016-01-19 20:04:36 -05:00
|
|
|
javax.*;-remove-attribute:=version,
|
|
|
|
net.sf.saxon;resolution:=optional,
|
|
|
|
org.apache.commons.*;-remove-attribute:=version,
|
|
|
|
org.apache.http.client.protocol;version="4.0",
|
|
|
|
org.apache.http.*;version="4.0",
|
|
|
|
org.codehaus.stax2;resolution:=optional;-remove-attribute:=version,
|
|
|
|
org.codehaus.stax2.*;resolution:=optional;-remove-attribute:=version,
|
|
|
|
org.oclc.purl.*;-remove-attribute:=version,
|
|
|
|
org.slf4j.*;-remove-attribute:=version,
|
|
|
|
org.xmlpull.v1;resolution:=optional,
|
2015-10-21 07:57:42 -04:00
|
|
|
*
|
|
|
|
</Import-Package>
|
2015-09-19 11:00:57 -04:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>bundle</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-10-01 18:37:00 -04:00
|
|
|
|
|
|
|
<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>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2015-09-19 11:00:57 -04:00
|
|
|
</plugins>
|
2015-09-09 07:30:57 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
2015-10-21 07:57:42 -04:00
|
|
|
<resource>
|
|
|
|
<directory>../hapi-fhir-base/src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../hapi-fhir-structures-dstu/src/main/resources</directory>
|
2015-10-21 09:54:32 -04:00
|
|
|
<filtering>false</filtering>
|
2015-10-21 07:57:42 -04:00
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../hapi-fhir-structures-dstu/target/generated-resources/tinder</directory>
|
2015-10-21 09:54:32 -04:00
|
|
|
<filtering>false</filtering>
|
2015-10-21 07:57:42 -04:00
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../hapi-fhir-structures-dstu2/src/main/resources</directory>
|
2015-10-21 09:54:32 -04:00
|
|
|
<filtering>false</filtering>
|
2015-10-21 07:57:42 -04:00
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../hapi-fhir-structures-dstu2/target/generated-resources/tinder</directory>
|
2015-10-21 09:54:32 -04:00
|
|
|
<filtering>false</filtering>
|
2015-10-21 07:57:42 -04:00
|
|
|
</resource>
|
|
|
|
<resource>
|
2016-01-19 20:04:36 -05:00
|
|
|
<directory>../hapi-fhir-structures-hl7org-dstu2/src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
2016-02-01 08:55:58 -05:00
|
|
|
<directory>../hapi-fhir-structures-dstu3/src/main/resources</directory>
|
2016-01-19 20:04:36 -05:00
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<!--
|
|
|
|
<resource>
|
2016-02-01 08:55:58 -05:00
|
|
|
<directory>../hapi-fhir-structures-dstu3/target/generated-resources/tinder</directory>
|
2016-01-19 20:04:36 -05:00
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
-->
|
|
|
|
<resource>
|
|
|
|
<directory>../hapi-fhir-validation-resources-dstu2/src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
2016-02-01 08:55:58 -05:00
|
|
|
<directory>../hapi-fhir-validation-resources-dstu3/src/main/resources</directory>
|
2015-10-21 09:54:32 -04:00
|
|
|
<filtering>false</filtering>
|
2015-10-21 07:57:42 -04:00
|
|
|
</resource>
|
2015-09-09 07:30:57 -04:00
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
|
2015-10-21 07:57:42 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-09 07:30:57 -04:00
|
|
|
</project>
|