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
>
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
>
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
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
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
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
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
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
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
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
*.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:
>>
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}
>
>
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
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
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
Hi,
I do it like this:
org.apache.maven.plugins
maven-war-plugin
${basedir}/src/main/webapp/WEB-INF
web.xml
WEB-INF
true
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
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
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
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
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
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
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
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
24 matches
Mail list logo