debian: When building packages run a Maven clean first

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2336d478
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2336d478
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2336d478

Branch: refs/heads/ui-vpc-redesign
Commit: 2336d478beca8c3d17fbf76bbf09f915906bdea8
Parents: 1201d62
Author: Wido den Hollander <[email protected]>
Authored: Thu May 23 23:19:03 2013 +0200
Committer: Wido den Hollander <[email protected]>
Committed: Thu May 23 23:19:03 2013 +0200

----------------------------------------------------------------------
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2336d478/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index e381b1a..48485bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ build: build-indep
 build-indep: build-indep-stamp
 
 build-indep-stamp: configure
-       mvn package -Pawsapi -DskipTests -Dsystemvm \
+       mvn clean package -Pawsapi -DskipTests -Dsystemvm \
         -Dcs.replace.properties=replace.properties.tmp \
                ${ACS_BUILD_OPTS}
        touch $@

Reply via email to