fix policy build by vagrant 19/7719/2
authorGuo Ruijing <ruijing.guo@intel.com>
Wed, 16 Aug 2017 19:30:00 +0000 (12:30 -0700)
committerGuo Ruijing <ruijing.guo@intel.com>
Wed, 16 Aug 2017 19:49:24 +0000 (12:49 -0700)
policy build by vagrant fails due to wrong m2 settings

Change-Id: I29df14ab4325349a5814d6f58e6e056c2fa5c9b6
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Issue-Id: POLICY-170

vagrant/setup_policy.sh

index c2a43ce..b1eda7c 100755 (executable)
@@ -7,6 +7,7 @@ sudo apt-get install -y maven openjdk-8-jdk npm python-pip docker.io
 sudo pip install docker-compose
 
 git clone http://gerrit.onap.org/r/oparent
+mkdir $HOME/.m2
 cp oparent/settings.xml $HOME/.m2
 
 for comp in common drools-pdp drools-applications engine