From 342c857668d230485d643fc6e4ca5619c1a8d3c4 Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 5 Jun 2020 12:26:38 +0200 Subject: Add build config in README Add a required step to build the project, the oparent settings.xml must be installed first in .m2 Issue-ID: SDC-2871 Change-Id: Ib871107e07291e8502c02a1e74af172989680388 Signed-off-by: sebdet --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e1a677..1f455f7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ONAP SDC Distribution client - + --- --- @@ -12,7 +12,9 @@ It register to SDC for getting notifications, listen for notification from SDC, # Compiling ONAP SDC Distribution client -ONAP SDC Distribution client can be compiled easily using maven command: `mvn clean install` +As mentioned in the onap wiki https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment, the settings.xml (https://git.onap.org/oparent/plain/settings.xml) from the oparent project must be installed in your ~/.m2 folder and referenced by your IDE. + +Once maven is set up properly, ONAP SDC Distribution client can be compiled easily using maven command: `mvn clean install` The result is JAR file under "target" folder -- cgit 1.2.3-korg