You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Richard Allen <ri...@gtri.gatech.edu> on 2005/11/10 00:15:58 UTC

[m2] Add build date to manifest?

I there a property I can use to add the build date to the manifest, like:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <Build-Date>${build.date}</Build-Date>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  ...
</project>


Also, I see here:
http://people.apache.org/~jvanzyl/maven2/guides/mini/guide-manifest.html
these entries appear to be added the to Manifest:

Specification-Vendor: MyCompany Inc
Implementation-Vendor: MyCompany Inc

however, they aren't added to my JARs by Maven 2. Is this a patch to the 
archiver that is generating these entries.

Thanks,
Richard Allen



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