Now that I'm more awake, I realize this was very much an operator error. mvn test WILL run fine, and doesn't insist on deleting files and thusly causing my error.
I saw : [INFO] ChecksumValidator: BEFORE GENERATION [INFO] Removing untouched file src/test/resources/dbunit/MessagesServiceTest.xml [INFO] Removing untouched file src/test/java/com/foo/mail/serviceapi/MessagesServiceTest.java [INFO] Removing untouched file src/test/resources/more-test.xml [INFO] Removing untouched file src/test/resources/ehcache.xml and completely ignored it was surefire that was choking while running "mvn test". Once I commented that from the build, "test" runs smoothly everytime when all I do is change a unit test. As you suggested, I commented out the checksum plugin, and no more removal of files, test files I don't touch still stick around, and things seem to be regenerated as needed. So, my new question is.... Am I at risk of losing or breaking any functionality by removing the checksum plugin? Thanks! Andreas Källberg-2 wrote: > > Hi, > Hmm, I'm not 100% sure I get you... > Is that after a complete mvn install, you change a junit test and then > before you can do mvn test you have to do a mvn generate-sources? > There is a custom checksum plugin that we use: > http://fornax.itemis.de/confluence/display/fornax/7.+Developer's+Guide+(CSC)#7.Developer%27sGuide%28CSC%29-Checksumplugin > <http://fornax.itemis.de/confluence/display/fornax/7.+Developer's+Guide+(CSC)#7.Developer%27sGuide%28CSC%29-Checksumplugin>If > it is that one that causes your problem, you can always disable it in the > pom (just remove it from the build-section). > > When I'm doing regular development I usually just launch single test cases > from inside eclipse, i.e. not involving the build process at all. > > .../Andreas > > > -- View this message in context: http://old.nabble.com/Controlling-test-phase-w-o-deleting-source-tp27403922s17564p27405406.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer