[
https://issues.apache.org/jira/browse/CALCITE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146790#comment-15146790
]
Josh Elser commented on CALCITE-553:
------------------------------------
bq. My hunch is that this has to do with how activeByDefault works in Maven,
but I'll prod things some more and put up a branch instead of directly pushing
next time.
Yup. That was it. {{activeByDefault}} only activates when no profiles are
activated by the user. So, with the {{it}} profile, it turned off these others.
Simple fix to just make them activated by the lack of a property specified by
the user at build time. Will open up a PR so we can vet this more before I
merge it in.
> "mvn clean install" fails due to missing SqlParserImpl
> ------------------------------------------------------
>
> Key: CALCITE-553
> URL: https://issues.apache.org/jira/browse/CALCITE-553
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Josh Elser
> Fix For: next
>
>
> Every second time I call {mvn -DskipTests clean install} it fails with
> {code}[ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /home/jhyde/open1/calcite.2/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
> cannot find symbol
> symbol: class SqlParserImpl
> location: package org.apache.calcite.sql.parser.impl
> [ERROR]
> /home/jhyde/open1/calcite.2/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[201,50]
> cannot find symbol
> symbol: variable SqlParserImpl
> location: class org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
> [INFO] 2 errors{code}
> I think CALCITE-484 broke something; maybe the parser is not generated
> correctly if at the start of the mvn command (before clean) the parser
> already exists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)