Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14591

Add Javadoc rules to maven checkstyle plugin.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha3
    • None
    • Docs Required, Release Notes Required

    Description

      Motivation.

      For now, we have a Javadoc suite on TC which runs javadoc tool as it is done for releases for javadoc generation purposes.
      Using this tool helps us to detect a markup error in the resulting HTML code at the early stage.
      However, it treats style violations as just a WARNING which never make the TC task failed.

      We tried to use an additional check (actually a log parsing) to fail the TC task, but now it is disabled because we can't perform the same checks on the user side.
      Also, style checks are not configurable, so using the javadoc tool for that purpose looks useless.

      Descrition.

      Checkstyle plugin has a module that performs style checks for javadocs and its configuration looks flexible enough.
      In opposite to javadoc tool, checkstyle plugin fails the maven task in case of style violation as on TC as on user side.

      Let's

      • leave current Javadoc TC suite (javadoc tool) as is with suppressing styles warnings.
      • add javadoc rules to maven-checkstyle-plugin and update the Codestyle guide.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Andrey N. Gura Andrey N. Gura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h