summaryrefslogtreecommitdiffstats
path: root/mvn-phase-lib.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-03-01 16:15:21 -0500
committerLusheng Ji <lji@research.att.com>2018-03-01 17:31:57 -0500
commita6a893a76e1af74469d5bf2649fd9e8f527fa44c (patch)
tree44340a021cb0e9de1837e6d3f9de2785974ef673 /mvn-phase-lib.sh
parentd2ce7db538f97bc7f86b87e15fe6fcda2b089294 (diff)
Add -r in wagon build
Change-Id: I79657464a302af3836d098100fd75777348e7abe Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-206
Diffstat (limited to 'mvn-phase-lib.sh')
-rwxr-xr-xmvn-phase-lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh
index a44a206..9cc21b7 100755
--- a/mvn-phase-lib.sh
+++ b/mvn-phase-lib.sh
@@ -202,7 +202,7 @@ build_wagons()
virtualenv ./venv-pkg
source ./venv-pkg/bin/activate
pip install --upgrade pip
- pip install wagon
+ pip install wagon==0.7.0
CURDIR=$(pwd)
for SETUPFILE in $SETUPFILES; do
@@ -212,7 +212,7 @@ build_wagons()
echo "In $PLUGIN_DIR, build plugin $PLUGIN_NAME, version $PLUGIN_VERSION"
- wagon create --format tar.gz "${PLUGIN_DIR}"
+ wagon create -r "${PLUGIN_DIR}/requirements.txt" --format tar.gz "${PLUGIN_DIR}"
PKG_FILE_NAMES=( "${PLUGIN_NAME}-${PLUGIN_VERSION}"*.wgn )
echo Built package: "${PKG_FILE_NAMES[@]}"