maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Black" <ebl...@concord.org>
Subject Re: Getting the value of a maven property at the command prop
Date Wed, 08 Dec 2004 19:43:28 GMT
Hi,

If you know the name of the property, you could use the ant:echo task in a
maven.xml file to print it out. Like:

<project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
  <ant:echo message="PROPERTY ${maven.build.dir}" />
</project>

just put the file in your project directory and run any maven task and the
property will be echoed.

Eric


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message