diff --git a/build.gradle b/build.gradle
index 3ea901f70695acb3e5fce46049636e16adfa709d..b56912fe98fd8a407e9a53bfe0e620571bd18ce8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -51,6 +51,9 @@ apply plugin: 'base'
 	</project>
 	"""}
 
+
+
+
 subprojects {
 	
 	apply plugin: 'base'
@@ -67,16 +70,22 @@ subprojects {
 		*	Bundle-Version Number
 		*/
 	}
+	
+	task deleteArtifacts(type: Delete) {
+	  delete 'target','pom.xml'
+	}
+	
 }
 
 task deploy(dependsOn: subprojects.deploy)
 
 task install(dependsOn: deploy , type:Exec) {
 	description = "\tExecutes a 'mvn install' of the parent pom.xml and auto-generates Tycho Poms"	
-
 	commandLine 'mvn', 'install', '-f', 'de.prob.parent/pom.xml'
+}
 
-		
+clean {
+	dependsOn += subprojects.deleteArtifacts
 }