I have a pom whichs builds a WAR file and finally runs a lot of JUnit tests. This was always triggered like this: -e install -Dload_properties -Drun_dummy_test -Drebuild_war -Drun_tests
Now I want to add clean to this command, so now it's like this: -e clean install -Dload_properties -Drun_dummy_test -Drebuild_war -Drun_tests As a result of the clean the testOutputDirectory, which was populated with all kind of JUnit classes by one of the modules, is now being cleared in the latest project 'PV_Web'. This latest project is the one at which point the JUnit test should run. But because of the clean goal, this testOutputDirectory is cleared. So there is nothing to test! Is there a way to avoid this directory from be cleared out, but still have the clean option in my command? -- View this message in context: http://www.nabble.com/testOutputDirectory-is-cleared-when-using-a-clean-goal-tp24549829p24549829.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
