summaryrefslogtreecommitdiffstats
path: root/activiti-extension/src
diff options
context:
space:
mode:
authorZhaoxing <meng.zhaoxing1@zte.com.cn>2017-10-18 10:42:54 +0800
committerZhaoxing <meng.zhaoxing1@zte.com.cn>2017-10-18 10:42:54 +0800
commit8b23344043a239b1f074f36371b8296b689b6318 (patch)
tree598077ba6619407958424d688b29dfda75520ff7 /activiti-extension/src
parentfafacadd60b9b3066f014c979bc531d00325a692 (diff)
Fix the docker build error for vfc-nfvo-wfengine
Change-Id: I5df8617d7d7cc05161cec76ab475402a34c3bb41 Issue-id: VFC-445 Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
Diffstat (limited to 'activiti-extension/src')
-rw-r--r--activiti-extension/src/main/docker/activiti-docker-build_image.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/activiti-extension/src/main/docker/activiti-docker-build_image.sh b/activiti-extension/src/main/docker/activiti-docker-build_image.sh
index f970d9e..433e41a 100644
--- a/activiti-extension/src/main/docker/activiti-docker-build_image.sh
+++ b/activiti-extension/src/main/docker/activiti-docker-build_image.sh
@@ -108,6 +108,18 @@ rm -Rf ./temp/
mkdir -p ./temp/WEB-INF/lib/
cp -f activiti-extension*.jar ./temp/WEB-INF/lib/activiti-extension.jar
+echo "download jackson-annotations 2.5.1"
+wget -O jackson-annotations-2.2.3.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=central&g=com.fasterxml.jackson.core&a=jackson-annotations&e=jar&v=2.5.1"
+cp -f jackson-annotations-2.2.3.jar ./temp/WEB-INF/lib/jackson-annotations-2.2.3.jar
+
+echo "download jackson-core 2.5.1"
+wget -O jackson-core-2.2.3.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=central&g=com.fasterxml.jackson.core&a=jackson-cores&e=jar&v=2.5.1"
+cp -f jackson-core-2.2.3.jar ./temp/WEB-INF/lib/jackson-core-2.2.3.jar
+
+echo "download jackson-databind 2.5.1"
+wget -O jackson-databind-2.2.3.jar "${NEXUS_REPOS_URL}/service/local/artifact/maven/content?r=central&g=com.fasterxml.jackson.core&a=jackson-databind&e=jar&v=2.5.1"
+cp -f jackson-databind-2.2.3.jar ./temp/WEB-INF/lib/jackson-databind-2.2.3.jar
+
echo "update activiti-rest.war"
jarcmd=$(whereis jar | grep ^jar |awk '{print $2}')
if [ 1$jarcmd != 1 ]; then
@@ -132,6 +144,7 @@ fi
echo "jarcmd=${jarcmd}"
$jarcmd -uvf activiti-rest.war -C ./temp/ ./
+
#. >/dev/null 2>&1 -C ./temp
cp activiti-rest.war ./build/apache-tomcat/webapps/
cp -Rf bin/* ./build/apache-tomcat/bin