From f1f1ba5dac1b531c346758072c798ceb511100b3 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 20 Nov 2017 16:38:28 -0800 Subject: Refactor clone and compile functions The clone_all_* and compile_all_* functions share same instructions for performing their functionality. This change pretends to reduce the duplication of the code. Change-Id: Ief63a5a58c79af85c829602b0451637424659438 Signed-off-by: Victor Morales Issue-Id: INT-339 --- bootstrap/vagrant-onap/lib/_composed_functions | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'bootstrap/vagrant-onap/lib/_composed_functions') diff --git a/bootstrap/vagrant-onap/lib/_composed_functions b/bootstrap/vagrant-onap/lib/_composed_functions index f46499766..9f2d0a1d8 100755 --- a/bootstrap/vagrant-onap/lib/_composed_functions +++ b/bootstrap/vagrant-onap/lib/_composed_functions @@ -1,16 +1,5 @@ #!/bin/bash -# compile_src() - Function that compiles the java source code thru maven -function compile_src { - local src_folder=$1 - pushd $src_folder - if [ -f pom.xml ]; then - install_maven - mvn clean install -U -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dadditionalparam=-Xdoclint:none - fi - popd -} - # build_docker_image() - Build Docker container image from source code function build_docker_image { local src_folder=$1 -- cgit 1.2.3-korg