<?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>0.11.0-SNAPSHOT</version> | |
<relativePath>../../pom.xml</relativePath> | |
</parent> | |
<artifactId>storm-eventhubs</artifactId> | |
<version>0.11.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>storm-eventhubs</name> | |
<description>EventHubs Storm Spout</description> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<eventhubs.client.version>0.9.1</eventhubs.client.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<phase>package</phase> | |
</execution> | |
</executions> | |
<configuration> | |
<minimizeJar>true</minimizeJar> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"> | |
</transformer> | |
</transformers> | |
<outputFile>target/${project.artifactId}-${project.version}-jar-with-dependencies.jar</outputFile> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<configuration> | |
<tasks> | |
<copy file="src/main/resources/config.properties" tofile="target/eventhubs-config.properties"/> | |
</tasks> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>com.microsoft.eventhubs.client</groupId> | |
<artifactId>eventhubs-client</artifactId> | |
<version>${eventhubs.client.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.storm</groupId> | |
<artifactId>storm-core</artifactId> | |
<version>${project.version}</version> | |
<!-- keep storm out of the jar-with-dependencies --> | |
<type>jar</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.curator</groupId> | |
<artifactId>curator-framework</artifactId> | |
<version>${curator.version}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.11</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |