Re: [m2] ear-plugin: web module context root problem

2007-05-31 Thread Jo Vandermeeren
Have you tried to set an escaped value for your variable in case you don't have a concrete value for it? Something along the lines of: \${foo.context.root } Might just work.. Cheers Jo On 5/29/07, ertnutler <[EMAIL PROTECTED]> wrote: i'm using the maven-ear-plugin to generate my application.

Re: [m2] ear-plugin: web module context root problem

2007-05-31 Thread Stephane Nicoll
Well, ahem :) This is the value you want for the field of a Pojo. If it's not set, plexus does not set it hence it's null. I would suggest to use another pattern. HTH, Stéphane On 5/29/07, ertnutler <[EMAIL PROTECTED]> wrote: i'm using the maven-ear-plugin to generate my application.xml. the

[m2] ear-plugin: web module context root problem

2007-05-29 Thread ertnutler
i'm using the maven-ear-plugin to generate my application.xml. the problem i have is that i would like to use a profile property as the value for the webModule/contextRoot element. the catch is that sometimes i have a value for this context root, sometimes i don't. for example, when we build to