GitHub user hgschmie opened a pull request: https://github.com/apache/maven-plugins/pull/18
Add flag to collect MANIFEST sections. This change adds a flag to the ManifestResourceTransformer that will make it collect all additional manifest sections (non-main) and add them to the manifest of the shaded jar. This is useful if per-jar information is stored in Manifests (e.g. build information) and should still be present in the resulting shaded jar. If a section is present in one or more source jars, they are merged into a single section (TODO: add code to choose between "replace", "merge" or "fail"). You can merge this pull request into a Git repository by running: $ git pull https://github.com/hgschmie/apache-maven-plugins trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-plugins/pull/18.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #18 ---- commit 083675869f1ed691b2af1e1cbc0f71d71eb339bb Author: Henning Schmiedehausen <henn...@schmiedehausen.org> Date: 2014-02-26T21:12:01Z Add flag to collect MANIFEST sections. This change adds a flag to the ManifestResourceTransformer that will make it collect all additional manifest sections (non-main) and add them to the manifest of the shaded jar. This is useful if per-jar information is stored in Manifests (e.g. build information) and should still be present in the resulting shaded jar. If a section is present in one or more source jars, they are merged into a single section (TODO: add code to choose between "replace", "merge" or "fail"). ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org