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 xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
16
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
17
+ <modelVersion >4.0.0</modelVersion >
18
+ <parent >
19
+ <groupId >org.apache.hadoop</groupId >
20
+ <artifactId >hadoop-project</artifactId >
21
+ <version >3.5.0-SNAPSHOT</version >
22
+ <relativePath >../../hadoop-project</relativePath >
23
+ </parent >
24
+ <artifactId >hadoop-compat-bench</artifactId >
25
+ <version >3.5.0-SNAPSHOT</version >
26
+ <packaging >jar</packaging >
27
+
28
+ <description >Apache Hadoop Compatibility</description >
29
+ <name >Apache Hadoop Compatibility Benchmark</name >
30
+
31
+ <dependencies >
32
+ <dependency >
33
+ <groupId >org.apache.hadoop</groupId >
34
+ <artifactId >hadoop-common</artifactId >
35
+ <scope >provided</scope >
36
+ </dependency >
37
+ <dependency >
38
+ <!-- Should we keep this -->
39
+ <groupId >org.apache.hadoop</groupId >
40
+ <artifactId >hadoop-hdfs</artifactId >
41
+ <scope >provided</scope >
42
+ </dependency >
43
+ <dependency >
44
+ <groupId >junit</groupId >
45
+ <artifactId >junit</artifactId >
46
+ <scope >compile</scope >
47
+ </dependency >
48
+
49
+ <!-- For test -->
50
+ <dependency >
51
+ <groupId >org.apache.hadoop</groupId >
52
+ <artifactId >hadoop-hdfs-client</artifactId >
53
+ <scope >test</scope >
54
+ </dependency >
55
+ <dependency >
56
+ <groupId >org.apache.hadoop</groupId >
57
+ <artifactId >hadoop-common</artifactId >
58
+ <type >test-jar</type >
59
+ <scope >test</scope >
60
+ </dependency >
61
+ <dependency >
62
+ <groupId >org.apache.hadoop</groupId >
63
+ <artifactId >hadoop-hdfs</artifactId >
64
+ <type >test-jar</type >
65
+ <scope >test</scope >
66
+ </dependency >
67
+ <dependency >
68
+ <groupId >org.mockito</groupId >
69
+ <artifactId >mockito-core</artifactId >
70
+ <scope >test</scope >
71
+ </dependency >
72
+ </dependencies >
73
+
74
+ <build >
75
+ <plugins >
76
+ <plugin >
77
+ <groupId >org.apache.maven.plugins</groupId >
78
+ <artifactId >maven-jar-plugin</artifactId >
79
+ <configuration >
80
+ <archive >
81
+ <manifest >
82
+ <mainClass >org.apache.hadoop.fs.compat.HdfsCompatTool</mainClass >
83
+ </manifest >
84
+ </archive >
85
+ </configuration >
86
+ <executions >
87
+ <execution >
88
+ <goals >
89
+ <goal >test-jar</goal >
90
+ </goals >
91
+ <configuration >
92
+ <archive >
93
+ <manifest >
94
+ <mainClass >org.apache.hadoop.fs.compat.hdfs.HdfsCompatMiniCluster</mainClass >
95
+ </manifest >
96
+ </archive >
97
+ </configuration >
98
+ </execution >
99
+ </executions >
100
+ </plugin >
101
+ <plugin >
102
+ <groupId >org.apache.maven.plugins</groupId >
103
+ <artifactId >maven-surefire-plugin</artifactId >
104
+ <configuration >
105
+ <forkedProcessTimeoutInSeconds >3600</forkedProcessTimeoutInSeconds >
106
+ </configuration >
107
+ </plugin >
108
+ </plugins >
109
+ <resources >
110
+ <resource >
111
+ <directory >src/main/resources</directory >
112
+ </resource >
113
+ <resource >
114
+ <directory >shell</directory >
115
+ </resource >
116
+ </resources >
117
+ </build >
118
+ </project >
0 commit comments