Add DynamicImport-Package to OSGi headers

If you cache domain models (i.e. via the Serialization-Codec) within an
OSGi-environment and want to retrieve those back you will hit
ClassNotFoundException as the Redis-Bundle doesn't import the
appropriate packages. One way to avoid this would be the additional
"<DynamicImport-Package>*</DynamicImport-Package>" declaration for the
OSGi headers,
pull/411/head
Philipp Marx 9 years ago
parent 9c67999d1a
commit d25739e1d8

@ -364,6 +364,7 @@
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<DynamicImport-Package>*</DynamicImport-Package>
</instructions>
</configuration>
</plugin>

Loading…
Cancel
Save