Skip to content
Snippets Groups Projects
Commit 20805568 authored by Jens Bendisposto's avatar Jens Bendisposto
Browse files

delete poms on clean

parent 31fe97dc
Branches
Tags
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment