Good try however 'process-resources' executes 'resources:resources' which 
copies and processes the resources (such as *.properties) into the destination 
directory, ready for packaging, that goal does not copy JSP and the other web 
files.  The closest goal to what my team needs is 'war:exploded', which I use 
on other web apps and it works perfectly.  This particular webapp has several 
XML config files that keep a stream open so when the XML files are copied via 
'war:exploded' the goal fails because of the file lock.  

Does anyone know of a way to filter 'war:exploded' ONLY when 'war:exploded' is 
executed directly, obviously I don't want to filter 'war:exploded' when an 
'install' is done because I want 'install' to copy all files, not just the 
filtered files.


Thanks,

Scott Williams

> -------- Original Message --------
> Subject: Re: [m2] How to copy JSPs and other web files?
> From: Gwyn <[EMAIL PROTECTED]>
> Date: Wed, May 03, 2006 9:38 am
> To: [email protected]
> 
> I've not tested it, but isn't that the job of the 'process-resources' phase,
> so won't 'mvn process-resources' (or mvn compile) do what you want?
> --
> View this message in context: 
> http://www.nabble.com/-m2-How-to-copy-JSPs-and-other-web-files--t1544917.html#a4211408
> Sent from the Maven - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to