You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by hgschmie <gi...@git.apache.org> on 2014/02/26 22:16:17 UTC

[GitHub] maven-plugins pull request: Add flag to collect MANIFEST sections.

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 <he...@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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[GitHub] maven-plugins pull request: Add flag to collect MANIFEST sections.

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/maven-plugins/pull/18


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org