Liu Shaohui created KYLIN-3882:
----------------------------------
Summary: kylin master build failed for pom issues
Key: KYLIN-3882
URL: https://issues.apache.org/jira/browse/KYLIN-3882
Project: Kylin
Issue Type: Bug
Reporter: Liu Shaohui
As title.
1, Kyligence repo id : nexus conflicts with local maven settings.xml
{code:java}
[ERROR] Failed to execute goal on project kylin-core-metadata: Could not
resolve dependencies for project
org.apache.kylin:kylin-core-metadata:jar:3.0.0-SNAPSHOT: Failure to find
org.apache.calcite:calcite-core:jar:1.16.0-kylin-r2 in
http://nexus.xxxxx.xxxx/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update interval of
nexus has elapsed or updates are forced -> [Help 1]
{code}
2, maven.compiler.source/target is not set
{code:java}
[INFO] Compiling 2 Scala sources and 18 Java sources to
/ssd/liushaohui/workspace/computing/kylin/engine-spark/target/classes ...
[WARNING] [Warn] : bootstrap class path not set in conjunction with -source 1.6
[ERROR] [Error]
/ssd/liushaohui/workspace/computing/kylin/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkBatchCubingJobBuilder2.java:148:
diamond operator is not supported in -source 1.6
(use -source 7 or higher to enable diamond operator)
[ERROR] [Error]
/ssd/liushaohui/workspace/computing/kylin/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubingByLayer.java:239:
try-with-resources is not supported in -source 1.6
(use -source 7 or higher to enable try-with-resources)
[ERROR] [Error]
/ssd/liushaohui/workspace/computing/kylin/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubingByLayer.java:251:
diamond operator is not supported in -source 1.6
(use -source 7 or higher to enable diamond operator){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)