Reputation: 9159
From where is the build time set in a project built with Maven and Hudson?
Upvotes: 0
Views: 327
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
Reputation: 9159
Actually I have found that is the time set on the machine Hudson works.
Upvotes: 0