mirror of https://github.com/apache/cloudstack.git
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
This commit is contained in:
parent
7296cca9ac
commit
800cd391d5
|
|
@ -166,9 +166,11 @@ echo PACKAGE=%{name} >> build/replace.properties
|
|||
|
||||
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
||||
echo "Executing mvn packaging for NONOSS ..."
|
||||
mvn clean
|
||||
mvn -Pawsapi,systemvm -Dnonoss package
|
||||
else
|
||||
echo "Executing mvn packaging for OSS ..."
|
||||
mvn clean
|
||||
mvn -Pawsapi package -Dsystemvm
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue