Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4263

Java files are not generated when building from higher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2

      Description

      Hi,

      Pls check the issue and confirm,

      Defect :

      Steps :
      1> Copy *.yang files inside /opt/onos-master/onos/utils/osgi/src/main/yang
      2> Append required commands inside pom file of osgi
      3> Try building this path /opt/onos-master/onos/utils.(java files are not generated)
      4> Build in /opt/onos-master/onos/utils/osgi(java files are generated)

      Commands to append inside pom file :

      <build>
      <plugins>
      <plugin>
      <groupId>org.onosproject</groupId>
      <artifactId>yangutils-maven-plugin</artifactId>
      <version>1.0.0-SNAPSHOT</version>
      <executions>
      <execution>
      <goals>
      <goal>yang2java</goal>
      </goals>
      </execution>
      </executions>
      </plugin>
      </plugins>
      </build>

        Attachments

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

          Activity

            People

            Assignee:
            bsaraswal bharat saraswal
            Reporter:
            huawei-adarsh Adarsh m
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: