summaryrefslogtreecommitdiffstats
path: root/sms-service/src/Makefile
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-04-10 13:22:00 -0700
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-04-11 09:01:51 -0700
commit5de9d86fab2b8bec58bd09e95640da468d4e1f61 (patch)
tree27f5a08e1de20df67a34d6b0d762639be1d5aea1 /sms-service/src/Makefile
parentc0830dc3d8ce9113fb29f9f81c7560b550b479ba (diff)
Add maven build structure
Restructure the directories and files to accommodate maven build. This will build, test and generate jar file for clients to use. Adds a target in the top level makefile. Issue-ID: AAF-183 Change-Id: I8c27396248d83070befe51f2c6e01aed7dea9202 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Diffstat (limited to 'sms-service/src/Makefile')
-rw-r--r--sms-service/src/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sms-service/src/Makefile b/sms-service/src/Makefile
index 6569ec1..f085059 100644
--- a/sms-service/src/Makefile
+++ b/sms-service/src/Makefile
@@ -1,7 +1,11 @@
-build:
+buildclient:
+ cd ../../sms-client && echo "Building JAVA client package" && \
+ mvn package
+
+build: buildclient
$(MAKE) -C sms build
$(MAKE) -C quorumclient build
deploy:
$(MAKE) -C sms deploy
- $(MAKE) -C quorumclient deploy \ No newline at end of file
+ $(MAKE) -C quorumclient deploy