| <?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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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> |
| <artifactId>storm</artifactId> |
| <groupId>org.apache.storm</groupId> |
| <version>2.6.0-SNAPSHOT</version> |
| <relativePath>../../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>storm-sql-hdfs</artifactId> |
| |
| <properties> |
| <!-- |
| +- org.apache.storm:storm-hdfs:jar:2.6.0-SNAPSHOT:provided |
| | +- org.apache.hadoop:hadoop-auth:jar:2.10.1:provided |
| |
| to fix Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil |
| (org.apache.hadoop:hadoop-auth:2.10.1) |
| to method sun.security.krb5.Config.getInstance() add |
| "add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED" |
| --> |
| <storm-sql-hdfs.test.introspection.argLine>--add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED</storm-sql-hdfs.test.introspection.argLine> |
| <!-- Required downgrade by calcite-core 1.16.0 https://mvnrepository.com/artifact/org.apache.calcite/calcite-core/1.16.0 --> |
| <guava.version.downgrade>19.0</guava.version.downgrade> |
| </properties> |
| |
| <developers> |
| <developer> |
| <id>vesense</id> |
| <name>Xin Wang</name> |
| <email>xinwang@apache.org</email> |
| </developer> |
| </developers> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-client</artifactId> |
| <version>${project.version}</version> |
| <scope>${provided.scope}</scope> |
| <exclusions> |
| <!--log4j-over-slf4j must be excluded for hadoop-minicluster |
| see: http://stackoverflow.com/q/20469026/3542091 --> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-sql-runtime</artifactId> |
| <version>${project.version}</version> |
| <scope>${provided.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-sql-runtime</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-hdfs</artifactId> |
| <version>${project.version}</version> |
| <scope>${provided.scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>ch.qos.reload4j</groupId> |
| <artifactId>reload4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-reload4j</artifactId> |
| </exclusion> |
| </exclusions> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version.downgrade}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <sourceDirectory>src/jvm</sourceDirectory> |
| <testSourceDirectory>src/test</testSourceDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/resources</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <!--Note - the version would be inherited--> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>${storm-sql-hdfs.test.introspection.argLine} -Xmx3g -XX:+HeapDumpOnOutOfMemoryError</argLine> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <excludedGroups>IntegrationTest | ${java.unit.test.exclude.groups}</excludedGroups> |
| <trimStackTrace>false</trimStackTrace> |
| <forkCount>1.0C</forkCount> |
| <reuseForks>true</reuseForks> |
| <systemPropertyVariables> |
| <storm.home>${project.basedir}/target/testhome</storm.home> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |