1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!-- Licensed under the Apache License, Version 2.0 (the "License");
3
+ you may not use this file except in compliance with the License.
4
+ You may obtain a copy of the License at
5
+ http://www.apache.org/licenses/LICENSE-2.0
6
+ Unless required by applicable law or agreed to in writing, software
7
+ distributed under the License is distributed on an "AS IS" BASIS,
8
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ See the License for the specific language governing permissions and
10
+ limitations under the License. See accompanying LICENSE file.-->
11
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
12
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
13
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
14
+ <modelVersion >4.0.0</modelVersion >
15
+ <parent >
16
+ <groupId >org.apache.hadoop</groupId >
17
+ <artifactId >hadoop-project</artifactId >
18
+ <version >3.4.0-SNAPSHOT</version >
19
+ <relativePath >../../hadoop-project</relativePath >
20
+ </parent >
21
+ <artifactId >hadoop-huaweicloud</artifactId >
22
+ <version >3.4.0-SNAPSHOT</version >
23
+ <name >Apache Hadoop OBS support</name >
24
+ <description >
25
+ This module contains code to support integration with OBS.
26
+ It also declares the dependencies needed to work with OBS services.
27
+ </description >
28
+ <packaging >jar</packaging >
29
+ <properties >
30
+ <file .encoding>UTF-8</file .encoding>
31
+ <downloadSources >true</downloadSources >
32
+ <esdk .version>3.20.4.2</esdk .version>
33
+ </properties >
34
+
35
+ <profiles >
36
+ <profile >
37
+ <id >tests-off</id >
38
+ <activation >
39
+ <file >
40
+ <missing >src/test/resources/auth-keys.xml</missing >
41
+ </file >
42
+ </activation >
43
+ <properties >
44
+ <maven .test.skip>true</maven .test.skip>
45
+ </properties >
46
+ </profile >
47
+ <profile >
48
+ <id >tests-on</id >
49
+ <activation >
50
+ <file >
51
+ <exists >src/test/resources/auth-keys.xml</exists >
52
+ </file >
53
+ </activation >
54
+ <properties >
55
+ <maven .test.skip>false</maven .test.skip>
56
+ </properties >
57
+ </profile >
58
+ </profiles >
59
+
60
+ <build >
61
+ <plugins >
62
+ <plugin >
63
+ <groupId >org.codehaus.mojo</groupId >
64
+ <artifactId >findbugs-maven-plugin</artifactId >
65
+ <configuration >
66
+ <findbugsXmlOutput >true</findbugsXmlOutput >
67
+ <xmlOutput >true</xmlOutput >
68
+ <excludeFilterFile >${basedir} /dev-support/findbugs-exclude.xml
69
+ </excludeFilterFile >
70
+ <effort >Max</effort >
71
+ </configuration >
72
+ </plugin >
73
+ <plugin >
74
+ <groupId >org.apache.maven.plugins</groupId >
75
+ <artifactId >maven-surefire-plugin</artifactId >
76
+ <configuration >
77
+ <forkedProcessTimeoutInSeconds >3600</forkedProcessTimeoutInSeconds >
78
+ </configuration >
79
+ </plugin >
80
+ <plugin >
81
+ <groupId >org.apache.maven.plugins</groupId >
82
+ <artifactId >maven-dependency-plugin</artifactId >
83
+ <executions >
84
+ <execution >
85
+ <id >deplist</id >
86
+ <phase >compile</phase >
87
+ <goals >
88
+ <goal >list</goal >
89
+ </goals >
90
+ <configuration >
91
+ <outputFile >${project.basedir} /target/hadoop-cloud-storage-deps/${project.artifactId} .cloud-storage-optional.txt</outputFile >
92
+ </configuration >
93
+ </execution >
94
+ </executions >
95
+ </plugin >
96
+ </plugins >
97
+ </build >
98
+ <dependencies >
99
+ <dependency >
100
+ <groupId >org.apache.hadoop</groupId >
101
+ <artifactId >hadoop-common</artifactId >
102
+ <scope >provided</scope >
103
+ <exclusions >
104
+ <exclusion >
105
+ <groupId >jdk.tools</groupId >
106
+ <artifactId >jdk.tools</artifactId >
107
+ </exclusion >
108
+ </exclusions >
109
+ </dependency >
110
+ <dependency >
111
+ <groupId >org.apache.hadoop</groupId >
112
+ <artifactId >hadoop-common</artifactId >
113
+ <scope >test</scope >
114
+ <type >test-jar</type >
115
+ </dependency >
116
+ <dependency >
117
+ <groupId >junit</groupId >
118
+ <artifactId >junit</artifactId >
119
+ <version >4.12</version >
120
+ <scope >test</scope >
121
+ </dependency >
122
+ <dependency >
123
+ <groupId >org.mockito</groupId >
124
+ <artifactId >mockito-all</artifactId >
125
+ <version >1.10.19</version >
126
+ <scope >test</scope >
127
+ </dependency >
128
+ <dependency >
129
+ <groupId >org.apache.hadoop</groupId >
130
+ <artifactId >hadoop-mapreduce-client-jobclient</artifactId >
131
+ <scope >test</scope >
132
+ </dependency >
133
+ <dependency >
134
+ <groupId >org.apache.hadoop</groupId >
135
+ <artifactId >hadoop-yarn-server-tests</artifactId >
136
+ <scope >test</scope >
137
+ <type >test-jar</type >
138
+ </dependency >
139
+ <dependency >
140
+ <groupId >org.apache.hadoop</groupId >
141
+ <artifactId >hadoop-mapreduce-examples</artifactId >
142
+ <scope >test</scope >
143
+ <type >jar</type >
144
+ </dependency >
145
+ <dependency >
146
+ <groupId >org.apache.hadoop</groupId >
147
+ <artifactId >hadoop-distcp</artifactId >
148
+ <scope >test</scope >
149
+ </dependency >
150
+ <dependency >
151
+ <groupId >org.apache.hadoop</groupId >
152
+ <artifactId >hadoop-distcp</artifactId >
153
+ <scope >test</scope >
154
+ <type >test-jar</type >
155
+ </dependency >
156
+ <dependency >
157
+ <groupId >com.huaweicloud</groupId >
158
+ <artifactId >esdk-obs-java</artifactId >
159
+ <version >${esdk.version} </version >
160
+ <exclusions >
161
+ <exclusion >
162
+ <artifactId >okio</artifactId >
163
+ <groupId >com.squareup.okio</groupId >
164
+ </exclusion >
165
+ </exclusions >
166
+ </dependency >
167
+ <dependency >
168
+ <groupId >org.powermock</groupId >
169
+ <artifactId >powermock-api-mockito</artifactId >
170
+ <version >1.7.4</version >
171
+ <scope >test</scope >
172
+ </dependency >
173
+ <dependency >
174
+ <groupId >org.powermock</groupId >
175
+ <artifactId >powermock-module-junit4</artifactId >
176
+ <version >1.7.4</version >
177
+ <scope >test</scope >
178
+ </dependency >
179
+ </dependencies >
180
+ </project >
0 commit comments