Hi, I have a maven-antrun-plugin that must execute before running the test suit to make sure that my database schema is in sync with the code. That works fine. However, I would like for this task to only execute when tests are actually run. That is if I set maven.test.skip=true I would prefer for the schema to not be upgraded.
The reason being that I may be just working on the code and do not want to upgrade the schema until I am ready to others to see my changes (which means the code changes can be committed, as they at least compile). Is there any way to achieve this? I try to set the plugin to the test-compile phase, but it seem to execute even when the tests are not run. Any advise on what is the best way to get to this? Jose Alberto -- View this message in context: http://www.nabble.com/Preconditions-for-testing-tf3964476s177.html#a11251589 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
