Add sql project
Project: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/commit/d089902c Tree: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/tree/d089902c Diff: http://git-wip-us.apache.org/repos/asf/incubator-gearpump/diff/d089902c Branch: refs/heads/sql Commit: d089902ca3aab142cadd046c87153700ffd09e13 Parents: 7585b5b Author: manuzhang <[email protected]> Authored: Sun Jul 9 08:17:21 2017 +0800 Committer: manuzhang <[email protected]> Committed: Sun Jul 9 08:17:21 2017 +0800 ---------------------------------------------------------------------- experiments/sql/pom.xml | 90 ------------------------------------- project/BuildExperiments.scala | 12 +++++ project/Dependencies.scala | 1 + 3 files changed, 13 insertions(+), 90 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/d089902c/experiments/sql/pom.xml ---------------------------------------------------------------------- diff --git a/experiments/sql/pom.xml b/experiments/sql/pom.xml deleted file mode 100644 index 793ae57..0000000 --- a/experiments/sql/pom.xml +++ /dev/null @@ -1,90 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://maven.apache.org/POM/4.0.0" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.gearpump</groupId> - <artifactId>sql-support</artifactId> - <packaging>pom</packaging> - <version>0.1.0-SNAPSHOT</version> - - <licenses> - <license> - <name>Apache License Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0</url> - </license> - </licenses> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.6</source> - <target>1.6</target> - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - - <!-- core dependencies --> - <dependency> - <groupId>org.apache.calcite</groupId> - <artifactId>calcite-core</artifactId> - <version>${calcite.core.version}</version> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.api.version}</version> - </dependency> - - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>${log4j.version}</version> - </dependency> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>${junit.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - </dependency> - </dependencies> - - <properties> - <calcite.core.version>1.12.0</calcite.core.version> - <slf4j.api.version>1.7.25</slf4j.api.version> - <log4j.version>1.2.17</log4j.version> - <junit.version>4.12</junit.version> - </properties> - -</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/d089902c/project/BuildExperiments.scala ---------------------------------------------------------------------- diff --git a/project/BuildExperiments.scala b/project/BuildExperiments.scala index 92957a1..9ec73ce 100644 --- a/project/BuildExperiments.scala +++ b/project/BuildExperiments.scala @@ -131,4 +131,16 @@ object BuildExperiments extends sbt.Build { )) .dependsOn(core % "provided", streaming % "test->test; provided") .disablePlugins(sbtassembly.AssemblyPlugin) + + lazy val sql = Project( + id = "gearpump-experiments-sql", + base = file("experiments/sql"), + settings = commonSettings ++ noPublish ++ + Seq( + libraryDependencies ++= Seq( + "org.apache.calcite" % "calcite-core" % calciteVersion + ) + )) + .dependsOn(core % "provided", streaming % "test->test; provided") + .disablePlugins(sbtassembly.AssemblyPlugin) } http://git-wip-us.apache.org/repos/asf/incubator-gearpump/blob/d089902c/project/Dependencies.scala ---------------------------------------------------------------------- diff --git a/project/Dependencies.scala b/project/Dependencies.scala index aa4e52f..40b6380 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -54,6 +54,7 @@ object Dependencies { val chillVersion = "0.6.0" val jedisVersion = "2.9.0" val rabbitmqVersion = "3.5.3" + val calciteVersion = "1.12.0" val coreDependencies = Seq( libraryDependencies ++= Seq(
