[YANGTOOLS-1081] Step-by-step tutorial fails during maven build Created: 13/Feb/20  Updated: 13/Dec/22

Status: Open
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Chris Lott Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: pick-next, pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Do you accept Jira issues for wiki problems?  If so, here goes.

I followed the directions (below) from page https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Archetype_Tutorial#1._Generating_the_Application_Skeleton

 

Step-by-Step Tutorial

1. Generating the Application Skeleton

Run the following commands to start the generation of the application skeleton:

git clone https://git.opendaylight.org/gerrit/toolkit.git && cd toolkit && mvn clean install -D skipTests

...

The result is a maven failure:

 

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.opendaylight.toolkit:md-sal-app-simple:1.0-SNAPSHOT (/private/tmp/toolkit/main/archetypes/archetype-md-sal-app-simple/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.opendaylight.toolkit:md-sal-app-simple:1.0-SNAPSHOT: Could not find artifact org.opendaylight.controller.archetypes:archetypes-parent:pom:0.3.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 6, column 11 -> [Help 2]

Maybe this assumes some maven settings in my ~/.m2/settings.xml that I do not yet have?  It would helpful if the prereqs section on that same page listed that.  If you teach me how to repair I'll be glad to update the wiki page. Thanks in advance.

 



 Comments   
Comment by Robert Varga [ 13/Dec/22 ]

The pointer is to wiki-archive.opendaylight.org.

Generated at Wed Feb 07 20:55:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.