2018-09-24 13:10:11 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed 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
|
|
|
|
|
2019-05-28 03:29:44 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2018-09-24 13:10:11 -04:00
|
|
|
|
|
|
|
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. See accompanying LICENSE file.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 02:24:59 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2018-09-24 13:10:11 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone</artifactId>
|
2019-03-14 06:59:40 -04:00
|
|
|
<version>0.5.0-SNAPSHOT</version>
|
2018-09-24 13:10:11 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-ozone-dist</artifactId>
|
|
|
|
<name>Apache Hadoop Ozone Distribution</name>
|
|
|
|
<packaging>pom</packaging>
|
2019-03-14 06:59:40 -04:00
|
|
|
<version>0.5.0-SNAPSHOT</version>
|
2018-09-24 13:10:11 -04:00
|
|
|
<properties>
|
|
|
|
<file.encoding>UTF-8</file.encoding>
|
|
|
|
<downloadSources>true</downloadSources>
|
2019-07-16 09:05:56 -04:00
|
|
|
<docker.ozone-runner.version>20190717-1</docker.ozone-runner.version>
|
2018-09-24 13:10:11 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-classpath-files</id>
|
2019-02-20 06:08:24 -05:00
|
|
|
<phase>prepare-package</phase>
|
2018-09-24 13:10:11 -04:00
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/ozone-${ozone.version}/share/ozone/classpath
|
|
|
|
</outputDirectory>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdds-server-scm</artifactId>
|
|
|
|
<version>${hdds.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 13:10:11 -04:00
|
|
|
<destFileName>hadoop-hdds-server-scm.classpath</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdds-tools</artifactId>
|
|
|
|
<version>${hdds.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 13:10:11 -04:00
|
|
|
<destFileName>hadoop-hdds-tools.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2018-09-24 16:42:55 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-s3gateway</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 16:42:55 -04:00
|
|
|
<destFileName>hadoop-ozone-s3gateway.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2019-05-31 07:35:58 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-csi</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2019-05-31 07:35:58 -04:00
|
|
|
<destFileName>hadoop-ozone-csi.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2018-09-24 13:10:11 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-ozone-manager</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 13:10:11 -04:00
|
|
|
<destFileName>hadoop-ozone-ozone-manager.classpath
|
|
|
|
</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-tools</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 13:10:11 -04:00
|
|
|
<destFileName>hadoop-ozone-tools.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2019-02-07 11:02:03 -05:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-filesystem</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2019-02-07 11:02:03 -05:00
|
|
|
<destFileName>hadoop-ozone-filesystem.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2018-09-24 13:10:11 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-common</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 13:10:11 -04:00
|
|
|
<destFileName>hadoop-ozone-common.classpath</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-datanode</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2018-09-24 13:10:11 -04:00
|
|
|
<destFileName>hadoop-ozone-datanode.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2019-03-08 03:59:41 -05:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-recon</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2019-03-08 03:59:41 -05:00
|
|
|
<destFileName>hadoop-ozone-recon.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2019-04-09 11:35:04 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-upgrade</artifactId>
|
|
|
|
<version>${ozone.version}</version>
|
|
|
|
<classifier>classpath</classifier>
|
2019-06-04 13:38:37 -04:00
|
|
|
<type>cp</type>
|
2019-04-09 11:35:04 -04:00
|
|
|
<destFileName>hadoop-ozone-upgrade.classpath</destFileName>
|
|
|
|
</artifactItem>
|
2018-09-24 13:10:11 -04:00
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-jars</id>
|
2019-02-20 06:08:24 -05:00
|
|
|
<phase>prepare-package</phase>
|
2018-09-24 13:10:11 -04:00
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/ozone-${ozone.version}/share/ozone/lib
|
|
|
|
</outputDirectory>
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-05-31 07:35:58 -04:00
|
|
|
<execution>
|
|
|
|
<id>copy-omitted-jars</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/ozone-${ozone.version}/share/ozone/lib
|
|
|
|
</outputDirectory>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>3.5.1</version>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>26.0-android</version>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-09-24 13:10:11 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-04-05 12:05:59 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2019-05-07 11:48:10 -04:00
|
|
|
<id>copy-compose-files</id>
|
2019-04-05 12:05:59 -04:00
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/compose</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/compose</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-07-02 12:54:43 -04:00
|
|
|
<execution>
|
|
|
|
<id>copy-and-filter-dockerfile</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/docker</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-05-02 05:10:06 -04:00
|
|
|
<execution>
|
|
|
|
<id>copy-k8s</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/k8s</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/k8s</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-04-05 12:05:59 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-09-24 13:10:11 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>dist</id>
|
2019-03-05 13:25:31 -05:00
|
|
|
<phase>prepare-package</phase>
|
2018-09-24 13:10:11 -04:00
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${shell-executable}</executable>
|
|
|
|
<workingDirectory>${project.build.directory}</workingDirectory>
|
|
|
|
<arguments>
|
|
|
|
<argument>
|
|
|
|
${basedir}/dev-support/bin/dist-layout-stitching
|
|
|
|
</argument>
|
|
|
|
<argument>${project.build.directory}</argument>
|
|
|
|
<argument>${hdds.version}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-15 11:26:56 -05:00
|
|
|
<!-- there is no problem to have multiple versions of the jar files from
|
|
|
|
here. As the dependencies will be handled in a separated way with
|
|
|
|
separated classpath definitions-->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>depcheck</id>
|
|
|
|
<phase></phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-09-24 13:10:11 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdds-tools</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdds-server-scm</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdds-container-service</artifactId>
|
|
|
|
</dependency>
|
2018-09-24 16:42:55 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-s3gateway</artifactId>
|
|
|
|
</dependency>
|
2019-05-31 07:35:58 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-csi</artifactId>
|
|
|
|
</dependency>
|
2018-09-24 13:10:11 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-ozone-manager</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-tools</artifactId>
|
|
|
|
</dependency>
|
2019-02-07 11:02:03 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2019-03-07 08:06:29 -05:00
|
|
|
<artifactId>hadoop-ozone-filesystem-lib-current</artifactId>
|
2019-02-07 11:02:03 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-filesystem-lib-legacy</artifactId>
|
|
|
|
</dependency>
|
2018-09-24 13:10:11 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-datanode</artifactId>
|
|
|
|
</dependency>
|
2019-04-01 12:59:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-recon</artifactId>
|
|
|
|
</dependency>
|
2018-11-12 18:21:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdds-docs</artifactId>
|
|
|
|
</dependency>
|
2019-04-09 11:35:04 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-upgrade</artifactId>
|
|
|
|
</dependency>
|
2018-09-24 13:10:11 -04:00
|
|
|
</dependencies>
|
2019-05-02 05:10:06 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
2019-05-21 11:57:24 -04:00
|
|
|
<id>docker-build</id>
|
2019-05-02 05:10:06 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
<version>0.29.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<images>
|
|
|
|
<image>
|
|
|
|
<name>${docker.image}</name>
|
|
|
|
<build>
|
|
|
|
<dockerFileDir>
|
|
|
|
${project.build.directory}/ozone-${project.version}
|
|
|
|
</dockerFileDir>
|
|
|
|
</build>
|
|
|
|
</image>
|
|
|
|
</images>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2019-05-21 11:57:24 -04:00
|
|
|
<id>docker-push</id>
|
2019-05-02 05:10:06 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
<version>0.29.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>push</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-06-04 02:20:45 -04:00
|
|
|
<profile>
|
|
|
|
<id>dist</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>tar-ozone</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${shell-executable}</executable>
|
|
|
|
<workingDirectory>${project.build.directory}
|
|
|
|
</workingDirectory>
|
|
|
|
<arguments>
|
|
|
|
<argument>${basedir}/dev-support/bin/dist-tar-stitching
|
|
|
|
</argument>
|
|
|
|
<argument>${hdds.version}</argument>
|
|
|
|
<argument>${project.build.directory}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-05-02 05:10:06 -04:00
|
|
|
</profiles>
|
|
|
|
|
2018-09-24 13:10:11 -04:00
|
|
|
</project>
|