I have not figured out how to pass parameters from mvn command line into the test suite, but as an alternative, I came up with the following:
I have split the sql integration tests into two: tests-common and tests-served. tests-common runs the integration tests against HSQL-DB, xml and in-memory (for good measure). tests-served runs them against mysql and postgresql. The server definitions and authentication is provided by the content of the appropriate *.properties file. If the file does not exist, then defaults are used (I'd like to be able to specify the file name prefix, for example, via the maven command line?). The tests-served are only executed when the -P integration-tests profile is selected. I don't fully understand pom file content, so I made some guesses. If anyone cares to look them over, I would appreciate it. Let me know if there are problems. Please let me know if tests-common doesn't work for you. Regards, Kevin
