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
|
||||
|
||||
if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then
|
||||
echo "Executing mvn packaging for NONOSS ..."
|
||||
mvn clean
|
||||
mvn -Pawsapi,systemvm -Dnonoss package
|
||||
echo "Executing mvn packaging for NONOSS ..."
|
||||
mvn -Pawsapi,systemvm -Dnonoss package clean install
|
||||
else
|
||||
echo "Executing mvn packaging for OSS ..."
|
||||
mvn clean
|
||||
mvn -Pawsapi package -Dsystemvm
|
||||
echo "Executing mvn packaging for OSS ..."
|
||||
mvn -Pawsapi package -Dsystemvm clean install
|
||||
fi
|
||||
|
||||
%install
|
||||
|
|
|
|||
Loading…
Reference in New Issue