[ovs-discuss] build failure when 'mvn archetype:generate' using '-DarchetypeCatalog'

Sam batmanustc at gmail.com
Fri Apr 21 08:35:27 UTC 2017


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?


2017-04-21 11:05 GMT+08:00 Sam <batmanustc at gmail.com>:

> Add  coretutorials-dev at lists.opendaylight.org
> <https://lists.opendaylight.org/mailman/listinfo/coretutorials-dev>
>
> 2017-04-21 10:39 GMT+08:00 Sam <batmanustc at gmail.com>:
>
>> Hi all,
>>
>> I'm running coretutorials of ODL according https://wiki.opendaylight.org/
>> view/Controller_Core_Functionality_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/
>>> repositories/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?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170421/45de699d/attachment-0001.html>


More information about the discuss mailing list