Not sure this went through the first time, but I was using 2.0.7, and upgrading to 2.0.8 resolved the issue.
Thanks! Dhruva -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thu 03-Jan-08 20:03 To: Maven Users List Subject: Re: Managing Test and Production Resources with Maven 2 On Jan 3, 2008 5:58 PM, Dhruva Reddy <[EMAIL PROTECTED]> wrote: > However, when I run the "package" goal, which runs the unit tests before > creating the WAR file, I can see that both versions of the file make it > into the "target" directory, one under "classes" and one under > "test-classes". The problem is that during execution of the JUnit > tests, the version of the file under "classes" (intended for execution > within a container) appears to get picked up first (the JUnit tests > complain that the DataSource is unavailable and fail). What version of Maven are you using? It sounds like MNG-3118, which was fixed in 2.0.8. http://jira.codehaus.org/browse/MNG-3118 -- Wendy --------------------------------------------------------------------- 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]
