From feb3f35b3f281c801e4886f7e4233e95b76efb52 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Wed, 30 Aug 2017 17:04:44 +0000 Subject: Build erlang via mvn-phase-script Issue-Id: DCAEGEN2-60 Change-Id: I24d6d5047984cf813dca1581cbb3c92e32589534 Signed-off-by: Lusheng Ji --- mvn-phase-script.sh | 6 ++++++ pom.xml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh index 10d8e9e..6aa20e2 100755 --- a/mvn-phase-script.sh +++ b/mvn-phase-script.sh @@ -48,9 +48,15 @@ generate-sources) ;; compile) echo "==> compile phase script" + echo "=====> building " + rm -rf _build/; + /usr/bin/rebar3 upgrade; + /usr/bin/rebar3 release; ;; test) echo "==> test phase script" + echo "=====> testing " + /usr/bin/rebar3 eunit ;; package) echo "==> package phase script" diff --git a/pom.xml b/pom.xml index cbe03e5..3c102cd 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,8 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. http://maven.apache.org UTF-8 + + true . -- cgit 1.2.3-korg