You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jean-Luc Wasmer <jl...@lists.wasmer.ca> on 2007/03/19 20:26:27 UTC

Howto run a command at the begining of a

Hi,

My project's version is defined as:

  <version>${env.SVNVERSION}-SNAPSHOT</version>

where the SVNVERSION environment variable is set before hand by a shell 
script.

How can I embed the script inside maven's build lifecycle? (it should 
run before anything else)

Right now the shell script is called by the mvn script before the JVM 
invocation but I'd rather make it an Ant task or even write a plugin 
just for that.


Jean-Luc

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