Uploaded image for project: 'docs'
  1. docs
  2. DOCS-60

Developing Apps guidereferences archetypeCatalog, that is not supported anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Fluorine
    • Nitrogen, Oxygen, Fluorine
    • Developer Guide
    • None

      ur; http://docs.opendaylight.org/en/stable-nitrogen/developer-guide/developing-apps-on-the-opendaylight-controller.html

       

      When following the above, the command:

      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
      

      Fails with:

       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: archetypeCatalog 'https://nexus.opendaylight.org/content/repositories/public/archetype-catalog.xml' is not supported anymore. Please read the plugin documentation for details. -> [Help 1] [ERROR]
      

      Build details:

       

      $ mvn --version
      
      Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp -Dawt.useSystemAAFontSettings=gasp Apache Maven 3.5.2 (NON-CANONICAL_2017-10-25T13:09:52+03:00_root; 2017-10-25T11:09:52+01:00) Maven home: /opt/maven Java version: 1.8.0_152, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-openjdk/jre Default locale: en_GB, platform encoding: UTF-8 OS name: "linux", version: "4.14.15-1-arch", arch: "amd64", family: "unix"
      
      
      $ ls ~/.m2
      repository settings.xml
      

       

            vorburger Michael Vorburger
            lukehinds Luke Hinds
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: