You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by ja...@apache.org on 2013/03/01 02:17:53 UTC
[2/2] git commit: Cleanup pom files. Partial application of DRILL-36
patches.
Updated Branches:
refs/heads/master 35023c1d7 -> cb3132a39
Cleanup pom files. Partial application of DRILL-36 patches.
Should fix DRILL-36, DRILL-43
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/cb3132a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/cb3132a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/cb3132a3
Branch: refs/heads/master
Commit: cb3132a39a18da557bac2179ac99a4740ec22172
Parents: 3e45f42
Author: Jacques Nadeau <ja...@apache.org>
Authored: Thu Feb 28 17:14:51 2013 -0800
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Thu Feb 28 17:14:51 2013 -0800
----------------------------------------------------------------------
sandbox/prototype/common/pom.xml | 38 +----
.../common/src/test/resources/logback.xml | 46 +++++
sandbox/prototype/contrib/pom.xml | 12 +-
sandbox/prototype/contrib/storage-hbase/pom.xml | 13 +-
sandbox/prototype/exec/java-exec/pom.xml | 11 +-
sandbox/prototype/exec/pom.xml | 12 +-
sandbox/prototype/exec/ref/pom.xml | 80 ++--------
.../exec/ref/src/test/resources/logback.xml | 46 +++++
sandbox/prototype/planner/pom.xml | 13 +-
sandbox/prototype/pom.xml | 110 +++++++++++--
sandbox/prototype/sqlparser/pom.xml | 129 ++++++++-------
.../sqlparser/src/test/resources/logback.xml | 46 +++++
12 files changed, 333 insertions(+), 223 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/common/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/common/pom.xml b/sandbox/prototype/common/pom.xml
index 1512796..9702dbe 100644
--- a/sandbox/prototype/common/pom.xml
+++ b/sandbox/prototype/common/pom.xml
@@ -8,13 +8,11 @@
<groupId>org.apache.drill</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
+
<artifactId>common</artifactId>
<packaging>jar</packaging>
<name>common</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+
<dependencies>
<dependency>
@@ -23,30 +21,11 @@
<version>2.4.1</version>
</dependency>
- <!-- <dependency> -->
- <!-- <groupId>org.apache.hadoop</groupId> -->
- <!-- <artifactId>hadoop-core</artifactId> -->
- <!-- <version>1.1.0</version> -->
- <!-- </dependency> -->
-
<dependency>
<groupId>com.typesafe</groupId>
<artifactId>config</artifactId>
<version>1.0.0</version>
</dependency>
-
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.0.7</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <version>1.7.2</version>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
@@ -67,12 +46,6 @@
</dependency>
<dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>13.0.1</version>
- </dependency>
-
- <dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.1.1</version>
@@ -92,12 +65,7 @@
<artifactId>antlr-runtime</artifactId>
<version>3.4</version>
</dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
+
</dependencies>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/common/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/common/src/test/resources/logback.xml b/sandbox/prototype/common/src/test/resources/logback.xml
new file mode 100644
index 0000000..fbccc38
--- /dev/null
+++ b/sandbox/prototype/common/src/test/resources/logback.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<configuration>
+
+ <appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
+ <Compressing>true</Compressing>
+ <ReconnectionDelay>10000</ReconnectionDelay>
+ <IncludeCallerData>true</IncludeCallerData>
+ <RemoteHosts>localhost</RemoteHosts>
+ </appender>
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <!-- encoders are assigned the type
+ ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>/logs/test-common.log</file>
+ <encoder>
+ <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
+ </encoder>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>/logs/test-common.%d{yyyy-MM-dd}.log</fileNamePattern>
+ <!-- keep 30 days' worth of history -->
+ <maxHistory>30</maxHistory>
+ </rollingPolicy>
+ </appender>
+
+ <logger name="org.apache.drill" additivity="false">
+ <level value="debug" />
+ <appender-ref ref="SOCKET" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </logger>
+
+ <root>
+ <level value="error" />
+ <appender-ref ref="SOCKET" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </root>
+
+</configuration>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/contrib/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/contrib/pom.xml b/sandbox/prototype/contrib/pom.xml
index 2c55257..b095737 100644
--- a/sandbox/prototype/contrib/pom.xml
+++ b/sandbox/prototype/contrib/pom.xml
@@ -10,17 +10,9 @@
<groupId>org.apache.drill.contrib</groupId>
<artifactId>contrib-parent</artifactId>
<packaging>pom</packaging>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+
<dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
+
</dependencies>
<modules>
<module>storage-hbase</module>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/contrib/storage-hbase/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/contrib/storage-hbase/pom.xml b/sandbox/prototype/contrib/storage-hbase/pom.xml
index a595008..f42853e 100644
--- a/sandbox/prototype/contrib/storage-hbase/pom.xml
+++ b/sandbox/prototype/contrib/storage-hbase/pom.xml
@@ -7,18 +7,11 @@
<groupId>org.apache.drill.contrib</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
+
<artifactId>storage-hbase</artifactId>
+
<name>pom</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+
<dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/java-exec/pom.xml b/sandbox/prototype/exec/java-exec/pom.xml
index 0e6732e..a458160 100644
--- a/sandbox/prototype/exec/java-exec/pom.xml
+++ b/sandbox/prototype/exec/java-exec/pom.xml
@@ -9,16 +9,7 @@
</parent>
<artifactId>java-exec</artifactId>
<name>java-exec</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+
<dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/exec/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/pom.xml b/sandbox/prototype/exec/pom.xml
index 4ecb2f3..df02dea 100644
--- a/sandbox/prototype/exec/pom.xml
+++ b/sandbox/prototype/exec/pom.xml
@@ -6,21 +6,13 @@
<groupId>org.apache.drill</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
+
<groupId>org.apache.drill.exec</groupId>
<artifactId>exec-parent</artifactId>
<packaging>pom</packaging>
<name>exec</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+
<dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
</dependencies>
<modules>
<module>java-exec</module>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/exec/ref/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/ref/pom.xml b/sandbox/prototype/exec/ref/pom.xml
index d077f4d..2f1a33f 100644
--- a/sandbox/prototype/exec/ref/pom.xml
+++ b/sandbox/prototype/exec/ref/pom.xml
@@ -8,92 +8,42 @@
<groupId>org.apache.drill.exec</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
+
<artifactId>ref</artifactId>
+
<name>Logical Plan Execution Reference Implementation</name>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <dep.slf4j.version>1.7.2</dep.slf4j.version>
- </properties>
<dependencies>
-
+
<dependency>
<groupId>org.apache.drill</groupId>
<artifactId>common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
-
+
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>1.1.0</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jets3t</artifactId>
+ <groupId>net.java.dev.jets3t</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>commons-logging</artifactId>
+ <groupId>commons-logging</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.0.7</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${dep.slf4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${dep.slf4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- <version>${dep.slf4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>de.huxhorn.lilith</groupId>
- <artifactId>de.huxhorn.lilith.logback.appender.multiplex-classic</artifactId>
- <version>0.9.42.1</version>
- </dependency>
-
- <dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>hppc</artifactId>
<version>0.4.2</version>
</dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
- <build>
-
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
+ </dependencies>
- </build>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/exec/ref/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/exec/ref/src/test/resources/logback.xml b/sandbox/prototype/exec/ref/src/test/resources/logback.xml
new file mode 100644
index 0000000..10547b2
--- /dev/null
+++ b/sandbox/prototype/exec/ref/src/test/resources/logback.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<configuration>
+
+ <appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
+ <Compressing>true</Compressing>
+ <ReconnectionDelay>10000</ReconnectionDelay>
+ <IncludeCallerData>true</IncludeCallerData>
+ <RemoteHosts>localhost</RemoteHosts>
+ </appender>
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <!-- encoders are assigned the type
+ ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>/logs/test-ref.log</file>
+ <encoder>
+ <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
+ </encoder>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>/logs/test-ref.%d{yyyy-MM-dd}.log</fileNamePattern>
+ <!-- keep 30 days' worth of history -->
+ <maxHistory>30</maxHistory>
+ </rollingPolicy>
+ </appender>
+
+ <logger name="org.apache.drill" additivity="false">
+ <level value="debug" />
+ <appender-ref ref="SOCKET" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </logger>
+
+ <root>
+ <level value="error" />
+ <appender-ref ref="SOCKET" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </root>
+
+</configuration>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/planner/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/planner/pom.xml b/sandbox/prototype/planner/pom.xml
index 6b2fd1e..c037fb8 100644
--- a/sandbox/prototype/planner/pom.xml
+++ b/sandbox/prototype/planner/pom.xml
@@ -8,17 +8,10 @@
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>planner</artifactId>
+
<name>planner</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+
<dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
</dependencies>
+
</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/pom.xml b/sandbox/prototype/pom.xml
index 9d665f1..a4abf8b 100644
--- a/sandbox/prototype/pom.xml
+++ b/sandbox/prototype/pom.xml
@@ -3,29 +3,42 @@
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>
- <parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>9</version>
- </parent>
-
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>9</version>
+ </parent>
+
<groupId>org.apache.drill</groupId>
<artifactId>prototype-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>prototype-parent</name>
- <url>http://maven.apache.org</url>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <dep.junit.version>4.11</dep.junit.version>
+ <dep.slf4j.version>1.7.2</dep.slf4j.version>
</properties>
+
<build>
+
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
@@ -33,22 +46,97 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>3.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>no_commons_logging</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>commons-logging</exclude>
+ </excludes>
+ </bannedDependencies>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
+
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>13.0.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${dep.slf4j.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jul-to-slf4j</artifactId>
+ <version>${dep.slf4j.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <version>${dep.slf4j.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>log4j-over-slf4j</artifactId>
+ <version>${dep.slf4j.version}</version>
+ </dependency>
+
+ <!-- Test Dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>${dep.junit.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.0.7</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>de.huxhorn.lilith</groupId>
+ <artifactId>de.huxhorn.lilith.logback.appender.multiplex-classic</artifactId>
+ <version>0.9.42.1</version>
+ <scope>test</scope>
+ </dependency>
+
+
+
</dependencies>
+
+ <!-- Managed Dependencies -->
+ <dependencyManagement>
+ <dependencies>
+
+ </dependencies>
+ </dependencyManagement>
<modules>
<module>common</module>
<module>contrib</module>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/sqlparser/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/sqlparser/pom.xml b/sandbox/prototype/sqlparser/pom.xml
index c93e8ac..4bc576b 100644
--- a/sandbox/prototype/sqlparser/pom.xml
+++ b/sandbox/prototype/sqlparser/pom.xml
@@ -1,64 +1,69 @@
<?xml version="1.0"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>prototype-parent</artifactId>
- <groupId>org.apache.drill</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <artifactId>sqlparser</artifactId>
- <packaging>jar</packaging>
- <name>sqlparser</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>net.hydromatic</groupId>
- <artifactId>optiq</artifactId>
- <version>0.1</version>
- </dependency>
- <dependency>
- <groupId>net.hydromatic</groupId>
- <artifactId>linq4j</artifactId>
- <version>0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.drill.exec</groupId>
- <artifactId>ref</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.drill.exec</groupId>
- <artifactId>ref</artifactId>
- <version>1.0-SNAPSHOT</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.codehaus.janino</groupId>
- <artifactId>janino</artifactId>
- <version>2.6.1</version>
- </dependency>
- <!-- Specify xalan and xerces versions to avoid setXIncludeAware error. -->
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>2.9.1</version>
- </dependency>
- <dependency>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- <version>2.7.1</version>
- </dependency>
- </dependencies>
+<project
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>prototype-parent</artifactId>
+ <groupId>org.apache.drill</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>sqlparser</artifactId>
+ <name>sqlparser</name>
+
+ <repositories>
+ <repository>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ <id>conjars</id>
+ <name>Conjars</name>
+ <url>http://conjars.org/repo</url>
+ <layout>default</layout>
+ </repository>
+ </repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>net.hydromatic</groupId>
+ <artifactId>optiq</artifactId>
+ <version>0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>net.hydromatic</groupId>
+ <artifactId>linq4j</artifactId>
+ <version>0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.drill.exec</groupId>
+ <artifactId>ref</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.drill.exec</groupId>
+ <artifactId>ref</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.janino</groupId>
+ <artifactId>janino</artifactId>
+ <version>2.6.1</version>
+ </dependency>
+ <!-- Specify xalan and xerces versions to avoid setXIncludeAware error. -->
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.9.1</version>
+ </dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.7.1</version>
+ </dependency>
+ </dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/cb3132a3/sandbox/prototype/sqlparser/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/sqlparser/src/test/resources/logback.xml b/sandbox/prototype/sqlparser/src/test/resources/logback.xml
new file mode 100644
index 0000000..c8de412
--- /dev/null
+++ b/sandbox/prototype/sqlparser/src/test/resources/logback.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<configuration>
+
+ <appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
+ <Compressing>true</Compressing>
+ <ReconnectionDelay>10000</ReconnectionDelay>
+ <IncludeCallerData>true</IncludeCallerData>
+ <RemoteHosts>localhost</RemoteHosts>
+ </appender>
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <!-- encoders are assigned the type
+ ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>/logs/test-sqlparser.log</file>
+ <encoder>
+ <pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
+ </encoder>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <!-- daily rollover -->
+ <fileNamePattern>/logs/test-sqlparser.%d{yyyy-MM-dd}.log</fileNamePattern>
+ <!-- keep 30 days' worth of history -->
+ <maxHistory>30</maxHistory>
+ </rollingPolicy>
+ </appender>
+
+ <logger name="org.apache.drill" additivity="false">
+ <level value="debug" />
+ <appender-ref ref="SOCKET" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </logger>
+
+ <root>
+ <level value="error" />
+ <appender-ref ref="SOCKET" />
+ <appender-ref ref="STDOUT" />
+ <appender-ref ref="FILE" />
+ </root>
+
+</configuration>
\ No newline at end of file