2015-05-01 14:11:50 -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
|
2015-05-01 14:11:50 -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">
|
2015-05-01 18:57:42 -04:00
|
|
|
<parent>
|
|
|
|
<artifactId>hadoop-main</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2021-11-16 19:02:34 -05:00
|
|
|
<version>3.3.3-SNAPSHOT</version>
|
2015-05-01 18:57:42 -04:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>hadoop-build-tools</artifactId>
|
2015-05-01 14:11:50 -04:00
|
|
|
<description>Apache Hadoop Build Tools Project</description>
|
|
|
|
<name>Apache Hadoop Build Tools</name>
|
2015-05-01 18:57:42 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<failIfNoTests>false</failIfNoTests>
|
|
|
|
</properties>
|
2016-06-15 00:30:14 -04:00
|
|
|
<build>
|
2016-07-15 19:01:16 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/target/extra-resources</directory>
|
|
|
|
<targetPath>META-INF</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>LICENSE.txt</include>
|
|
|
|
<include>NOTICE.txt</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2016-06-15 00:30:14 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-07-15 19:01:16 -04:00
|
|
|
<!-- copy L&N files to target/extra-resources -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2016-11-27 23:10:31 -05:00
|
|
|
<version>${maven-resources-plugin.version}</version>
|
2016-07-15 19:01:16 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.basedir}/target/extra-resources</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../</directory>
|
|
|
|
<includes>
|
|
|
|
<include>LICENSE.txt</include>
|
|
|
|
<include>NOTICE.txt</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- add entries for L&N files to remote-resources.xml in jar file -->
|
2016-06-15 00:30:14 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
2016-11-27 23:10:31 -05:00
|
|
|
<version>${maven-remote-resources-plugin.version}</version>
|
2016-06-15 00:30:14 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-07-15 19:01:16 -04:00
|
|
|
<phase>process-resources</phase>
|
2016-06-15 00:30:14 -04:00
|
|
|
<goals>
|
|
|
|
<goal>bundle</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2016-07-15 19:01:16 -04:00
|
|
|
<resourcesDirectory>${project.build.outputDirectory}</resourcesDirectory>
|
2016-06-15 00:30:14 -04:00
|
|
|
<includes>
|
|
|
|
<include>META-INF/LICENSE.txt</include>
|
|
|
|
<include>META-INF/NOTICE.txt</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>dummy</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-05-01 02:32:20 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>maven-eclipse.xml</exclude>
|
|
|
|
<exclude>.externalToolBuilders/Maven_Ant_Builder.launch</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-06-15 00:30:14 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-07-15 19:01:16 -04:00
|
|
|
</project>
|