|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + you may not use this file except in compliance with the License. |
| 5 | + You may obtain a copy of the License at |
| 6 | +
|
| 7 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +
|
| 9 | + Unless required by applicable law or agreed to in writing, software |
| 10 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + See the License for the specific language governing permissions and |
| 13 | + limitations under the License. See accompanying LICENSE file. |
| 14 | +--> |
| 15 | +<project> |
| 16 | + <modelVersion>4.0.0</modelVersion> |
| 17 | + <parent> |
| 18 | + <groupId>org.apache.hadoop</groupId> |
| 19 | + <artifactId>hadoop-project</artifactId> |
| 20 | + <version>3.0.0-SNAPSHOT</version> |
| 21 | + <relativePath>../../hadoop-project</relativePath> |
| 22 | + </parent> |
| 23 | + <groupId>org.apache.hadoop</groupId> |
| 24 | + <artifactId>hadoop-datajoin</artifactId> |
| 25 | + <version>3.0.0-SNAPSHOT</version> |
| 26 | + <description>Apache Hadoop Data Join</description> |
| 27 | + <name>Apache Hadoop Data Join</name> |
| 28 | + <packaging>jar</packaging> |
| 29 | + |
| 30 | + <properties> |
| 31 | + <hadoop.log.dir>${project.build.directory}/log</hadoop.log.dir> |
| 32 | + </properties> |
| 33 | + |
| 34 | + <dependencies> |
| 35 | + <dependency> |
| 36 | + <groupId>org.apache.hadoop</groupId> |
| 37 | + <artifactId>hadoop-annotations</artifactId> |
| 38 | + <scope>provided</scope> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.apache.hadoop</groupId> |
| 42 | + <artifactId>hadoop-mapreduce-client-hs</artifactId> |
| 43 | + <scope>provided</scope> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.apache.hadoop</groupId> |
| 47 | + <artifactId>hadoop-mapreduce-client-core</artifactId> |
| 48 | + <scope>provided</scope> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>org.apache.hadoop</groupId> |
| 52 | + <artifactId>hadoop-mapreduce-client-jobclient</artifactId> |
| 53 | + <scope>provided</scope> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.apache.hadoop</groupId> |
| 57 | + <artifactId>hadoop-mapreduce-client-jobclient</artifactId> |
| 58 | + <scope>test</scope> |
| 59 | + <type>test-jar</type> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.apache.hadoop</groupId> |
| 63 | + <artifactId>hadoop-common</artifactId> |
| 64 | + <scope>provided</scope> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.apache.hadoop</groupId> |
| 68 | + <artifactId>hadoop-hdfs</artifactId> |
| 69 | + <scope>provided</scope> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.apache.hadoop</groupId> |
| 73 | + <artifactId>hadoop-common</artifactId> |
| 74 | + <scope>test</scope> |
| 75 | + <type>test-jar</type> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>org.apache.hadoop</groupId> |
| 79 | + <artifactId>hadoop-hdfs</artifactId> |
| 80 | + <scope>test</scope> |
| 81 | + <type>test-jar</type> |
| 82 | + </dependency> |
| 83 | + <dependency> |
| 84 | + <groupId>org.apache.hadoop</groupId> |
| 85 | + <artifactId>hadoop-yarn-server-tests</artifactId> |
| 86 | + <type>test-jar</type> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + </dependencies> |
| 90 | + |
| 91 | + <build> |
| 92 | + <plugins> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-antrun-plugin</artifactId> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <id>create-log-dir</id> |
| 99 | + <phase>process-test-resources</phase> |
| 100 | + <goals> |
| 101 | + <goal>run</goal> |
| 102 | + </goals> |
| 103 | + <configuration> |
| 104 | + <target> |
| 105 | + <delete dir="${test.build.data}"/> |
| 106 | + <mkdir dir="${test.build.data}"/> |
| 107 | + <mkdir dir="${hadoop.log.dir}"/> |
| 108 | + </target> |
| 109 | + </configuration> |
| 110 | + </execution> |
| 111 | + </executions> |
| 112 | + </plugin> |
| 113 | + <plugin> |
| 114 | + <groupId>org.apache.maven.plugins</groupId> |
| 115 | + <artifactId>maven-jar-plugin</artifactId> |
| 116 | + </plugin> |
| 117 | + </plugins> |
| 118 | + </build> |
| 119 | +</project> |
| 120 | + |
0 commit comments