What led you to believe the ${build.date} parameter was valid? I'm
wondering if perhaps some documentation needs to be altered, or if you
just made it up, etc.

This topic was covered recently in the following discussion:
        to              Maven Users List <[email protected]> 
        date            Feb 18, 2007 11:16 AM   
        subject         Built-On date for my manifest   

Search the archives at Nabble.com for this specific thread.

Wayne

On 3/21/07, Lewandowski, Eric <[EMAIL PROTECTED]> wrote:
Hi

is somebody know how to get the date on the build via a maven property ?
Here's the build section of my pom... but build.date doesn't work.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <version>2.1</version>
  <configuration>
    <archive>
      <manifest>
        <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
        <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
        <addClasspath>true</addClasspath>
      </manifest>
      <manifestEntries>
        <build-date>${build.date}</build-date>
      </manifestEntries>
    </archive>
  </configuration>
</plugin>

Thanks.
Eric Lewandowski



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to