AFAIK, there is no ${} expression with the current time as value. You
may want to file a jira request for this feature though. The Maven 2
jira is here: http://jira.codehaus.org/browse/MNG
Piotr Bzdyl wrote:
Hello,
I would like to have something like this in my pom.xml
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
and in src/main/resources/app.properties:
app.buildTime=${currentTime}
to get current time (the time when I call mvn package for example) in
the place of ${currentTime}. Is there a maven built-in property
holding current time?
Best regards,
Piotrek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]