filtering web.xml

2006-05-21 Thread Marco Mistroni
hello all, i was wonderring, is there a way, in Maven2, to filter also web.xml (i placed it in src/main/webapp/WEB-INF) directory without resortingto a hardcocded ant task taht copies the file from /resources/ to webapp/WEB-INF? thanks and regards marco

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...

Re: War plugin and filtering webapp files

2006-05-21 Thread Mark Hobson
http://jira.codehaus.org/browse/MWAR-43 On 19/05/06, Jorg Heymans [EMAIL PROTECTED] wrote: i'ld file it in jira, seems like enough people have tried to use it without success. Jorg On 5/19/06, Mark Hobson [EMAIL PROTECTED] wrote: Any update on this? I'm getting a similar problem with

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

[m2] Is -U overloaded?

2006-05-21 Thread Mark Hobson
Hi all, The -U switch feels a bit overloaded to me at the moment since it updates both snapshots and plugins. The majority of the time I've wanted to update one but not the other. For example, when wanting to get a newer plugin version but not wanting to update snapshots from ci since I have

Re: Structure of an Internal Repository - POM extension

2006-05-21 Thread Mike
Ben, thanks for responding. Your answer helps, but doesn't address my real problem. Here's what I didput my repository in public_html on my local box. (Apache automatically exposes the contents of public_html.) I added a repository tag in pom.xml that points at the repository in

Maven reports test failiure eventhough tests ran fine ?

2006-05-21 Thread Shukla, Sanjay
See output below, surefire summary says - 3 test run and 0 failure or error, but build error is caused. Any idea, can I provide more info for the same ? serialNo=1, model=Roadmaster, status=Fair, bikeId=101, weight=15.0} [DEBUG] 13:51:11 Printer -

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:

Re: Structure of an Internal Repository - POM extension

2006-05-21 Thread ben short
Mike, I think Its todo with content types. This link should help http://www.nabble.com/Relative+to+content-type%2C+Is+their+convention+for+the+file+in+the+repository--t1640083.html#a4442372 When you have gotten it working maybe you could tell me what you did, hehe :) Ben On 5/21/06, Mike

Re: [M2] How to stop archetype create from filtering binaries

2006-05-21 Thread Jorg Heymans
I think you can set properties in the archetype descriptor to switch off filtering based on file patterns. I couldn't find the documentation for this though, and going through jira also didn't bring anything. Perhaps someone else can confirm this ? I could've sworn i saw a patch for this

Re: Structure of an Internal Repository - POM extension

2006-05-21 Thread ben short
Mike, I have added the following to my settings.xml profile idinternal/id repositories repository idinternal-release/id nameInternal Release/name urlhttp://192.168.100.20/maven2/release/url /repository /repositories /profile activeProfiles

Re: [M2] How to stop archetype create from filtering binaries

2006-05-21 Thread hamdard
Found it! This is fixed in 1.0-alpha-4 - see corresponding JIRA: http://jira.codehaus.org/browse/ARCHETYPE-19 Thanks Jorg, your tip helped me to explore the JIRA. cheers -H -- View this message in context:

Re: [m2] Is -U overloaded?

2006-05-21 Thread Gordon Henriksen
On 2006-05-21, at 13:04, Mark Hobson wrote: The -U switch feels a bit overloaded to me at the moment since it updates both snapshots and plugins. The majority of the time I've wanted to update one but not the other. I would fear that a lot of users won't understand the difference

Surefire: More details on failed tests--How?

2006-05-21 Thread Andreas Guther
Is there a way to get more information from surefire about test failures than just the statistics without looking at reports generated with the surefire reports plug-in? Running surefire with for example the following, gives me no information what exactly failed. My problem is, that running my

RE: Surefire: More details on failed tests--How?

2006-05-21 Thread Mike Perham
useFilefalse/useFile -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Sunday, May 21, 2006 8:47 PM To: Maven Users List Subject: Surefire: More details on failed tests--How? Is there a way to get more information from surefire about test failures than just the

Re: DocBook Maven Plugin

2006-05-21 Thread Wilfred Springer
Hi Borut, I will look into it, but it seems that the plugin does not pick up any files at all. Normally, it would print the name of the file (or the title of the document) to stdout. In your case, it only tells you the file patterns to be included, but it does not actually tell you that it

RE: Surefire: More details on failed tests--How?

2006-05-21 Thread Andreas Guther
Thank you! It always helps to look at the code. I have to remember that! I found there in addition that the command line option for this switch is as follows: -Dsurefire.useFile=false Andreas -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: Sunday, May 21, 2006

RMI plugin for Maven 1.x

2006-05-21 Thread Kanakambaran Nair
Hello, Is a plugin for doing rmic available for Maven 1.x ? Regards, Kanakambaran