| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>storm</artifactId> |
| <groupId>org.apache.storm</groupId> |
| <version>2.2.0-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>blobstore-migrator</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>blobstore-migrator</name> |
| <url>https://maven.apache.org</url> |
| |
| <properties> |
| <!-- Required downgrade by hadoop-hdfs 2.8.5 --> |
| <guava.version>16.0.1</guava.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-server</artifactId> |
| <version>${project.version}</version> |
| <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-hdfs-blobstore</artifactId> |
| <version>${project.version}</version> |
| <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> |
| <artifactId>hadoop-hdfs</artifactId> |
| <groupId>org.apache.hadoop</groupId> |
| <version>${hdfs.version}</version> |
| </dependency> |
| <dependency> |
| <artifactId>hadoop-client</artifactId> |
| <groupId>org.apache.hadoop</groupId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <artifactId>hadoop-common</artifactId> |
| <groupId>org.apache.hadoop</groupId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.storm.blobstore.MigratorMain</mainClass> |
| </manifest> |
| </archive> |
| </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.ManifestResourceTransformer"> |
| <mainClass>org.apache.storm.blobstore.MigratorMain</mainClass> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <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> |
| </plugins> |
| </build> |
| </project> |