mirror of https://github.com/apache/cloudstack.git
mvn clean does not do a complete clean
Retains the systevm.iso from the previous run causing systemvm.iso to never update itself. Do a complete clean install for all profiles specified in mvn. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
5c9828db7d
commit
55db2fe6d1
|
|
@ -165,13 +165,11 @@ echo VERSION=%{_maventag} >> build/replace.properties
|
||||||
echo PACKAGE=%{name} >> build/replace.properties
|
echo PACKAGE=%{name} >> build/replace.properties
|
||||||
|
|
||||||
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
||||||
echo "Executing mvn packaging for NONOSS ..."
|
echo "Executing mvn packaging for NONOSS ..."
|
||||||
mvn clean
|
mvn -Pawsapi,systemvm -Dnonoss package clean install
|
||||||
mvn -Pawsapi,systemvm -Dnonoss package
|
|
||||||
else
|
else
|
||||||
echo "Executing mvn packaging for OSS ..."
|
echo "Executing mvn packaging for OSS ..."
|
||||||
mvn clean
|
mvn -Pawsapi package -Dsystemvm clean install
|
||||||
mvn -Pawsapi package -Dsystemvm
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue