You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Henning P. Schmiedehausen" <hp...@intermeta.de> on 2002/12/09 16:21:33 UTC

Can you find out under which maven version we're running?

Hi,

is it possible to give a "minimum" version of maven in a project.xml
file or is it possible to query the version of maven under which one
is running for acting upon it.

Basically, my idea is to have something like this in project.xml

<dependency>
  <maven minVersion ="1.0b7"/>
</dependency>

And have the build process fail if this is not fulfilled. 

Same would be nice for jars. Having

<dependency>
  <jar>
    <name>commons-lang</name>
    <version minimum="1.0.1"/>
  </jar>
</dependency>

might help lots of projects. 

	Regards
		Henning



-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20