From c14c772da488a8055030c4d04520d8c0fa49de93 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Wed, 21 Oct 2015 07:57:42 -0400 Subject: [PATCH] Add all required exports to OSGi build --- hapi-fhir-cobertura/pom.xml | 1 - hapi-fhir-osgi-core/pom.xml | 91 ++++++++++++++++++++++++++++++++++++- pom.xml | 6 ++- 3 files changed, 95 insertions(+), 3 deletions(-) diff --git a/hapi-fhir-cobertura/pom.xml b/hapi-fhir-cobertura/pom.xml index 6d501dd2320..3b012a97d9f 100644 --- a/hapi-fhir-cobertura/pom.xml +++ b/hapi-fhir-cobertura/pom.xml @@ -249,7 +249,6 @@ org.codehaus.mojo build-helper-maven-plugin - ${maven_build_helper_plugin_version} add-source diff --git a/hapi-fhir-osgi-core/pom.xml b/hapi-fhir-osgi-core/pom.xml index 379682ed962..09fa0b1c576 100644 --- a/hapi-fhir-osgi-core/pom.xml +++ b/hapi-fhir-osgi-core/pom.xml @@ -42,6 +42,19 @@ 1.3-SNAPSHOT + + org.thymeleaf + thymeleaf + + + com.phloc + phloc-schematron + + + com.phloc + phloc-commons + + org.slf4j @@ -53,6 +66,49 @@ + + maven-antrun-plugin + + + copySources + generate-sources + + run + + + + + + + + + + + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + target/sources + + + + + org.apache.felix maven-bundle-plugin @@ -64,7 +120,12 @@ <_removeheaders>Built-By, Include-Resource, Private-Package - *;scope=compile|runtime;inline=false;artifactId=hapi-fhir-* + + + !ca.uhn.*, + !org.hl7.*, + * + @@ -100,7 +161,35 @@ src/main/resources true + + ../hapi-fhir-base/src/main/resources + true + + + ../hapi-fhir-structures-dstu/src/main/resources + true + + + ../hapi-fhir-structures-dstu/target/generated-resources/tinder + true + + + ../hapi-fhir-structures-dstu2/src/main/resources + true + + + ../hapi-fhir-structures-dstu2/target/generated-resources/tinder + true + + + ../hapi-fhir-structures-hl7org-dstu2/src/resources/java + true + + + + + diff --git a/pom.xml b/pom.xml index 30b26196539..c207d763b2f 100644 --- a/pom.xml +++ b/pom.xml @@ -222,7 +222,6 @@ 5.0.2.Final 5.2.1.Final 9.3.4.v20151007 - 1.9.1 2.5.3 2.18.1 1.8 @@ -685,6 +684,11 @@ maven-war-plugin 2.6 + + org.codehaus.mojo + build-helper-maven-plugin + 1.9.1 + org.codehaus.mojo cobertura-maven-plugin