Hi, I have a database specific resource file which needs to copy to "classes/META-INF" and as a result, package into the jar file, for example, hsql.properties, mysql.properties, etc. I specify this database property in POM, and default value is "hsql".
The problem is that I only use hsql for my unit test. So if I just do "mvn test", it works perfectly. But if I do "mvn -Ddb=mysql package", I got a problem, apparently. mysql.properties is copied to "class/META-INF" and broke my unit tests, which are executed before package phase and using "hsql" database. Any suggestions? Thanks, -- View this message in context: http://www.nabble.com/Use-different-database-for-test-and-package-phase-tf2146572.html#a5926419 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
