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
|
|
|
|
|
|
|
|
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 18:57:42 -04:00
|
|
|
<parent>
|
|
|
|
<artifactId>hadoop-main</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2016-07-15 22:04:17 -04:00
|
|
|
<version>3.0.0-alpha2-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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-07-15 19:01:16 -04:00
|
|
|
</project>
|