Index: /applications/editors/josm/plugins/build-common.xml
===================================================================
--- /applications/editors/josm/plugins/build-common.xml	(revision 31037)
+++ /applications/editors/josm/plugins/build-common.xml	(revision 31038)
@@ -441,5 +441,5 @@
         </sequential>
     </target>
-    <target name="test" depends="dist, test-compile" 
+    <target name="test" depends="dist, test-clean, test-compile" 
         description="Run unit tests. OSM API (TEST) account shall be set with -Dosm.username and -Dosm.password">
         <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="../00_core_tools/jacocoant.jar" />
