|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<!-- |
3 | | - Licensed to the Apache Software |
4 | | - Foundation (ASF) under one or more contributor license agreements. See the |
5 | | - NOTICE file distributed with this work for additional information regarding |
6 | | - copyright ownership. The ASF licenses this file to You under the Apache License, |
7 | | - Version 2.0 (the "License"); you may not use this file except in compliance |
8 | | - with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
9 | | - Unless required by applicable law or agreed to in writing, software distributed |
10 | | - under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
11 | | - OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
12 | | - the specific language governing permissions and limitations under the License. |
| 2 | +<!-- |
| 3 | + Licensed to the Apache Software |
| 4 | + Foundation (ASF) under one or more contributor license agreements. See the |
| 5 | + NOTICE file distributed with this work for additional information regarding |
| 6 | + copyright ownership. The ASF licenses this file to You under the Apache License, |
| 7 | + Version 2.0 (the "License"); you may not use this file except in compliance |
| 8 | + with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + Unless required by applicable law or agreed to in writing, software distributed |
| 10 | + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| 11 | + OR CONDITIONS OF ANY KIND, either express or implied. See the License for |
| 12 | + the specific language governing permissions and limitations under the License. |
13 | 13 | --> |
14 | 14 |
|
15 | 15 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
59 | 59 | <artifactId>hadoop-yarn-server-common</artifactId> |
60 | 60 | <version>${hadoop.version}</version> |
61 | 61 | <scope>provided</scope> |
| 62 | + <exclusions> |
| 63 | + <exclusion> |
| 64 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 65 | + <groupId>org.apache.curator</groupId> |
| 66 | + <artifactId>curator-framework</artifactId> |
| 67 | + </exclusion> |
| 68 | + <exclusion> |
| 69 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 70 | + <groupId>org.apache.curator</groupId> |
| 71 | + <artifactId>curator-client</artifactId> |
| 72 | + </exclusion> |
| 73 | + <exclusion> |
| 74 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 75 | + <groupId>org.apache.curator</groupId> |
| 76 | + <artifactId>curator-recipes</artifactId> |
| 77 | + </exclusion> |
| 78 | + </exclusions> |
62 | 79 | </dependency> |
63 | 80 | <dependency> |
64 | 81 | <groupId>org.apache.hadoop</groupId> |
|
94 | 111 | <artifactId>hadoop-yarn-common</artifactId> |
95 | 112 | <version>${hadoop.version}</version> |
96 | 113 | <scope>provided</scope> |
| 114 | + <exclusions> |
| 115 | + <exclusion> |
| 116 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 117 | + <groupId>org.apache.curator</groupId> |
| 118 | + <artifactId>curator-framework</artifactId> |
| 119 | + </exclusion> |
| 120 | + </exclusions> |
97 | 121 | </dependency> |
98 | 122 | <dependency> |
99 | 123 | <groupId>org.apache.hadoop</groupId> |
|
119 | 143 | <scope>provided</scope> |
120 | 144 | <exclusions> |
121 | 145 | <exclusion> |
122 | | - <groupId>org.apache.curator</groupId> |
123 | | - <artifactId>curator-recipes</artifactId> |
| 146 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 147 | + <groupId>org.apache.curator</groupId> |
| 148 | + <artifactId>curator-framework</artifactId> |
124 | 149 | </exclusion> |
125 | 150 | <exclusion> |
126 | | - <groupId>org.apache.curator</groupId> |
127 | | - <artifactId>curator-client</artifactId> |
| 151 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 152 | + <groupId>org.apache.curator</groupId> |
| 153 | + <artifactId>curator-client</artifactId> |
128 | 154 | </exclusion> |
129 | 155 | <exclusion> |
130 | | - <groupId>org.apache.curator</groupId> |
131 | | - <artifactId>curator-framework</artifactId> |
| 156 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x--> |
| 157 | + <groupId>org.apache.curator</groupId> |
| 158 | + <artifactId>curator-recipes</artifactId> |
132 | 159 | </exclusion> |
133 | 160 | <exclusion> |
134 | 161 | <groupId>org.slf4j</groupId> |
|
211 | 238 | <groupId>org.slf4j</groupId> |
212 | 239 | <artifactId>slf4j-log4j12</artifactId> |
213 | 240 | </exclusion> |
| 241 | + <exclusion> |
| 242 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 243 | + <groupId>org.apache.curator</groupId> |
| 244 | + <artifactId>curator-framework</artifactId> |
| 245 | + </exclusion> |
| 246 | + <exclusion> |
| 247 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 248 | + <groupId>org.apache.curator</groupId> |
| 249 | + <artifactId>curator-client</artifactId> |
| 250 | + </exclusion> |
| 251 | + <exclusion> |
| 252 | + <!-- to avoid pulling in curator 2.12.0 with hadoop 3.1.x --> |
| 253 | + <groupId>org.apache.curator</groupId> |
| 254 | + <artifactId>curator-recipes</artifactId> |
| 255 | + </exclusion> |
214 | 256 | </exclusions> |
215 | 257 | </dependency> |
216 | 258 |
|
|
0 commit comments