Committed by
Gerrit Code Review
Searching the local archetype repo before the remote one; temporary fix.
Change-Id: I177d8def0c3738f572b147eb1ff704f624ecafa6
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -23,7 +23,8 @@ otherOptions="" | ... | @@ -23,7 +23,8 @@ otherOptions="" |
23 | [ -n "$1" ] && otherOptions="$otherOptions -Dversion=$1" && shift | 23 | [ -n "$1" ] && otherOptions="$otherOptions -Dversion=$1" && shift |
24 | [ -n "$1" ] && otherOptions="$otherOptions -Dpackage=$1" && shift | 24 | [ -n "$1" ] && otherOptions="$otherOptions -Dpackage=$1" && shift |
25 | 25 | ||
26 | -mvn archetype:generate -DarchetypeGroupId=org.onosproject \ | 26 | +mvn archetype:generate -DarchetypeCatalog=local,remote \ |
27 | + -DarchetypeGroupId=org.onosproject \ | ||
27 | -DarchetypeArtifactId=onos-$archetype-archetype \ | 28 | -DarchetypeArtifactId=onos-$archetype-archetype \ |
28 | -DarchetypeVersion=$ONOS_POM_VERSION $otherOptions "$@" | 29 | -DarchetypeVersion=$ONOS_POM_VERSION $otherOptions "$@" |
29 | 30 | ... | ... |
-
Please register or login to post a comment