Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2788

Building error for sub-project of calcite on "maven-checkstyle-plugin"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.18.0
    • Fix Version/s: 1.19.0
    • Component/s: babel, core, server
    • Labels:
      None

      Description

      When building a sub-project of calcite e.g. core,exception throws out as follow:

      Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (validate) on project calcite-core: Failed during checkstyle configuration: cannot initialize module Header - illegal value 'src/main/config/checkstyle/header.java.txt' for property 'headerFile' of module Header: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: src/main/config/checkstyle/header.java.txt -> [Help 1]
      

      The reason for this exception is that the checker.xml use a location related to the parent project for the header file,however the header file is not located in the sub-project.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pzw2018 pengzhiwei
                Reporter:
                pzw2018 pengzhiwei
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: