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

Define maven-independent CodeGenerator API

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Medium Medium
    • 6.0.1
    • None
    • maven plugin
    • None

      The architecture of current yang-maven-plugin-spi relies on Maven, which has rather bad consequences in that plugins are expected to arrive at the information they need using their own facilities.

      This leads to:

      • java-api-generator finding src/main/java location through MavenProject
      • generators mucking directly with BuildContext

      Define an API which will provide intermediate object model for files to be generated. This way the codegen plugins can express what they need to generate and yang-maven-plugin takes care of interacting with BuildContext and MavenProject.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: