Dong Li created KYLIN-2223: ------------------------------ Summary: Cannot compile a single module Key: KYLIN-2223 URL: https://issues.apache.org/jira/browse/KYLIN-2223 Project: Kylin Issue Type: Bug Reporter: Dong Li Priority: Minor
Compiling a single module will get checkstyle error. For example: cd core-common mvn clean install -DskipTests The result: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Kylin - Core Common 1.6.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-core-common --- [INFO] Deleting /Projects/kylin/core-common/target [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ kylin-core-common --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.381 s [INFO] Finished at: 2016-11-23T08:26:03+08:00 [INFO] Final Memory: 14M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on project kylin-core-common: Failed during checkstyle configuration: cannot initialize module Header - Unable to find: dev-support/checkstyle-apache-header.txt -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException -- This message was sent by Atlassian JIRA (v6.3.4#6332)