Searching the local archetype repo before the remote one; temporary fix.

Change-Id: I177d8def0c3738f572b147eb1ff704f624ecafa6
This commit is contained in:
Thomas Vachuska 2016-08-05 09:50:15 -07:00 committed by Gerrit Code Review
parent 57e24e9d66
commit 830b8a1817

View File

@ -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 "$@"