aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 -->