Skip to content

Commit 800cd39

Browse files
author
Marcus Sorensen
committed
RPM build - run mvn clean before building packages, to get a build from fresh
source Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369936033 -0600
1 parent 7296cca commit 800cd39

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packaging/centos63/cloud.spec‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,11 @@ echo PACKAGE=%{name} >> build/replace.properties
166166

167167
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
168168
echo "Executing mvn packaging for NONOSS ..."
169+
mvn clean
169170
mvn -Pawsapi,systemvm -Dnonoss package
170171
else
171172
echo "Executing mvn packaging for OSS ..."
173+
mvn clean
172174
mvn -Pawsapi package -Dsystemvm
173175
fi
174176

0 commit comments

Comments
 (0)