I converted my build to be able to run jetty:run for development. Now my tests don't get the correct JDBC permissions.

target/classes/jdbc.properties contains the correct property values, but running:

mvn -o -Dtest=BillingDaoTest -Dsurefire.useFile=false test

Shows that it is trying to connect to a default MySQL setup.

I see this output:

[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to /Users/adam/Temporary/vsm/target/ test-classes
[INFO] [dbunit:operation {execution: test-compile}]
[INFO] [surefire:test]
[INFO] Surefire report directory: /Users/adam/Temporary/vsm/target/ surefire-reports

So maybe the file needs to be copied into "test-classes"?

Any ideas?

Thanks,

A.

--
Adam Sherman
Technologist
+1 (613) 797-6819 | http://www.sherman.ca/ | sip:[EMAIL PROTECTED]



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

Reply via email to