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

yang-maven-plugin silently fails when outputBaseDir is incorrectly specified

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 571

    Description

      yang-maven-plugin does not throw any exception if outputBaseDir tag contains undefined variable or empty path. The whole project can be build/compiled but the files that are supposed to be generated will not be present in generated-sources nor in builded jar file.

      The log shows only:
      [INFO] yang-to-sources: Code generator instantiated from org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
      [INFO] yang-to-sources: Sources will be generated to null

      Which is confusing.

      Attachments

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

        Activity

          People

            mayagarw@cisco.com Mayank Agarwal
            lsedlak@cisco.com Lukas Sedlak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: