2015-05-01 18:11:50 +00: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
|
|
|
|
|
|
|
|
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. See accompanying LICENSE file.
|
|
|
|
-->
|
|
|
|
<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">
|
2015-05-01 22:57:42 +00:00
|
|
|
<parent>
|
|
|
|
<artifactId>hadoop-main</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-01-19 23:50:07 +00:00
|
|
|
<version>3.0.0-alpha3-SNAPSHOT</version>
|
2015-05-01 22:57:42 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>hadoop-build-tools</artifactId>
|
2015-05-01 18:11:50 +00:00
|
|
|
<description>Apache Hadoop Build Tools Project</description>
|
|
|
|
<name>Apache Hadoop Build Tools</name>
|
2015-05-01 22:57:42 +00:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<failIfNoTests>false</failIfNoTests>
|
|
|
|
</properties>
|
2016-06-15 04:30:14 +00:00
|
|
|
<build>
|
2016-07-15 23:01:16 +00: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 04:30:14 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-07-15 23:01:16 +00:00
|
|
|
<!-- copy L&N files to target/extra-resources -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2016-11-28 04:10:31 +00:00
|
|
|
<version>${maven-resources-plugin.version}</version>
|
2016-07-15 23:01:16 +00: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 04:30:14 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
2016-11-28 04:10:31 +00:00
|
|
|
<version>${maven-remote-resources-plugin.version}</version>
|
2016-06-15 04:30:14 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-07-15 23:01:16 +00:00
|
|
|
<phase>process-resources</phase>
|
2016-06-15 04:30:14 +00:00
|
|
|
<goals>
|
|
|
|
<goal>bundle</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2016-07-15 23:01:16 +00:00
|
|
|
<resourcesDirectory>${project.build.outputDirectory}</resourcesDirectory>
|
2016-06-15 04:30:14 +00: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 06:32:20 +00: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 04:30:14 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-07-15 23:01:16 +00:00
|
|
|
</project>
|