Try just separating out the `clean` and `install` invocations. I've noticed this locally (but haven't dug into why it happens.

e.g. `mvn clean && mvn install`

Pengcheng Xiong wrote:
Hi all,

     I created a patch and I tried "mvn clean install package" under the
core folder. Then I have got the following errors

"
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
(default-compile) on project calcite-core: Compilation failure: Compilation
failure:
[ERROR]
/Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
cannot find symbol
[ERROR] symbol:   class SqlParserImpl
[ERROR] location: package org.apache.calcite.sql.parser.impl
[ERROR]
/Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[202,50]
cannot find symbol
[ERROR] symbol:   variable SqlParserImpl
[ERROR] location: class
org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
[ERROR] ->  [Help 1]
[ERROR]
"

    I looked into the "org.apache.calcite.sql.parser.impl" and I only found
a "package-info.java" there. There is no "SqlParserImpl
" and I guess that is the reason why my mvn command fails.

     Could anybody direct me how to generate this "
org.apache.calcite.sql.parser.impl.SqlParserImpl"? Thanks!

Best
Pengcheng

Reply via email to