Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-287

support jar style custom manifest entries in assemblies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.1
    • Maven Plugins
    • None
    • 13477

    Description

      In our jar, war, and ear builds we add custom build time information into the MANIFEST.MF file. For example, we add build time stamps, and svn information. This patch attempts to do the same for assemblies, using a custom assembly level attribute.

      e.g., in your pom, put something like this:

      <plugin>
      <groupId>npanday.plugin</groupId>
      <artfiactId>maven-compile-plugin</artifactId>
      <configuration>
      <assemblyInfo>
      <svn.version>${my.svn.version}</svn.version>
      <asdf>${any.normal.maven.property}</asdf>
      </assemblyInfo>
      </configuration>
      </plugin>

      Attachments

        Activity

          People

            Unassigned Unassigned
            supkichen supkichen
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: