Re: How to print (echo) values from pom.xml

2011-06-10 Thread manukm07
Thanks for the information 

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-print-echo-values-from-pom-xml-tp4472327p4475153.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



Re: How to print (echo) values from pom.xml

2011-06-09 Thread Manfred Moser
e.g. the gmaven plugin..

> 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
>


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



Re: How to print (echo) values from pom.xml

2011-06-09 Thread Kees van Dieren
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 

> 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
>
>


Re: How to print (echo) values from pom.xml

2011-06-09 Thread Jesse Farinacci
Greetings,

On Thu, Jun 9, 2011 at 7:06 AM, manukm07  wrote:
> Is there a way to print/echo some values in the console, from pom.xml
> without using maven-antrun-plugin.  ?

There's no first class way of doing it. Use the maven-antrun-plugin,
or try your luck with http://code.google.com/p/maven-echo-plugin/

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

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



How to print (echo) values from pom.xml

2011-06-09 Thread manukm07
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