hstaudacher / osgi-jax-rs-connector

An OSGi - JAX-RS 2.0 Connector, software repository available on the link below
http://hstaudacher.github.io/osgi-jax-rs-connector
Other
190 stars 98 forks source link

Rework jersey-all bundle #69

Closed hstaudacher closed 9 years ago

hstaudacher commented 9 years ago

It seems that the maven build to create the jersey-all bundle includes all libraries in a target folder and unpacks them into source folders. This results in duplicate class files. It's not a big deal because the bundle works as expected but by reworking it we can reduce the size by half.

kaikreuzer commented 9 years ago

Cool, thanks for the quick fix! Would you want to provide another RC with that so that I directly test against this new version?

hstaudacher commented 9 years ago

I found out that when doing an "Export-Package" combined with embed dependency the maven plugin will duplicate the classes (unpacked and packed). I found a solution and managed to reduce the size of the jersey-all bundle.

Sadly it's not reduced by half but instead of 7.7MB it's now 5.3MB.

hstaudacher commented 9 years ago

@kaikreuzer I will provide another RC when we have fixed the issue described in #67 :)