Ask Your Question
0

Unable to build startup project using published documentation

asked 2017-04-18 03:46:49 -0700

alpeshgajbe gravatar image

updated 2017-04-18 04:01:43 -0700

Hi Everyone, I am new to opendaylight and I was trying to write a sample app using Startup project Documentation

But I am getting stuck at the very first step when I try to use the following maven archetype generate command

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/opendaylight.release/ -DarchetypeCatalog=https://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml -DarchetypeVersion=1.2.2-Boron-SR2

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>> [INFO] [INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<< [INFO] [INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.027 s [INFO] Finished at: 2017-04-18T16:25:13+05:30 [INFO] Final Memory: 15M/217M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: archetypeCatalog 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml' is not supported anymore. Please read the plugin documentation for details. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/di...

edit retag flag offensive close merge delete

Comments

Hi! Another team here with the same exact problem. Any help would be really appreciated. (In the meantime, we're trying to solve it by ourselves,... if we figure it out, we'll let you know)

ElisaRojas ( 2017-04-20 04:16:48 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-06-12 06:03:32 -0700

Suraj Khedkar gravatar image

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.2.2-Boron-SR2

It worked for me.

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

Question Tools

Follow
1 follower

Stats

Asked: 2017-04-18 03:46:49 -0700

Seen: 199 times

Last updated: Jun 12