Hi Sam

Remove this argument from the command, then it will work.


-DarchetypeCatalog=http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/archetype-catalog.xml


Thanks
Vikram

From: controller-dev-boun...@lists.opendaylight.org 
[mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Sam
Sent: 19 April 2017 15:00
To: controller-dev@lists.opendaylight.org; disc...@lists.opendaylight.org
Subject: Re: [controller-dev] Is this error in "Toaster_Step-By-Step"?

But when I open the link 
"http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/archetype-catalog.xml";
 by chrome browser, it's OK.

2017-04-19 17:26 GMT+08:00 Sam 
<batmanu...@gmail.com<mailto:batmanu...@gmail.com>>:
Hi all,

When I run 
"https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Toaster_Step-By-Step#Prerequisites";
 to Generate the project structure as bellow:


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

I encounter a "build failure" as bellow:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on 
project standalone-pom: archetypeCatalog 
'http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/archetype-catalog.xml'
 is not supported anymore. Please read the plugin documentation for details. -> 
[Help 1]

Is this a error? how to fix this?

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to