Re: Filtering web.xml?

2012-11-06 Thread Thomas Broyer
On Tue, Nov 6, 2012 at 4:45 PM, Billy Newman wrote: > I am trying to filter my web.xml with no luck. > > Current structure: > pom.xml > --> src > --->main > >webapp > ->WEB-INF > -->web.xml > > I have the war plugin defined as follows: > > > org.apache.maven.plugins >

Re: Filtering web.xml?

2012-11-06 Thread Tomasz Pik
On Tue, Nov 6, 2012 at 4:45 PM, Billy Newman wrote: > I am trying to filter my web.xml with no luck. > > Current structure: > pom.xml > --> src > --->main > >webapp > ->WEB-INF > -->web.xml > > I have the war plugin defined as follows: > > > org.apache.maven.plugins >

Re: filtering web.xml

2009-05-06 Thread the_tfulton
Hi, Just to build on this a bit, the maven plugin definitely supports the filtering of resources (outside of WEB-INF/classes). Here is a full config which filters web.xml (*.xml, actually) and places it in the WEB-INF directory: org.apac

Re: filtering web.xml

2008-06-20 Thread Henri Gomez
Any news about this problem ? 2008/5/17 Henri Gomez <[EMAIL PROTECTED]>: > 2008/5/17 Tim Kettler <[EMAIL PROTECTED]>: >> There's currently a discussion on the dev list [1] about releasing the next >> version of the war plugin. I posted there yesterday that this bug should be >> fixed before a rele

Re: filtering web.xml

2008-05-17 Thread Henri Gomez
2008/5/17 Tim Kettler <[EMAIL PROTECTED]>: > There's currently a discussion on the dev list [1] about releasing the next > version of the war plugin. I posted there yesterday that this bug should be > fixed before a release, you can express your opinion there as well. I'll send a note on the dev l

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
There's currently a discussion on the dev list [1] about releasing the next version of the war plugin. I posted there yesterday that this bug should be fixed before a release, you can express your opinion there as well. Additionally, you can vote on the bug report in jira, to make it more visib

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
There is a patch provided in http://jira.codehaus.org/browse/MWAR-133. How can I contact the maintener for a fix ? 2008/5/16 Henri Gomez <[EMAIL PROTECTED]>: > I tested with 2.1-alpha and same problem ;( > > 2008/5/16 Tim Kettler <[EMAIL PROTECTED]>: >> It's a bug in the war plugin. The resource

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
I tested with 2.1-alpha and same problem ;( 2008/5/16 Tim Kettler <[EMAIL PROTECTED]>: > It's a bug in the war plugin. The resource filtering is seriously borked > there, see here [1] for a bug report back from Nov 2007. The obvious and > simple workaround would be to filter web.xml as a normal re

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
It's a bug in the war plugin. The resource filtering is seriously borked there, see here [1] for a bug report back from Nov 2007. The obvious and simple workaround would be to filter web.xml as a normal resource in a custom invocation of the resource plugin. But unfortunately there is a bug in

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
I suspect something weird in maven-war plugin (2.0.2) since I get the same error from m2eclipse which use maven 2.1 embedded 2008/5/16 Henri Gomez <[EMAIL PROTECTED]>: > *.version => pom.version > > *.name => pom.name > > 2008/5/16 Henri Gomez <[EMAIL PROTECTED]>: >> Problem in maven-war 2.0.2 or

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
*.version => pom.version *.name => pom.name 2008/5/16 Henri Gomez <[EMAIL PROTECTED]>: > Problem in maven-war 2.0.2 or in maven 2.0.9 ? > > 2008/5/16 Tim Kettler <[EMAIL PROTECTED]>: >> Strange, indeed. >> >> Looks like a bug to me. I tried with this in web.xml and no filter property >> files: >>

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
Problem in maven-war 2.0.2 or in maven 2.0.9 ? 2008/5/16 Tim Kettler <[EMAIL PROTECTED]>: > Strange, indeed. > > Looks like a bug to me. I tried with this in web.xml and no filter property > files: > > pom.name: ${pom.name} > user.name: ${user.name} > name: ${name} > foo.name: ${foo.name} > >

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
Strange, indeed. Looks like a bug to me. I tried with this in web.xml and no filter property files: pom.name: ${pom.name} user.name: ${user.name} name: ${name} foo.name: ${foo.name} pom.version: ${pom.version} os.version: ${os.version} version: ${version} foo.version: ${foo.ve

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
Strange. I could get thru filter ${user.home} or ${java.version} but not ${user.name} Any idea ? 2008/5/16 Henri Gomez <[EMAIL PROTECTED]>: > Many thanks Tim. > > I was using the same thing, excepted WEB-INF > > It works now ! > > 2008/5/16 Tim Kettler <[EMAIL PROTECTED]>: >> Hi, >> >> I do it l

Re: filtering web.xml

2008-05-16 Thread Henri Gomez
Many thanks Tim. I was using the same thing, excepted WEB-INF It works now ! 2008/5/16 Tim Kettler <[EMAIL PROTECTED]>: > Hi, > > I do it like this: > > > > >org.apache.maven.plugins >maven-war-plugin > > > > ${basedir}/src/m

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
Hi, I do it like this: org.apache.maven.plugins maven-war-plugin ${basedir}/src/main/webapp/WEB-INF web.xml WEB-INF true

Re: filtering web.xml

2006-10-30 Thread Valerio Schiavoni
for sake of completeness, i also tried with maven-war-plugin version 2.0.1 . here is the stacktrace: [INFO] Failure Embedded error: IOException parsing XML document from ServletContext resource [/${dbms.filter}]; nested exception is java.io.FileNotFoundException: Could not open ServletContext re

Re: filtering web.xml with profile properties

2006-09-17 Thread franz see
ertnutler wrote: > > strange. i got it to work by changing the resource directory from > ${basedir}/src/main/webapp/WEB-INF to ${basedir}/src/main/webapp. i can't > explain why it doesn't work for WEB-INF... > Good day to you, ertnutler, If it works with a property file, then that's most l

Re: filtering web.xml with profile properties

2006-09-15 Thread ertnutler
strange. i got it to work by changing the resource directory from ${basedir}/src/main/webapp/WEB-INF to ${basedir}/src/main/webapp. i can't explain why it doesn't work for WEB-INF... -- View this message in context: http://www.nabble.com/filtering-web.xml-with-profile-properties-tf2272626.html

Re: filtering web.xml with profile properties

2006-09-15 Thread ertnutler
it works fine when i use a filter file, but i want to use properties defined in profiles. the resources plugin uses them appropriately. any idea when the war plugin will do the same? -- View this message in context: http://www.nabble.com/filtering-web.xml-with-profile-properties-tf2272626.html

Re: filtering web.xml with profile properties

2006-09-14 Thread franz see
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 op

Re: filtering web.xml

2006-05-21 Thread Marco Mistroni
Hello Mark, thx... it worked just fine rgds marco On 5/21/06, Mark Hobson <[EMAIL PROTECTED]> wrote: Just tested whether web resource filtering also filters web.xml and it does. Check this thread for details on web resource filtering itself: http://www.nabble.com/War+plugin+and+filteri

Re: filtering web.xml

2006-05-21 Thread Mark Hobson
Just tested whether web resource filtering also filters web.xml and it does. Check this thread for details on web resource filtering itself: http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.html Mark On 21/05/06, Kevin Galligan <[EMAIL PROTECTED]> wrote: I've been having s

Re: filtering web.xml

2006-05-21 Thread Kevin Galligan
I've been having some issues with things like this in the war build. There is a way to process resources in the war build plugin. You'll have to dig around the mailing list for 'webResources'. If what you want to do is more complicated, you can take a look at this thread... http://www.nabble.c