Create Java project with Maven archetype onos-rest-archetype

ONOS REST API bundle archetype

Create a Java Project by archetype onos-rest-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DonosVersion="My-onosVersion"   -DarchetypeGroupId="org.onosproject"   -DarchetypeArtifactId="onos-rest-archetype"   -DarchetypeVersion="2.5.7-rc1"   -DinteractiveMode=false 

Required parameters for generate java project:

onosVersion
validationRegex: none

Details about maven archetype onos-rest-archetype

GroupId

GroupId

org.onosproject
ArtifactId

ArtifactId

onos-rest-archetype
Version

Version

2.5.7-rc1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.onosproject -DarchetypeArtifactId=onos-rest-archetype -DarchetypeVersion=2.5.7-rc1 -DinteractiveMode=false