Some one on stackoverflow tell me this way, does this work? http://stackoverflow.com/questions/43513597/whats-this-bug-of-maven3-3-9-while-init-opendaylight-archetecture/43536552#43536552
change .m2/setting.xml as he said, and then use '-DarchetypeCatalog=remote'. 2017-04-21 21:03 GMT+08:00 Michael Vorburger <vorbur...@redhat.com>: > Sam, > > On Fri, Apr 21, 2017 at 10:35 AM, Sam <batmanu...@gmail.com> wrote: > >> I found in stable/boron pom.xml: >> >> <parent> >>> <groupId>org.opendaylight.odlparent</groupId> >>> <artifactId>odlparent-lite</artifactId> >>> <version>1.7.3-SNAPSHOT</version> >>> <relativePath/> >>> </parent> >> >> >> Is coretutorials' pom.xml wrong? >> > > Yes. The truth is that we haven't actually had the time to maintain > coretutorials and keep it up-to-date... :-( Sorry! > > That archetype in controller should be more up to date, but could > currently be broken too. > > FYI all, I keep meaning to get back to and wrap up > https://git.opendaylight.org/gerrit/#/c/39484/ ... of course if anyone > wants to pick that up, you're more than welcome to. > > Other than those, you can, of course, just look at code of other existing > active projects. > > > >> 2017-04-21 11:05 GMT+08:00 Sam <batmanu...@gmail.com>: >> >>> Add coretutorials-...@lists.opendaylight.org >>> <https://lists.opendaylight.org/mailman/listinfo/coretutorials-dev> >>> >>> 2017-04-21 10:39 GMT+08:00 Sam <batmanu...@gmail.com>: >>> >>>> Hi all, >>>> >>>> I'm running coretutorials of ODL according >>>> https://wiki.opendaylight.org/view/Controller_Core_Functiona >>>> lity_Tutorials:Main >>>> >>>> In 'Part 1 - Build with a simple 'Example' module', I run command >>>> exactly as document said as bellow: >>>> >>>> mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller >>>>> -DarchetypeArtifactId=opendaylight-startup-archetype \ >>>>> -DarchetypeRepository=http://nexus.opendaylight.org/content/ >>>>> repositories/opendaylight.release/ \ >>>>> -DarchetypeCatalog=http://nexus.opendaylight.org/content/rep >>>>> ositories/opendaylight.release/archetype-catalog.xml \ >>>>> -DarchetypeVersion=1.2.0-Boron >>>> >>>> >>>> But I got failure: >>>> >>>> [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.release/archetype-catalog.xml' is >>>>> not supported anymore. Please read the plugin documentation for details. >>>>> -> >>>>> [Help 1] >>>> >>>> >>>> >>>> Some one said to remove '-DarchetypeCatalog', but the result remove >>>> '-DarchetypeCatalog' is: >>>> >>>> pom.xml >>>>> src >>>>> tests >>>> >>>> >>>> Which is not as expact: >>>> >>>> api/ >>>> artifacts/ >>>> features/ >>>> impl/ >>>> karaf/ >>>> pom.xml >>>> >>>> >>>> So how to deal with this? >>>> >>>> >>> >> >> _______________________________________________ >> controller-dev mailing list >> controller-dev@lists.opendaylight.org >> https://lists.opendaylight.org/mailman/listinfo/controller-dev >> >> >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev