| <?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> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>16</version> |
| </parent> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| |
| <!-- java and javax --> |
| <java.source.version>1.8</java.source.version> |
| <java.target.version>1.8</java.target.version> |
| <servlet3.version>3.0.1</servlet3.version> |
| <servlet.api.version>2.5</servlet.api.version> |
| <ws.rs.version>2.0.1</ws.rs.version> |
| <jaxb.api.version>2.2.12</jaxb.api.version> |
| <javax.mail.version>1.4</javax.mail.version> |
| |
| <!-- hadoop stack --> |
| <hadoop.version>2.6.0</hadoop.version> |
| <spark.version>1.3.0</spark.version> |
| <hive.version>2.1.0</hive.version> |
| |
| <!-- jest client for elasticsearch --> |
| <jest.version>0.1.5</jest.version> |
| <httpclient.version>4.4</httpclient.version> |
| <httpcore.version>4.4</httpcore.version> |
| |
| <!-- common library/framework versions --> |
| <slf4j.version>1.7.6</slf4j.version> |
| <commons.lang.version>2.4</commons.lang.version> |
| <commons.collections.version>3.2.1</commons.collections.version> |
| <joda.time.version>2.0</joda.time.version> |
| <quartz.version>2.2.2</quartz.version> |
| <guava.version>14.0.1</guava.version> |
| <lombok.version>1.16.6</lombok.version> |
| <lombok.maven.plugin.version>1.16.4.1</lombok.maven.plugin.version> |
| <typesafe.config.version>1.2.1</typesafe.config.version> |
| <logback.version>1.1.3</logback.version> |
| |
| <jackson.asl.version>1.9.13</jackson.asl.version> |
| <jackson.guava.version>2.3.3</jackson.guava.version> |
| <opencsv.version>2.3</opencsv.version> |
| <jsch.version>0.1.42</jsch.version> |
| <jersey.version>2.22.1</jersey.version> |
| <grizzly.version>2.3.23</grizzly.version> |
| <metrics.version>3.0.2</metrics.version> |
| <subethasmtp.version>3.1.7</subethasmtp.version> |
| <liquibase.version>3.0.7</liquibase.version> |
| <spring.shell.version>1.1.0.RELEASE</spring.shell.version> |
| |
| <c3p0.version>0.9.5</c3p0.version> |
| <hsqldb.version>2.2.9</hsqldb.version> |
| <dbcp.version>1.4</dbcp.version> |
| <dbutils.version>1.5</dbutils.version> |
| <antcontrib.version>20020829</antcontrib.version> |
| |
| <!-- test --> |
| <testng.version>6.8</testng.version> |
| <mockito.version>1.9.5</mockito.version> |
| <powermock.version>1.5.6</powermock.version> |
| |
| <!-- maven plugins --> |
| <jaxb2.plugin.version>0.13.0</jaxb2.plugin.version> |
| <jaxb2.basics.plugin.version>0.9.5</jaxb2.basics.plugin.version> |
| <jaxb2.fluent.plugin.version>3.0</jaxb2.fluent.plugin.version> |
| <exec.plugin.version>1.2.1</exec.plugin.version> |
| <enunciate.plugin.version>2.5.0</enunciate.plugin.version> |
| <reports.plugin.version>2.7</reports.plugin.version> |
| <javadoc.plugin.version>2.10.3</javadoc.plugin.version> |
| <surefire.plugin.version>2.15</surefire.plugin.version> |
| <jdeb.plugin.version>1.0.1</jdeb.plugin.version> |
| <checkstyle.plugin.version>2.17</checkstyle.plugin.version> |
| <war.plugin.version>2.1.1</war.plugin.version> |
| <license.plugin.version>2.6</license.plugin.version> |
| <buildnumber.plugin.version>1.0</buildnumber.plugin.version> |
| <findbugs.plugin.version>3.0.1</findbugs.plugin.version> |
| <antrun.plugin.version>1.8</antrun.plugin.version> |
| <cobertura.plugin.version>2.7</cobertura.plugin.version> |
| |
| <!-- Tests --> |
| <derby.version>10.11.1.1</derby.version> |
| <datanucleus.api.jdo.version>4.2.1</datanucleus.api.jdo.version> |
| <datanucleus.javax.jdo.version>3.2.0-m3</datanucleus.javax.jdo.version> |
| <datanucleus.rdbms.version>4.1.7</datanucleus.rdbms.version> |
| |
| <!-- UI --> |
| <nodejs.plugin.version>1.0.0</nodejs.plugin.version> |
| <nodeVersion>0.10.32</nodeVersion> |
| <npmVersion>1.4.9</npmVersion> |
| |
| <!-- debian --> |
| <mvn.deb.build.dir>${project.build.directory}/debian</mvn.deb.build.dir> |
| |
| <!-- installation --> |
| <mvn.lens.install.dir>/usr/local/lens</mvn.lens.install.dir> |
| <mvn.lens.webapp.dir>${mvn.lens.install.dir}/server/webapp</mvn.lens.webapp.dir> |
| <mvn.lens.server.dir>${mvn.lens.webapp.dir}/lens-server</mvn.lens.server.dir> |
| <src.dir>src/main/java</src.dir> |
| |
| </properties> |
| |
| <groupId>org.apache.lens</groupId> |
| <artifactId>apache-lens</artifactId> |
| <version>2.7.0-SNAPSHOT</version> |
| <name>Lens</name> |
| <packaging>pom</packaging> |
| <description>Unified Analytics Platform</description> |
| <url>http://lens.apache.org</url> |
| <inceptionYear>2014</inceptionYear> |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org</url> |
| </organization> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/LENS</url> |
| </issueManagement> |
| |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://builds.apache.org/view/H-L/view/Lens/</url> |
| </ciManagement> |
| |
| <distributionManagement> |
| <site> |
| <id>lens-site</id> |
| <url>http://lens.apache.org/</url> |
| </site> |
| </distributionManagement> |
| |
| <mailingLists> |
| <mailingList> |
| <name>lens-user</name> |
| <subscribe>user-subscribe@lens.apache.org</subscribe> |
| <unsubscribe>user-unsubscribe@lens.apache.org</unsubscribe> |
| <post>user@lens.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/lens-user/</archive> |
| </mailingList> |
| <mailingList> |
| <name>lens-dev</name> |
| <subscribe>dev-subscribe@lens.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@lens.apache.org</unsubscribe> |
| <post>dev@lens.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/lens-dev/</archive> |
| </mailingList> |
| <mailingList> |
| <name>lens-commits</name> |
| <subscribe>commits-subscribe@lens.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@lens.apache.org</unsubscribe> |
| <post>commits@lens.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/lens-commits/</archive> |
| </mailingList> |
| </mailingLists> |
| <developers> |
| <developer> |
| <id>amareshwari</id> |
| <email>amareshwari@apache.org</email> |
| <name>Amareshwari Sriramadasu</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>arshadmatin</id> |
| <email>arshadmatin@apache.org</email> |
| <name>Arshad Matin</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>deepakbarr</id> |
| <email>deepakbarr@apache.org</email> |
| <name>Deepak Kumar Barr</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>puneetgupta</id> |
| <email>puneetgupta@apache.org</email> |
| <name>Puneet Gupta</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>gunther</id> |
| <email>gunther@apache.org</email> |
| <name>Gunther Hagleitner</name> |
| <timezone>-8</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>himanshugahlaut</id> |
| <email>himanshugahlaut@apache.org</email> |
| <name>Himanshu Gahlaut</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>jdhok</id> |
| <email>jdhok@apache.org</email> |
| <name>Jaideep Dhok</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>raghavsingh</id> |
| <email>raghavsingh@apache.org</email> |
| <name>Raghavendra Singh</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>prongs</id> |
| <email>prongs@apache.org</email> |
| <name>Rajat Khandelwal</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>raju</id> |
| <email>raju@apache.org</email> |
| <name>Raju Bairishetti</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>sharad</id> |
| <email>sharad@apache.org</email> |
| <name>Sharad Agarwal</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>sreekanth</id> |
| <email>sreekanth@apache.org</email> |
| <name>Sreekanth Ramakrishnan</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>sriksun</id> |
| <email>sriksun@apache.org</email> |
| <name>Srikanth Sundarrajan</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>sumasai</id> |
| <email>sumasai@apache.org</email> |
| <name>Suma Shivaprasad</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>vikram</id> |
| <email>vikram@apache.org</email> |
| <name>Vikram Dixit</name> |
| <timezone>-8</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>yash</id> |
| <email>yash@apache.org</email> |
| <name>Yash Sharma</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>PMC</role> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>amrk7</id> |
| <email>amrk7@apache.org</email> |
| <name>Amruth S</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>sushilmohanty</id> |
| <email>sushilmohanty@apache.org</email> |
| <name>SushilMohanty</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>archanah</id> |
| <email>archanah@apache.org</email> |
| <name>Archana H</name> |
| <timezone>+5.5</timezone> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| </developers> |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/lens.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/lens.git</developerConnection> |
| <url>https://git-wip-us.apache.org/repos/asf/lens.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${reports.plugin.version}</version> |
| <configuration> |
| <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| </configuration> |
| <reportSets> |
| <reportSet> |
| <inherited>false</inherited> |
| <reports> |
| <report>summary</report> |
| <report>project-team</report> |
| <report>mailing-list</report> |
| <report>cim</report> |
| <report>issue-tracking</report> |
| <report>license</report> |
| <report>scm</report> |
| <report>modules</report> |
| <report>distribution-management</report> |
| <report>dependency-convergence</report> |
| <report>dependency-management</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${javadoc.plugin.version}</version> |
| <inherited>false</inherited> |
| <reportSets> |
| <reportSet> |
| <id>aggregate</id> |
| <configuration> |
| <quiet>true</quiet> |
| <verbose>false</verbose> |
| <includeDependencySources>false</includeDependencySources> |
| <show>public</show> |
| <groups> |
| <group> |
| <title>Client api</title> |
| <packages>org.apache.lens.api*:org.apache.lens.client*</packages> |
| </group> |
| <group> |
| <title>Developer api</title> |
| <packages>org.apache.lens.server.api*</packages> |
| </group> |
| </groups> |
| </configuration> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <configuration> |
| <formats> |
| <format>html</format> |
| <format>xml</format> |
| </formats> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </reporting> |
| |
| <build> |
| <sourceDirectory>${src.dir}</sourceDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/deb/control</directory> |
| <targetPath>${mvn.deb.build.dir}/control</targetPath> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| </testResource> |
| </testResources> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${reports.plugin.version}</version> |
| <configuration> |
| <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>buildnumber-maven-plugin</artifactId> |
| <version>${buildnumber.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${java.source.version}</source> |
| <target>${java.target.version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <generateReports>true</generateReports> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>jar</goal> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.plugin.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>**/IT*.java</exclude> |
| </excludes> |
| <failIfNoTests>false</failIfNoTests> |
| <forkedProcessTimeoutInSeconds>2400</forkedProcessTimeoutInSeconds> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${antrun.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>jdeb</artifactId> |
| <groupId>org.vafer</groupId> |
| <version>${jdeb.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${checkstyle.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok-maven-plugin</artifactId> |
| <version>${lombok.maven.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jvnet.jaxb2.maven2</groupId> |
| <artifactId>maven-jaxb2-plugin</artifactId> |
| <version>${jaxb2.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jvnet.jaxb2_commons</groupId> |
| <artifactId>jaxb2-basics</artifactId> |
| <version>${jaxb2.basics.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>${exec.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>com.webcohesion.enunciate</groupId> |
| <artifactId>enunciate-maven-plugin</artifactId> |
| <version>${enunciate.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>${war.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>io.wcm.maven.plugins</groupId> |
| <artifactId>nodejs-maven-plugin</artifactId> |
| <version>${nodejs.plugin.version}</version> |
| <configuration> |
| <npmVersion>${npmVersion}</npmVersion> |
| <nodeJsVersion>${nodeVersion}</nodeJsVersion> |
| <nodeJsDirectory>${project.basedir}/node</nodeJsDirectory> |
| <tasks> |
| <npmInstallTask> |
| <workingDirectory>${project.basedir}</workingDirectory> |
| </npmInstallTask> |
| </tasks> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> |
| <resource>log4j.properties</resource> |
| </transformer> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer" /> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <skip>${skipCheck}</skip> |
| <useDefaultExcludes>true</useDefaultExcludes> |
| <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| <useIdeaDefaultExcludes>true</useIdeaDefaultExcludes> |
| <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| <excludes> |
| <exclude>**/README.*</exclude> |
| <exclude>DEPENDENCIES</exclude> |
| <exclude>**/LICENSE*</exclude> |
| <!-- Local git repo --> |
| <exclude>.git/**</exclude> |
| <!-- For connecting to ReviewBoard thru rbt tools--> |
| <exclude>.reviewboardrc</exclude> |
| <!-- Used in apache pre-commit job --> |
| <exclude>**/patchprocess/**</exclude> |
| <!-- IDE files --> |
| <exclude>.idea/**</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/node/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/.checkstyle</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/maven-eclipse.xml</exclude> |
| <exclude>**/.externalToolBuilders/**</exclude> |
| <!-- Build directories - target for maven build/ for other tools like sloccount --> |
| <exclude>**/target/**</exclude> |
| <exclude>**/build/**</exclude> |
| <!-- To make developer life easy. Source wont have these files --> |
| <exclude>**/*.diff</exclude> |
| <exclude>*.patch</exclude> |
| <exclude>**/*.log</exclude> |
| <!-- .png files constitute images required for documentation. .pptx contain the sources for images --> |
| <exclude>**/*.png</exclude> |
| <exclude>**/*.pptx</exclude> |
| <!-- .data files are used to hold data for loading into tables - used in tests and examples --> |
| <exclude>**/*.data</exclude> |
| <!-- Used on ui --> |
| <exclude>**/codemirror.min.*</exclude> |
| <exclude>**/*.js</exclude> |
| <exclude>**/*.json</exclude> |
| <!-- python client --> |
| <exclude>**/.tox/</exclude> |
| <exclude>**/.cache/</exclude> |
| <exclude>**/*.egg-info/**</exclude> |
| <exclude>**/*.egg</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>rat-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.mycila</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <version>${license.plugin.version}</version> |
| <configuration> |
| <header>License-Header.txt</header> |
| <licenseName>apache_v2</licenseName> |
| <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| <canUpdateCopyright>true</canUpdateCopyright> |
| <canUpdateDescription>true</canUpdateDescription> |
| <excludes> |
| <exclude>**/*.diff</exclude> |
| <exclude>*.patch</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.data</exclude> |
| <exclude>**/README.*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <!-- Checkstyle Plugin --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.lens</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>2.7.0-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>checkstyle-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <skip>${skipCheck}</skip> |
| <consoleOutput>true</consoleOutput> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <configLocation>checkstyle.xml</configLocation> |
| <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> |
| <headerLocation>checkstyle-java-header.txt</headerLocation> |
| <failOnViolation>true</failOnViolation> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <xmlOutput>true</xmlOutput> |
| <excludeFilterFile>${basedir}/../checkstyle/src/main/resources/findbugs-exclude.xml |
| </excludeFilterFile> |
| <failOnError>true</failOnError> |
| <skip>${skipCheck}</skip> |
| </configuration> |
| <executions> |
| <execution> |
| <id>findbugs-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.webcohesion.enunciate</groupId> |
| <artifactId>enunciate-maven-plugin</artifactId> |
| <version>${enunciate.plugin.version}</version> |
| </plugin> |
| </plugins> |
| </build> |
| <repositories> |
| <repository> |
| <id>central</id> |
| <url>http://repo1.maven.org/maven2</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| <repository> |
| <id>cloudera</id> |
| <url>https://repository.cloudera.com/artifactory/cloudera-repos</url> |
| <releases> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| <updatePolicy>never</updatePolicy> |
| </snapshots> |
| </repository> |
| <!--<repository> |
| <id>Codehaus repository</id> |
| <url>http://repository.codehaus.org/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository>--> |
| <repository> |
| <id>apache.snapshots.repo</id> |
| <url>https://repository.apache.org/content/groups/snapshots</url> |
| <name>Apache Snapshots Repository</name> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| <repository> |
| <id>default</id> |
| <url>https://repository.apache.org/content/groups/public/</url> |
| </repository> |
| <repository> |
| <id>projectlombok.org</id> |
| <url>http://projectlombok.org/mavenrepo</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| <!-- see https://jira.springsource.org/browse/SHL-52 --> |
| <repository> |
| <id>ext-release-local</id> |
| <url>http://repo.springsource.org/simple/ext-release-local/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>${quartz.version}</version> |
| <!-- This version of c3p0 is LGPL and incompatible with Apache License 2.0 |
| hence excluding. A compatible version is included in lens as separate dependency --> |
| <exclusions> |
| <exclusion> |
| <groupId>c3p0</groupId> |
| <artifactId>c3p0</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>${commons.lang.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>${commons.collections.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>${joda.time.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-json</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-server</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>tomcat</groupId> |
| <artifactId>jasper-compiler</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>tomcat</groupId> |
| <artifactId>jasper-runtime</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.java.dev.jets3t</groupId> |
| <artifactId>jets3t</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-json</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-server</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-client</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>tomcat</groupId> |
| <artifactId>jasper-compiler</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>tomcat</groupId> |
| <artifactId>jasper-runtime</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.java.dev.jets3t</groupId> |
| <artifactId>jets3t</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey.contribs</groupId> |
| <artifactId>jersey-guice</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-service</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-llap-server</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-serde</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.typesafe</groupId> |
| <artifactId>config</artifactId> |
| <version>${typesafe.config.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jvnet.jaxb2_commons</groupId> |
| <artifactId>jaxb2-basics-runtime</artifactId> |
| <version>${jaxb2.basics.plugin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-shims</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-yarn-server-resourcemanager</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-service-rpc</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-shims</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-common</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-shims</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro-mapred</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.pentaho</groupId> |
| <artifactId>pentaho-aggdesigner-algorithm</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-cli</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.subethamail</groupId> |
| <artifactId>subethasmtp</artifactId> |
| <version>${subethasmtp.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| <version>${javax.mail.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.liquibase</groupId> |
| <artifactId>liquibase-maven-plugin</artifactId> |
| <version>${liquibase.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>${testng.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-testng</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-client</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-server</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.test-framework</groupId> |
| <artifactId>jersey-test-framework-core</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| <artifactId>jersey-test-framework-provider-inmemory</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-servlet</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-jaxb</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-multipart</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-moxy</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-framework</artifactId> |
| <version>${grizzly.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-http-server</artifactId> |
| <version>${grizzly.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>${servlet3.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>${servlet.api.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${jaxb.api.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| <version>${ws.rs.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.codahale.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.codahale.metrics</groupId> |
| <artifactId>metrics-servlets</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.codahale.metrics</groupId> |
| <artifactId>metrics-jvm</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.codahale.metrics</groupId> |
| <artifactId>metrics-ganglia</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.codahale.metrics</groupId> |
| <artifactId>metrics-graphite</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.mchange</groupId> |
| <artifactId>c3p0</artifactId> |
| <version>${c3p0.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.shell</groupId> |
| <artifactId>spring-shell</artifactId> |
| <version>${spring.shell.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- HSQLDB Dependency for examples to work --> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>${hsqldb.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.asl.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.asl.version}</version> |
| </dependency> |
| |
| <!-- Connection pooling for Finished queries --> |
| <dependency> |
| <groupId>commons-dbcp</groupId> |
| <artifactId>commons-dbcp</artifactId> |
| <version>${dbcp.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-dbutils</groupId> |
| <artifactId>commons-dbutils</artifactId> |
| <version>${dbutils.version}</version> |
| </dependency> |
| |
| <!-- Spark dependency --> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_2.10</artifactId> |
| <version>${spark.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jline</artifactId> |
| <groupId>jline</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jul-to-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty.orbit</groupId> |
| <artifactId>javax.servlet</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-mllib_2.10</artifactId> |
| <version>${spark.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jul-to-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-yarn_2.10</artifactId> |
| <version>${spark.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jul-to-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-server</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-json</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey.contribs</groupId> |
| <artifactId>jersey-guice</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| <artifactId>jersey-test-framework-grizzly2</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive.hcatalog</groupId> |
| <artifactId>hive-hcatalog-core</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.opencsv</groupId> |
| <artifactId>opencsv</artifactId> |
| <version>${opencsv.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>${jsch.version}</version> |
| </dependency> |
| <!-- jest elastic search deps --> |
| <dependency> |
| <groupId>io.searchbox</groupId> |
| <artifactId>jest</artifactId> |
| <version>${jest.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.datatype</groupId> |
| <artifactId>jackson-datatype-guava</artifactId> |
| <version>${jackson.guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| <version>${httpcore.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-api-jdo</artifactId> |
| <version>${datanucleus.api.jdo.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-rdbms</artifactId> |
| <version>${datanucleus.rdbms.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>${derby.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>javax.jdo</artifactId> |
| <version>${datanucleus.javax.jdo.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <modules> |
| <module>checkstyle</module> |
| <module>lens-api</module> |
| <module>lens-server-api</module> |
| <module>lens-cube</module> |
| <module>lens-storage-db</module> |
| <module>lens-query-lib</module> |
| <module>lens-driver-hive</module> |
| <module>lens-driver-jdbc</module> |
| <module>lens-driver-es</module> |
| <module>lens-server</module> |
| <module>lens-client</module> |
| <module>lens-cli</module> |
| <module>lens-examples</module> |
| <module>lens-ship-jars</module> |
| <module>lens-dist</module> |
| <module>lens-ml-lib</module> |
| <module>lens-ml-dist</module> |
| <module>lens-regression</module> |
| <module>lens-ui</module> |
| <module>contrib</module> |
| </modules> |
| |
| <profiles> |
| <profile> |
| <id>regression-tests</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <project.version>${project.version}</project.version> |
| </systemPropertyVariables> |
| |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <!-- regression test would run with mvn clean install -P regression-tests --> |
| <include>**/IT*.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/UT*.java</exclude> |
| </excludes> |
| <forkedProcessTimeoutInSeconds>6200</forkedProcessTimeoutInSeconds> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>cobertura</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>${cobertura.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>cobertura-instrument</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>instrument</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <configuration> |
| <failOnError>false</failOnError> |
| <tasks> |
| <propertyfile file="target/generated-classes/cobertura/cobertura.properties"> |
| <entry key="net.sourceforge.cobertura.datafile" value="${mvn.lens.install.dir}" /> |
| </propertyfile> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <failOnError>false</failOnError> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>no-checkstyle</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.lens</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>2.7.0-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>checkstyle-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <consoleOutput>true</consoleOutput> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <configLocation>checkstyle.xml</configLocation> |
| <headerLocation>checkstyle-java-header.txt</headerLocation> |
| <failOnViolation>false</failOnViolation> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>apache-release</id> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.codahale.metrics</groupId> |
| <artifactId>metrics-ganglia</artifactId> |
| <version>${metrics.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.acplt</groupId> |
| <artifactId>oncrpc</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <configuration> |
| <skip>false</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>dev</id> |
| <properties> |
| <skipCheck>true</skipCheck> |
| </properties> |
| </profile> |
| <profile> |
| <id>lombok-needs-tools-jar</id> |
| <activation> |
| <file> |
| <exists>${java.home}/../lib/tools.jar</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok-maven-plugin</artifactId> |
| <version>${lombok.maven.plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>sun.jdk</groupId> |
| <artifactId>tools</artifactId> |
| <version>1.6</version> |
| <scope>system</scope> |
| <systemPath>${java.home}/../lib/tools.jar</systemPath> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>javadoc</id> |
| <properties> |
| <src.dir>target/generated-sources/delombok</src.dir> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>delombok</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>delombok</goal> |
| </goals> |
| <configuration> |
| <formatPreferences> |
| <javaLangAsFQN>skip</javaLangAsFQN> |
| </formatPreferences> |
| <verbose>true</verbose> |
| <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> |
| <addOutputDirectory>true</addOutputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>test-delombok</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>testDelombok</goal> |
| </goals> |
| <configuration> |
| <verbose>true</verbose> |
| <addOutputDirectory>true</addOutputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |