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 <manuk...@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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to