Random42
Random42

Reputation: 9159

Build timestamp using Hudson and Maven?

From where is the build time set in a project built with Maven and Hudson?

Upvotes: 0

Views: 327

Answers (2)

user2091011
user2091011

Reputation: 26

Use this plugin:

<plugin>
   <groupId>com.keyboardsamurais.maven</groupId>
   <artifactId>maven-timestamp-plugin</artifactId>
   <version>1.0</version>
   <configuration>
    <propertyName>timestamp</propertyName>
    <timestampPattern>dd.MM.yyyy HH:mm</timestampPattern>
   </configuration>
   <executions>
    <execution>
     <goals>
      <goal>create</goal>
     </goals>
    </execution>
   </executions>
  </plugin>

Upvotes: 1

Random42
Random42

Reputation: 9159

Actually I have found that is the time set on the machine Hudson works.

Upvotes: 0

Related Questions