Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1081

Step-by-step tutorial fails during maven build

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • None

    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.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            cl778h Chris Lott
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: