[FLINK-4292] [batch connectors] Fix setup of HCatalog project by adding Scala SDK dependency
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/60b10851 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/60b10851 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/60b10851 Branch: refs/heads/release-1.1 Commit: 60b10851294e1829786ac54abe9232188d24653d Parents: a192679 Author: Stephan Ewen <se...@apache.org> Authored: Mon Aug 1 12:03:33 2016 +0200 Committer: Ufuk Celebi <u...@apache.org> Committed: Tue Aug 2 20:24:36 2016 +0200 ---------------------------------------------------------------------- flink-batch-connectors/flink-hcatalog/pom.xml | 7 ++++++- .../org/apache/flink/hcatalog/scala/HCatInputFormat.scala | 2 +- flink-streaming-scala/pom.xml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/60b10851/flink-batch-connectors/flink-hcatalog/pom.xml ---------------------------------------------------------------------- diff --git a/flink-batch-connectors/flink-hcatalog/pom.xml b/flink-batch-connectors/flink-hcatalog/pom.xml index f79431d..f23ad12 100644 --- a/flink-batch-connectors/flink-hcatalog/pom.xml +++ b/flink-batch-connectors/flink-hcatalog/pom.xml @@ -48,6 +48,12 @@ under the License. <version>0.12.0</version> </dependency> + <dependency> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + <scope>provided</scope> + </dependency> + </dependencies> <build> @@ -56,7 +62,6 @@ under the License. <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> - <version>3.1.4</version> <executions> <!-- Run scala compiler in the process-resources phase, so that dependencies on scala classes can be resolved later in the (Java) compile phase --> http://git-wip-us.apache.org/repos/asf/flink/blob/60b10851/flink-batch-connectors/flink-hcatalog/src/main/scala/org/apache/flink/hcatalog/scala/HCatInputFormat.scala ---------------------------------------------------------------------- diff --git a/flink-batch-connectors/flink-hcatalog/src/main/scala/org/apache/flink/hcatalog/scala/HCatInputFormat.scala b/flink-batch-connectors/flink-hcatalog/src/main/scala/org/apache/flink/hcatalog/scala/HCatInputFormat.scala index d5a3cbf..0299ee1 100644 --- a/flink-batch-connectors/flink-hcatalog/src/main/scala/org/apache/flink/hcatalog/scala/HCatInputFormat.scala +++ b/flink-batch-connectors/flink-hcatalog/src/main/scala/org/apache/flink/hcatalog/scala/HCatInputFormat.scala @@ -28,7 +28,7 @@ import org.apache.hive.hcatalog.data.schema.HCatFieldSchema * A InputFormat to read from HCatalog tables. * The InputFormat supports projection (selection and order of fields) and partition filters. * - * Data can be returned as {@link HCatRecord} or Scala tuples. + * Data can be returned as [[HCatRecord]] or Scala tuples. * Scala tuples support only up to 22 fields. * */ http://git-wip-us.apache.org/repos/asf/flink/blob/60b10851/flink-streaming-scala/pom.xml ---------------------------------------------------------------------- diff --git a/flink-streaming-scala/pom.xml b/flink-streaming-scala/pom.xml index 0ea80d0..ce56167 100644 --- a/flink-streaming-scala/pom.xml +++ b/flink-streaming-scala/pom.xml @@ -215,7 +215,7 @@ under the License. </configuration> </plugin> - <!-- Exclude generated classes from api compatibilty checks --> + <!-- Exclude generated classes from api compatibility checks --> <plugin> <groupId>com.github.siom79.japicmp</groupId> <artifactId>japicmp-maven-plugin</artifactId>