Hello,

I started developing an application in ODL Carbon based on the following
link:

http://docs.opendaylight.org/en/stable-carbon/developer-guid
e/developing-apps-on-the-opendaylight-controller.html?highli
ght=developing%20applications


for getting the default OpenDaylight settings.xml file, I tried:

cp -n ~/.m2/settings.xml{,.orig} ; \wget -q -O -
https://raw.githubusercontent.com/opendaylight/odlparent/stable/boron/settings.xml
> ~/.m2/settings.xml

Also I tried :
cp -n ~/.m2/repository/settings.xml{,.orig} ; \wget -q -O -
https://raw.githubusercontent.com/opendaylight/odlparent/stable/boron/settings.xml
> ~/.m2/repository/settings.xml

and then ::

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller
-DarchetypeArtifactId=opendaylight-startup-archetype
\-DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/public/
\-DarchetypeCatalog=https://nexus.opendaylight.org/content/repositories/public/archetype-catalog.xml

In both cases, when I run the above command, I received the follwing error:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.235 s
[INFO] Finished at: 2018-03-10T21:17:56-05:00
[INFO] Final Memory: 6M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there
is no POM in this directory (/home/core). Please verify you invoked
Maven from the correct directory. -> [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/display/MAVEN/MissingProjectException


Also, when I delete the -DarchetypeCatalog, I have to enter a number
to continue.

Do you have any suggestion to fix the problem?


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

Reply via email to