Skip to content

Commit d7f538c

Browse files
committed
CMR-6708: preserve es spatial plugin zip file for ES AMI deployment.
1 parent db8cfe1 commit d7f538c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bin/functions/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function build_all {
8686
cmr install coll-renderer-gems && \
8787
cmr install orbits-gems && \
8888
cmr install local spatial_plugin && \
89+
mv ./es-spatial-plugin/target/cmr-es-spatial-plugin-*-SNAPSHOT.zip . && \
8990
if [ "$CMR_DEV_SYSTEM_DB_TYPE" = "external" ] ; then
9091
(cd $CMR_DIR && cmr setup db )
9192
if [ $? -ne 0 ] ; then
@@ -96,7 +97,8 @@ function build_all {
9697
if [ "$CMR_BUILD_UBERJARS" = "true" ] ; then
9798
build_uberjars
9899
fi
99-
build_uberjar_proj dev-system
100+
build_uberjar_proj dev-system && \
101+
mv ./cmr-es-spatial-plugin-*-SNAPSHOT.zip ./es-spatial-plugin/target
100102
}
101103

102104
function oracle_download_instructions () {

bin/functions/install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ function install_local_spatial_plugin () {
9797
lein package-es-plugin && \
9898
cp target/cmr-es-spatial-plugin-0.1.0-SNAPSHOT.zip $CMR_DIR/dev-system/resources/elasticsearch/plugins/cmr_spatial/ && \
9999
cd $CMR_DIR/dev-system/resources/elasticsearch/plugins/cmr_spatial/ &&
100-
unzip cmr-es-spatial-plugin-0.1.0-SNAPSHOT.zip && \
101-
rm cmr-es-spatial-plugin-0.1.0-SNAPSHOT.zip)
100+
unzip cmr-es-spatial-plugin-0.1.0-SNAPSHOT.zip)
102101
}
103102

104103
function mvn_oralib_install () {

0 commit comments

Comments
 (0)