• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to pick up a variable in maven.xml

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Maven 1.1-Beta-2. What I am try to do is put a variable in maven.xml.

This variable is set when I was running a script to set my clearcase view to an existing view. After that when I do:
echo $v

I was able to see the value of $v

However when I put <echo>value is $v </echo> in maven.xml and run maven war:war, output of $v is empty.

How do I get maven.xml to pick up $v variable?

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic