Trying to follow the opendaylight developer tutorial to get an initial hello world application running on the controller, however running the command
mvn archet
I have found a solution in the OpenDaylight forum.
Please remove
-DarchtypeCatlog=http://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml
and execute following command.
mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.release -DarchetypeVersion=1.4.0
From this link, you can use the following command :
mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/<Snapshot-Type>/ \
-DarchetypeCatalog=remote -DarchetypeVersion=<Archetype-Version>
while replacing Snapshot-Type
and Archetype-Version
as follows:
Using this search on ODL's Nexus repository:
Oxygen dev snapshot
use Snapshot-Type=opendaylight.snapshot
and Archetype-Version=1.5.0-SNAPSHOT
Nitrogen SR1 snapshot
use Snapshot-Type=opendaylight.snapshot
and Archetype-Version=1.4.1-SNAPSHOT
Nitrogen release
use Snapshot-Type=opendaylight.release
and Archetype-Version=1.4.0
Carbon
use Snapshot-Type=opendaylight.release
and Archetype-Version=1.3.0-Carbon
Boron SR0
use Snapshot-Type=opendaylight.release
and Archetype-Version=1.2.0-Boron
Boron SR1
use Snapshot-Type=opendaylight.release
and Archetype-Version=1.2.1-Boron-SR1
Boron SR2
use Snapshot-Type=opendaylight.release
and Archetype-Version=1.2.2-Boron-SR2
Boron snapshot
use Snapshot-Type=opendaylight.snapshot
and Archetype-Version=1.2.2-SNAPSHOT
You can also see this answer.