I really don't know if maven already has such property/variable, but is a
quite simple write a plugin to set it in the project properties. Your plugin
could have code like the snipped below:
/**
* @parameter default-value=${project}
* @required
* @readonly
*/
private MavenProject project;
/**
* @parameter default-value=-MM-dd
*/
private String format;
public void execute() throws MojoExecutionException {
String currentDate = getFormattedDate();
project.getProperties().setProperty(currentDate, currentDate);
}
Kind Regards,
On 3/8/07, MATHUS Baptiste [EMAIL PROTECTED] wrote:
Hi all,
I'm looking for the variable that could be used to declare an additional
property compilationDate in the manifest. I've been looking at this page
as a starting point :
http://maven.apache.org/guides/mini/guide-manifest.html
But I can't find anywhere on the net how the variable corresponding to
when the compilation process was started is called.
Thanks in advance.
--
Baptiste MATHUS - [EMAIL PROTECTED]
Systèmes Méthodes
MIPIH - Midi Pyrénées Informatique Hospitalière
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com