You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2020/02/06 14:01:34 UTC

[shade] rewrite the manifest too

Hi all,

Using maven shade to relocate packages, I realized it breaks OSGi
environments cause the manifest is not rewritten.
I did a quick hack to solve it at
https://github.com/apache/maven-shade-plugin/pull/38. Even if it can be
enhanced parsing OSGi entries as bnd does, I guess it is enough for most
cases.
Tracking ticket is here https://issues.apache.org/jira/browse/MSHADE-350.

I would be happy to get some feedback before moving forward.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>