Maven JAR Plugin
  1. Maven JAR Plugin
  2. MJAR-85

I want to be able to specify dynamic data for manifestEntries

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      XP
    • Number of attachments :
      0

      Description

      In the configuration - archive - manifestEntries section I want to be able to specify dynamic data for manifestEntries. The dynamic data is the version of dependent artifacts.

      E.x. If I have a dependency on artifactId=abc version=[1.0,2.0)
      I want to have a manifest Entry of something like:
      <myEntry>$

      {abc.version}

      </myEntry>

      where the end result is that in the MANIFEST file I will have:
      myEntry: 1.23

        Activity

        Hide
        Olivier Lamy added a comment -

        Have a look at http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html
        The manifestEntries attribute should that.
        Can you test that and add a comment ?
        Thanks.

        Show
        Olivier Lamy added a comment - Have a look at http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html The manifestEntries attribute should that. Can you test that and add a comment ? Thanks.

          People

          • Assignee:
            Unassigned
            Reporter:
            David Hoffer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: