Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-207

generic-resource-api-model: failing on goal yang-maven-plugin - master only - force 1.2.0 over default 2.0.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Beijing Release
    • Beijing Release
    • None

      I have a CI environment with my own nexus repository, which I have updated to include the missing pom file.  After the "org.onap.oparent:oparent-odlparent:pom:1.0.0" is restored, the compile will then fail with the following error:

       

      [ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:2.0.0:generate-sources (default) on project generic-resource-api-model: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:2.0.0:generate-sources failed: An API incompatibility was encountered while executing org.opendaylight.yangtools:yang-maven-plugin:2.0.0:generate-sources: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: org/opendaylight/yangtools/yang/model/api/AugmentationSchema
      [ERROR] -----------------------------------------------------

       

      appc has the same similar failure:  https://jira.onap.org/browse/APPC-324

      20171220

      https://jenkins.onap.org/view/sdnc/job/sdnc-northbound-master-release-version-java-daily/309/
      11:01:58 [ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:2.0.0:generate-sources (default) on project generic-resource-api-model: Execution default of goal org.opendaylight.yangtools:yang-maven-plugin:2.0.0:generate-sources failed: An API incompatibility was encountered while executing org.opendaylight.yangtools:yang-maven-plugin:2.0.0:generate-sources: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: org/opendaylight/yangtools/yang/model/api/AugmentationSchema

            michaelobrien michaelobrien
            gordonolson gordonolson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: