2018-02-27 12:52:47 -05:00
|
|
|
<?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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-deployable-pom</artifactId>
|
2019-02-06 20:02:28 -05:00
|
|
|
<version>3.8.0-SNAPSHOT</version>
|
2018-03-28 06:15:28 -04:00
|
|
|
<relativePath>../../hapi-deployable-pom/pom.xml</relativePath>
|
2018-02-27 12:52:47 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir.karaf</groupId>
|
|
|
|
<artifactId>hapi-fhir</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>HAPI FHIR - Apache Karaf :: Features</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<features.file>features.xml</features.file>
|
2018-12-14 11:11:28 -05:00
|
|
|
<pax_logging_version>1.10.1</pax_logging_version>
|
|
|
|
<felix_framework_version>3.2.2</felix_framework_version>
|
|
|
|
<osgi_version>6.0.0</osgi_version>
|
|
|
|
<configadmin_version>1.9.10</configadmin_version>
|
|
|
|
<aries_blueprint_api_version>1.0.1</aries_blueprint_api_version>
|
|
|
|
<aries_blueprint_core_version>1.10.1</aries_blueprint_core_version>
|
2018-02-27 12:52:47 -05:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-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-dstu2.1</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-hl7org-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>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu3</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu2</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu2.1</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-converter</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- The validate plugin will export these provided dependencies bundles export packages first -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${osgi_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.logging</groupId>
|
|
|
|
<artifactId>pax-logging-api</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${pax_logging_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.logging</groupId>
|
|
|
|
<artifactId>pax-logging-service</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${pax_logging_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>org.apache.felix.framework</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${felix_framework_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>org.apache.felix.configadmin</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${configadmin_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.aries.blueprint</groupId>
|
|
|
|
<artifactId>org.apache.aries.blueprint.api</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${aries_blueprint_api_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.aries.blueprint</groupId>
|
|
|
|
<artifactId>org.apache.aries.blueprint.core</artifactId>
|
2018-12-14 11:11:28 -05:00
|
|
|
<version>${aries_blueprint_core_version}</version>
|
2018-02-27 12:52:47 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.karaf.shell</groupId>
|
|
|
|
<artifactId>org.apache.karaf.shell.core</artifactId>
|
|
|
|
<version>${apache_karaf_version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
|
|
<artifactId>framework</artifactId>
|
|
|
|
<version>${apache_karaf_version}</version>
|
|
|
|
<type>kar</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>filter</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>resources</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-artifacts</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-artifact</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifacts>
|
|
|
|
<artifact>
|
|
|
|
<file>target/classes/features.xml</file>
|
|
|
|
<type>xml</type>
|
|
|
|
<classifier>features</classifier>
|
|
|
|
</artifact>
|
|
|
|
</artifacts>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-05-16 14:24:55 -04:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
The karaf verification step doesn't happen by default
|
|
|
|
because it doesn't seem to work on Windows.
|
|
|
|
|
|
|
|
See https://github.com/jamesagnew/hapi-fhir/issues/921
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<id>DIST</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
|
|
<artifactId>karaf-maven-plugin</artifactId>
|
|
|
|
<version>${apache_karaf_version}</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>file://${project.build.directory}/classes/${features.file}</descriptor>
|
|
|
|
<descriptor>mvn:org.apache.karaf.features/enterprise/${apache_karaf_version}/xml/features</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<distribution>org.apache.karaf.features:framework</distribution>
|
|
|
|
<javase>1.8</javase>
|
|
|
|
<framework>
|
|
|
|
<feature>framework</feature>
|
|
|
|
</framework>
|
|
|
|
<features>
|
|
|
|
<feature>hapi-fhir*</feature>
|
|
|
|
</features>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>validate</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2018-02-27 12:52:47 -05:00
|
|
|
</project>
|