From 830b8a1817f933ea561603952ef519db0ec7e2c9 Mon Sep 17 00:00:00 2001 From: Thomas Vachuska Date: Fri, 5 Aug 2016 09:50:15 -0700 Subject: [PATCH] Searching the local archetype repo before the remote one; temporary fix. Change-Id: I177d8def0c3738f572b147eb1ff704f624ecafa6 --- tools/dev/bin/onos-create-app | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/dev/bin/onos-create-app b/tools/dev/bin/onos-create-app index 454bcd6e9a..5776c63d5a 100755 --- a/tools/dev/bin/onos-create-app +++ b/tools/dev/bin/onos-create-app @@ -23,7 +23,8 @@ otherOptions="" [ -n "$1" ] && otherOptions="$otherOptions -Dversion=$1" && shift [ -n "$1" ] && otherOptions="$otherOptions -Dpackage=$1" && shift -mvn archetype:generate -DarchetypeGroupId=org.onosproject \ +mvn archetype:generate -DarchetypeCatalog=local,remote \ + -DarchetypeGroupId=org.onosproject \ -DarchetypeArtifactId=onos-$archetype-archetype \ -DarchetypeVersion=$ONOS_POM_VERSION $otherOptions "$@"