Hello Giovanni,

I believe that maven-debian-helper 0.7 has fixed this bug, at least
there is some code in maven.mk to attempt to do this cleanup

# Detects that the files are created
cdbs_new_poms_file := $(shell test ! -f debian/$(DEB_JAR_PACKAGE).poms
&& echo yes)
cdbs_new_poms_filecdbs_new_maven_rules_file := $(shell test ! -f
debian/maven.rules && echo yes)

# Do the cleanup
cleanbuilddir:: maven-sanity-check post-patches debian/maven-repo
        -$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_CLEAN_TARGET)
        $(RM) -r $(DEB_MAVEN_REPO) debian/stamp-maven-build
        $(if $(cdbs_new_poms_file), $(RM) debian/$(DEB_JAR_PACKAGE).poms)
        $(if $(cdbs_new_maven_rules_file), $(RM) debian/maven.rules)
        $(if $(cdbs_use_maven_substvars), $(RM) debian/*.substvars)

Tell me if this doesn't work well for you.

Ludovic




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to