


Run the opendaylight-karaf-distro-archetype fails

asked 2017-04-05 19:23:55 -0700

fsandoval gravatar image

Hello All,

I'm trying to create a local distribution as directed here -

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-karaf-distro-archetype -DarchetypeRepository= -DarchetypeCatalog=

mvn reports the following:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.0:generate (default-cli) on project eman-aggregator: The desired archetype does not exist (org.opendaylight.controller:opendaylight-karaf-distro-archetype:1.0) -> [Help 1]

nexus contains the referenced archetypeRepository and archetype-catalog.xml (I don't see where '1.0' comes from)

Can someone suggest why the instructions don't work?


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-04-10 01:15:38 -0700

thebigbg gravatar image

Hallo, i think you are missing the ODL repository (Which is not stored in the maven repository). However, Maven cannot resolve OpenDaylight artifacts by default. So try this command: "wget -q -O - > ~/.m2/settings.xml" It will download the default setting's (settings.xml) file, which countains repositories' url, to your home/.m2 Folder. I hope it will work

edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2017-04-05 19:23:55 -0700

Seen: 85 times

Last updated: Apr 10 '17