-1. | Run the maven archetype *opendaylight-startup-archetype*, and
- create the *hello* project.
-
- .. code:: shell
-
- mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \
- -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ \
- -DarchetypeCatalog=http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/archetype-catalog.xml
-
-2. Update the Properties values as follows.
-
- .. code:: shell
-
- Define value for property 'groupId': : org.opendaylight.hello
- Define value for property 'artifactId': : hello
- Define value for property 'version': 1.0-SNAPSHOT: : 1.0.0-SNAPSHOT
- Define value for property 'package': org.opendaylight.hello: :
- Define value for property 'classPrefix': ${artifactId.substring(0,1).toUpperCase()}${artifactId.substring(1)}
- Define value for property 'copyright': : Copyright(c) Yoyodyne, Inc.
-
-3. View the *hello* project.
-
- .. code:: shell
-
- cd hello/
- ls -1
- api
- artifacts
- features
- impl
- karaf
- pom.xml
-
-4. Build *hello* project by using the following command.
-
- .. code:: shell
-
- mvn clean install
-
-5. Verify that the project is functioning by executing karaf.