summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-08-30 17:04:44 +0000
committerLusheng Ji <lji@research.att.com>2017-09-01 03:14:58 +0000
commitfeb3f35b3f281c801e4886f7e4233e95b76efb52 (patch)
treeeee54ddeccae73939a4c0bcd24de6ff9fd077049
parent383a17610457415b365d2ea4f1049fece976db08 (diff)
Build erlang via mvn-phase-script
Issue-Id: DCAEGEN2-60 Change-Id: I24d6d5047984cf813dca1581cbb3c92e32589534 Signed-off-by: Lusheng Ji <lji@research.att.com>
-rwxr-xr-xmvn-phase-script.sh6
-rw-r--r--pom.xml2
2 files changed, 8 insertions, 0 deletions
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.
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- Skipping sonar for now, until LF SonarQube supports Erland scan -->
+ <sonar.skip>true</sonar.skip>
<sonar.sources>.</sonar.sources>
<!-- customize the SONARQUBE URL -->
<!-- sonar.host.url>http://localhost:9000</sonar.host.url -->