[CORD-2269]
Build mavenrepo image using imagebuilder

Change-Id: I72cb0b6d38de4c16b2acd0c4d14b23af86b00bd5
(cherry picked from commit 5e039f01549c52e453bf4213244f0208ae705397)
diff --git a/Makefile b/Makefile
index 55e00b3..4f6157b 100644
--- a/Makefile
+++ b/Makefile
@@ -259,15 +259,7 @@
 
 
 # ONOS targets
-$(M)/build-onos-apps: | $(M)/prep-buildnode $(BUILD_ONOS_APPS_PREREQS)
-	$(SSH_BUILD) "cd $(BUILD_CORD_DIR)/onos-apps; make MAKE_CONFIG=../build/$(MAKEFILE_CONFIG) build" $(LOGCMD)
-	touch $@
-
-$(M)/publish-onos-apps: | $(M)/build-onos-apps
-	$(SSH_BUILD) "cd $(BUILD_CORD_DIR)/onos-apps; make MAKE_CONFIG=../build/$(MAKEFILE_CONFIG) publish" $(LOGCMD)
-	touch $@
-
-$(M)/deploy-mavenrepo: | $(M)/build-onos-apps $(DEPLOY_MAVENREPO_PREREQS)
+$(M)/deploy-mavenrepo: | $(M)/docker-images $(DEPLOY_MAVENREPO_PREREQS)
 	$(ANSIBLE_PB) $(PI)/deploy-mavenrepo-playbook.yml $(LOGCMD)
 	touch $@