| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,7 +111,7 @@ releases of cloudstack | |||
| 111 | 111 | ||
| 112 | 112 | To build all non redistributable components, add the noredist flag to the build command: | |
| 113 | 113 | ||
| 114 | - $ mvn clean install -P systemvm,developer -Dnonoss | ||
| 114 | + $ mvn clean install -P systemvm,developer -Dnoredist | ||
| 115 | 115 | ||
| 116 | 116 | Clear old database (if any) and deploy the database schema: | |
| 117 | 117 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -174,12 +174,12 @@ cp packaging/centos63/replace.properties build/replace.properties | |||
| 174 | 174 | echo VERSION=%{_maventag} >> build/replace.properties | |
| 175 | 175 | echo PACKAGE=%{name} >> build/replace.properties | |
| 176 | 176 | ||
| 177 | - if [ "%{_ossnoss}" == "NONOSS" -o "%{_ossnoss}" == "nonoss" ] ; then | ||
| 178 | - echo "Executing mvn packaging for NONOSS ..." | ||
| 179 | - mvn -Pawsapi,systemvm -Dnonoss package clean install | ||
| 177 | + if [ "%{_ossnoss}" == "NOREDIST" -o "%{_ossnoss}" == "noredist" ] ; then | ||
| 178 | + echo "Executing mvn packaging with non-redistributable libraries ..." | ||
| 179 | + mvn -Pawsapi,systemvm -Dnoredist clean package | ||
| 180 | 180 | else | |
| 181 | - echo "Executing mvn packaging for OSS ..." | ||
| 182 | - mvn -Pawsapi package -Dsystemvm clean install | ||
| 181 | + echo "Executing mvn packaging ..." | ||
| 182 | + mvn -Pawsapi,systemvm clean package | ||
| 183 | 183 | fi | |
| 184 | 184 | ||
| 185 | 185 | %install | |
| Back | FazBrowse Home | New Git URL |
0 commit comments