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

support jar style custom manifest entries in assemblies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1
    • Component/s: Maven Plugins
    • Labels:
      None
    • Codeplex ID:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: