From 361c6e80c35c03553e021057cdb7099923e6f352 Mon Sep 17 00:00:00 2001 From: Bill Denton Date: Tue, 14 Jun 2016 15:52:47 -0700 Subject: [PATCH 1/2] additional OSGi dependencies --- hapi-fhir-osgi-core/pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hapi-fhir-osgi-core/pom.xml b/hapi-fhir-osgi-core/pom.xml index f11c34b0afb..601fc310ab0 100644 --- a/hapi-fhir-osgi-core/pom.xml +++ b/hapi-fhir-osgi-core/pom.xml @@ -132,10 +132,10 @@ - ${pom.artifactId} + ${project.artifactId} <_nouses>true - <_removeheaders>Built-By, Include-Resource, Private-Package + <_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability @@ -146,6 +146,7 @@ com.google.*;resolution:=optional;-remove-attribute:=version, com.phloc.commons;resolution:=optional;-remove-attribute:=version, com.phloc.*;resolution:=optional;-remove-attribute:=version, + javassist;-remove-attribute:=version, javax.*;-remove-attribute:=version, net.sf.saxon;resolution:=optional, org.apache.commons.*;-remove-attribute:=version, From 4e83b59d3ce3438b65e3ecd35936100d4b1bf3aa Mon Sep 17 00:00:00 2001 From: Bill Denton Date: Tue, 14 Jun 2016 19:30:06 -0700 Subject: [PATCH 2/2] make FhirServerImpl visible in OSGi --- .../main/java/ca/uhn/fhir/osgi/{impl => }/FhirServerImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/{impl => }/FhirServerImpl.java (97%) diff --git a/hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/impl/FhirServerImpl.java b/hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/FhirServerImpl.java similarity index 97% rename from hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/impl/FhirServerImpl.java rename to hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/FhirServerImpl.java index fbf0da4dc3e..07d81c40c80 100644 --- a/hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/impl/FhirServerImpl.java +++ b/hapi-fhir-osgi-core/src/main/java/ca/uhn/fhir/osgi/FhirServerImpl.java @@ -1,4 +1,4 @@ -package ca.uhn.fhir.osgi.impl; +package ca.uhn.fhir.osgi; /* * #%L @@ -31,8 +31,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.osgi.FhirConfigurationException; -import ca.uhn.fhir.osgi.FhirServer; import ca.uhn.fhir.rest.server.RestfulServer; /**