mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-17 18:35:50 +00:00
OSGi manifest maintenance (#2217)
* manifest cleanup and delete Fragment-Host * make hapi-fhir-server-empi into an OSGi bundle
This commit is contained in:
parent
f228b4a167
commit
84d9854e24
@ -154,6 +154,9 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<DynamicImport-Package>*</DynamicImport-Package>
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
<!--required when using servers-->
|
<!--required when using servers-->
|
||||||
ca.uhn.fhir.rest.api.server;resolution:=optional,
|
ca.uhn.fhir.rest.api.server;resolution:=optional,
|
||||||
|
@ -67,9 +67,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>hapi-fhir-server-mdm</artifactId>
|
<artifactId>hapi-fhir-server-mdm</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>bundle</packaging>
|
||||||
|
|
||||||
<name>HAPI FHIR - Master Data Management</name>
|
<name>HAPI FHIR - Master Data Management</name>
|
||||||
|
|
||||||
@ -134,6 +134,17 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
</instructions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
@ -310,9 +310,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
javax.servlet*;resolution:=optional,
|
javax.servlet*;resolution:=optional,
|
||||||
*
|
*
|
||||||
|
@ -397,9 +397,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
javax.servlet*;resolution:=optional,
|
javax.servlet*;resolution:=optional,
|
||||||
*
|
*
|
||||||
|
@ -34,9 +34,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -319,9 +319,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
javax.servlet*;resolution:=optional,
|
javax.servlet*;resolution:=optional,
|
||||||
*
|
*
|
||||||
|
@ -376,9 +376,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -344,9 +344,13 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -27,9 +27,20 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
|
<!-- maven-bundle-plugin does not generate
|
||||||
|
exports for resource packages -->
|
||||||
|
<Export-Package>
|
||||||
|
org.hl7.fhir.dstu2016may.model.profile;version="${project.version}",
|
||||||
|
org.hl7.fhir.dstu2016may.model.schema;version="${project.version}",
|
||||||
|
org.hl7.fhir.dstu2016may.model.valueset;version="${project.version}"
|
||||||
|
</Export-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -27,9 +27,20 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
|
<!-- maven-bundle-plugin does not generate
|
||||||
|
exports for resource packages -->
|
||||||
|
<Export-Package>
|
||||||
|
org.hl7.fhir.instance.model.profile;version="${project.version}",
|
||||||
|
org.hl7.fhir.instance.model.schema;version="${project.version}",
|
||||||
|
org.hl7.fhir.instance.model.valueset;version="${project.version}"
|
||||||
|
</Export-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -41,9 +41,21 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
|
<!-- maven-bundle-plugin does not generate
|
||||||
|
exports for resource packages -->
|
||||||
|
<Export-Package>
|
||||||
|
org.hl7.fhir.dstu3.model.extension;version="${project.version}",
|
||||||
|
org.hl7.fhir.dstu3.model.profile;version="${project.version}",
|
||||||
|
org.hl7.fhir.dstu3.model.schema;version="${project.version}",
|
||||||
|
org.hl7.fhir.dstu3.model.valueset;version="${project.version}"
|
||||||
|
</Export-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -41,9 +41,21 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
|
<!-- maven-bundle-plugin does not generate
|
||||||
|
exports for resource packages -->
|
||||||
|
<Export-Package>
|
||||||
|
org.hl7.fhir.r4.model.extension;version="${project.version}",
|
||||||
|
org.hl7.fhir.r4.model.profile;version="${project.version}",
|
||||||
|
org.hl7.fhir.r4.model.schema;version="${project.version}",
|
||||||
|
org.hl7.fhir.r4.model.valueset;version="${project.version}"
|
||||||
|
</Export-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -41,9 +41,20 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
|
<!-- maven-bundle-plugin does not generate
|
||||||
|
exports for resource packages -->
|
||||||
|
<Export-Package>
|
||||||
|
org.hl7.fhir.r5.model.extension;version="${project.version}",
|
||||||
|
org.hl7.fhir.r5.model.profile;version="${project.version}",
|
||||||
|
org.hl7.fhir.r5.model.valueset;version="${project.version}"
|
||||||
|
</Export-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -355,9 +355,34 @@
|
|||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<instructions>
|
||||||
|
<_nouses>true</_nouses>
|
||||||
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
||||||
|
<!-- No need to disable normal OSGi class loading
|
||||||
<Fragment-Host>
|
<Fragment-Host>
|
||||||
ca.uhn.hapi.fhir.hapi-fhir-base
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
||||||
</Fragment-Host>
|
</Fragment-Host>
|
||||||
|
-->
|
||||||
|
<!-- add imports for validation resource packages -->
|
||||||
|
<Import-Package>
|
||||||
|
org.hl7.fhir.instance.model.profile;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.instance.model.schema;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.instance.model.valueset;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu2016may.model.profile;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu2016may.model.schema;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu2016may.model.valueset;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu3.model.extension;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu3.model.profile;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu3.model.schema;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.dstu3.model.valueset;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r4.model.extension;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r4.model.profile;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r4.model.schema;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r4.model.valueset;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r5.model.extension;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r5.model.profile;version="${project.version}";resolution:=optional,
|
||||||
|
org.hl7.fhir.r5.model.valueset;version="${project.version}";resolution:=optional,
|
||||||
|
*
|
||||||
|
</Import-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user