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

mvn clean install is failing due to checkstyle rules when using union type in the .yang defs

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 2248

    Description

      when ever i define a union type in my .yang file and do "mvn clean install", I get the following error from the checkstyle plugin:

      INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider]
      [INFO]
      [INFO] — maven-checkstyle-plugin:2.12:check (default) @ sal-persisted-dom —
      [INFO] Starting audit...
      /root/ODL/controller/opendaylight/md-sal/sal-persisted-dom/src/main/java/org/opendaylight/yang/gen/v1/http/netconfcentral/org/ns/persistedtest/rev141020/TypedefUnionBuilder.java:2:1: Redundant import from the same package - org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.persistedtest.rev141020.TypedefUnion.
      Audit done.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            saichler@cisco.com Sharon Aicler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: