maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Punzalan <epunza...@exist.com>
Subject Re: [m2] Filtering resources and current time
Date Thu, 15 Dec 2005 03:03:01 GMT

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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

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


Mime
View raw message