You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "pengzhiwei (JIRA)" <ji...@apache.org> on 2019/01/21 03:58:00 UTC

[jira] [Comment Edited] (CALCITE-2788) Building error for sub-project of calcite on "maven-checkstyle-plugin"

    [ https://issues.apache.org/jira/browse/CALCITE-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747619#comment-16747619 ] 

pengzhiwei edited comment on CALCITE-2788 at 1/21/19 3:57 AM:
--------------------------------------------------------------

HI [~risdenk] I run the commond "mvn clean install " in the "core" or "server" module and exception throws out. I think there is a error in the config of the checkstyle file.


was (Author: pzw2018):
HI [~risdenk] I run the commond "mvn clean install " in the "core" or "server" module.And I find there is a error in the config of the checkstyle file.

> Building error for sub-project of calcite on "maven-checkstyle-plugin"
> ----------------------------------------------------------------------
>
>                 Key: CALCITE-2788
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2788
>             Project: Calcite
>          Issue Type: Bug
>          Components: babel, core, server
>    Affects Versions: 1.18.0
>            Reporter: pengzhiwei
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.19.0
>
>
> When building a sub-project of calcite e.g. core,exception throws out as follow:
> {code:java}
> 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]
> {code}
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)