<?xml version="1.0" encoding="UTF-8"?> | |
<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>malhar-all</artifactId> | |
<groupId>com.datatorrent</groupId> | |
<version>2.2.0-SNAPSHOT</version> | |
</parent> | |
<groupId>com.datatorrent</groupId> | |
<artifactId>malhar-benchmark</artifactId> | |
<packaging>jar</packaging> | |
<!-- change these to the appropriate values --> | |
<name>Benchmark</name> | |
<description>Benchmark applications package</description> | |
<properties> | |
<!-- change this if you desire to use a different version of DataTorrent --> | |
<datatorrent.version>${project.version}</datatorrent.version> | |
<datatorrent.apppackage.classpath>lib/*.jar</datatorrent.apppackage.classpath> | |
<maven.deploy.skip>false</maven.deploy.skip> | |
<skipTests>true</skipTests> | |
</properties> | |
<!-- repository to provide the DataTorrent artifacts --> | |
<repositories> | |
<repository> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<id>Datatorrent-Releases</id> | |
<name>DataTorrent Release Repository</name> | |
<url>https://www.datatorrent.com/maven/content/repositories/releases/</url> | |
</repository> | |
<repository> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<id>DataTorrent-Snapshots</id> | |
<name>DataTorrent Early Access Program Snapshot Repository</name> | |
<url>https://www.datatorrent.com/maven/content/repositories/snapshots/</url> | |
</repository> | |
</repositories> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-eclipse-plugin</artifactId> | |
<version>2.9</version> | |
<configuration> | |
<downloadSources>true</downloadSources> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>1.6</source> | |
<target>1.6</target> | |
<debug>true</debug> | |
<optimize>false</optimize> | |
<showDeprecation>true</showDeprecation> | |
<showWarnings>true</showWarnings> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>2.9</version> | |
<executions> | |
<execution> | |
<id>copy-dependencies</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>copy-dependencies</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>target/deps</outputDirectory> | |
<includeScope>runtime</includeScope> | |
</configuration> | |
</execution> | |
<execution> | |
<id>unpack</id> | |
<phase>package</phase> | |
<goals> | |
<goal>unpack</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>${project.artifactId}</artifactId> | |
<version>${project.version}</version> | |
<type>jar</type> | |
<includes>META-INF/MANIFEST.MF</includes> | |
<outputDirectory>target</outputDirectory> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>app-package-assembly</id> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
<configuration> | |
<finalName>DTApp-${project.artifactId}-${project.version}</finalName> | |
<appendAssemblyId>false</appendAssemblyId> | |
<descriptors> | |
<descriptor>src/assemble/appPackage.xml</descriptor> | |
</descriptors> | |
<archiverConfig> | |
<defaultDirectoryMode>0755</defaultDirectoryMode> | |
</archiverConfig> | |
<archive> | |
<manifestEntries> | |
<Class-Path>${datatorrent.apppackage.classpath}</Class-Path> | |
<DT-Engine-Version>${datatorrent.version}</DT-Engine-Version> | |
<DT-App-Package-Name>${project.artifactId}</DT-App-Package-Name> | |
<DT-App-Package-Version>${project.version}</DT-App-Package-Version> | |
<DT-App-Package-Display-Name>${project.name}</DT-App-Package-Display-Name> | |
<DT-App-Package-Description>${project.description}</DT-App-Package-Description> | |
</manifestEntries> | |
</archive> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>malhar-library</artifactId> | |
<version>${project.version}</version> | |
<classifier>tests</classifier> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>malhar-library</artifactId> | |
<version>${project.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>malhar-contrib</artifactId> | |
<version>${project.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>${project.groupId}</groupId> | |
<artifactId>malhar-contrib</artifactId> | |
<version>${project.version}</version> | |
<classifier>tests</classifier> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.kafka</groupId> | |
<artifactId>kafka_2.10</artifactId> | |
<version>0.8.1.1</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-simple</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.zookeeper</groupId> | |
<artifactId>zookeeper</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>com.101tec</groupId> | |
<artifactId>zkclient</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.xerial.snappy</groupId> | |
<artifactId>snappy-java</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>net.sf.jopt-simple</groupId> | |
<artifactId>jopt-simple</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.datastax.cassandra</groupId> | |
<artifactId>cassandra-driver-core</artifactId> | |
<version>2.0.2</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.aerospike</groupId> | |
<artifactId>aerospike-client</artifactId> | |
<version>3.0.26</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hbase</groupId> | |
<artifactId>hbase-client</artifactId> | |
<version>0.98.2-hadoop2</version> | |
<optional>true</optional> | |
<type>jar</type> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.zookeeper</groupId> | |
<artifactId>zookeeper</artifactId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-core-asl</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-jaxrs</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-mapper-asl</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-xc</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jetty</artifactId> | |
<groupId>org.mortbay.jetty</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jetty-util</artifactId> | |
<groupId>org.mortbay.jetty</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-mapreduce-client-app</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-mapreduce-client-core</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-annotations</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-auth</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-common</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hbase</groupId> | |
<artifactId>hbase-server</artifactId> | |
<version>0.98.2-hadoop2</version> | |
<optional>true</optional> | |
<type>jar</type> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.zookeeper</groupId> | |
<artifactId>zookeeper</artifactId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-core-asl</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-jaxrs</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-mapper-asl</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jackson-xc</artifactId> | |
<groupId>org.codehaus.jackson</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-auth</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-mapreduce-client-app</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-mapreduce-client-jobclient</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-mapreduce-client-core</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-annotations</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-hdfs</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-common</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-yarn-api</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hadoop-client</artifactId> | |
<groupId>org.apache.hadoop</groupId> | |
</exclusion> | |
<!-- Needed for running local server for tests --> | |
<!--exclusion> | |
<artifactId>jetty</artifactId> | |
<groupId>org.mortbay.jetty</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>jetty-util</artifactId> | |
<groupId>org.mortbay.jetty</groupId> | |
</exclusion--> | |
<exclusion> | |
<groupId>com.sun.jersey</groupId> | |
<artifactId>jersey-core</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.codehaus.jettison</groupId> | |
<artifactId>jettison</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>org.mortbay.jetty</groupId> | |
<artifactId>jetty-sslengine</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>org.jamon</groupId> | |
<artifactId>jamon-runtime</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>net.sf.supercsv</groupId> | |
<artifactId>super-csv</artifactId> | |
<version>2.2.0</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.accumulo</groupId> | |
<artifactId>accumulo-core</artifactId> | |
<version>1.5.1</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>org.apache.maven.scm</groupId> | |
<artifactId>maven-scm-api</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.maven.scm</groupId> | |
<artifactId>maven-scm-provider-svn-commons</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.maven.scm</groupId> | |
<artifactId>maven-scm-provider-svnexe</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>jline</groupId> | |
<artifactId>jline</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.thrift</groupId> | |
<artifactId>libthrift</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>com.beust</groupId> | |
<artifactId>jcommander</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>commons-logging</groupId> | |
<artifactId>commons-logging</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
<version>5.1.22</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>net.spy</groupId> | |
<artifactId>spymemcached</artifactId> | |
<version>2.11.4</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>com.couchbase.client</groupId> | |
<artifactId>couchbase-client</artifactId> | |
<version>1.4.4</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpcore</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.datatorrent</groupId> | |
<artifactId>dt-engine</artifactId> | |
<version>2.2.0-SNAPSHOT</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.datatorrent</groupId> | |
<artifactId>dt-api</artifactId> | |
<version>2.2.0-SNAPSHOT</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hive</groupId> | |
<artifactId>hive-jdbc</artifactId> | |
<version>0.13.1</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hive</groupId> | |
<artifactId>hive-exec</artifactId> | |
<version>0.13.1</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hive</groupId> | |
<artifactId>hive-service</artifactId> | |
<version>0.13.1</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>*</groupId> | |
<artifactId>*</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.thrift</groupId> | |
<artifactId>libthrift</artifactId> | |
<version>0.9.0</version> | |
<optional>true</optional> | |
<exclusions> | |
<exclusion> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpcore</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.hadoop</groupId> | |
<artifactId>hadoop-hdfs</artifactId> | |
<version>2.2.0</version> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<groupId>com.sun.jersey</groupId> | |
<artifactId>jersey-core</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>com.sun.jersey</groupId> | |
<artifactId>jersey-server</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.codehaus.jackson</groupId> | |
<artifactId>jackson-core-asl</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.codehaus.jackson</groupId> | |
<artifactId>jackson-mapper-asl</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
</project> |