maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kees van Dieren <i...@squins.com>
Subject Re: How to print (echo) values from pom.xml
Date Thu, 09 Jun 2011 15:37:18 GMT
You can use maven help plugin, goal evaluate, for example:
mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate
-Dexpression=project.version

See also:
http://maven.apache.org/plugins/maven-help-plugin/evaluate-mojo.html
Best regards / Met vriendelijke groet,

Kees van Dieren
Squins | IT, Honestly
Oranjestraat 23
2983 HL Ridderkerk
The Netherlands
Phone: +31 (0)180 415559
Mobile: +31 (0)6 30413841
www.squins.com
http://twitter.com/keesvandieren
Chamber of commerce Rotterdam: 24435130
Boeken voor school en werk bestel je op studieboekencenter.nl
2011/6/9 manukm07 <manukm07@gmail.com>

> Hi,
>
> Is there a way to print/echo some values in the console, from pom.xml
> without using maven-antrun-plugin.  ?
>
> Thanks in advance
> Manu.
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/How-to-print-echo-values-from-pom-xml-tp4472327p4472327.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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