ertnutler wrote:
> 
> I can't for the life of me figure out how to have the maven-war-plugin
> filter my web.xml with properties from my profiles.  i've read this
> thread:
> 
> http://www.nabble.com/War-plugin-and-filtering-webapp-files-t1617964.html
> 
> and i've tried all the configuration options mentioned there--except
> providing the filter files.  this thread seems to provide a solution if i
> want to have properties files as my filter source, but i want to have
> profiles, so i can take advantage of the inheritance of them to avoid
> having to redefine variables multiple times.  this works fine for files in
> my webapp that aren't web.xml (i.e., those in src/main/resources).  i was
> hoping that the solution to MWAR-41 would provide what i'm looking for,
> but it doesn't.
> 
> does anybody have web.xml filtering with profile properties working?  if
> so, can you post an example?
> 
> thanks in advance...
> 

Good day to you, ertnutler,

Try creating a property file and have your pom reference that. If the
filtering suddenly works, then what you're experiencing is a bug (see [1]).

Cheers,
Franz

[1] http://jira.codehaus.org/browse/MWAR-67
-- 
View this message in context: 
http://www.nabble.com/filtering-web.xml-with-profile-properties-tf2272626.html#a6317667
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to