[Feat](OSS)Decouple COS and OBS dependencies with optional inclusion mechanism (#39831)
… improve the flexibility of the project by decoupling direct dependencies on the hadoop-cos and hadoop-huaweicloud libraries. These changes allow users to control whether COS and OBS dependencies are included in the final build, enabling a more customizable setup. ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
This commit is contained in:
@ -410,6 +410,7 @@ under the License.
|
||||
<groupId>com.huaweicloud</groupId>
|
||||
<artifactId>hadoop-huaweicloud</artifactId>
|
||||
<version>${huaweiobs.version}</version>
|
||||
<scope>${obs.dependency.scope}</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
@ -425,6 +426,7 @@ under the License.
|
||||
<groupId>com.qcloud.cos</groupId>
|
||||
<artifactId>hadoop-cos</artifactId>
|
||||
<version>${tencentcos.version}</version>
|
||||
<scope>${cos.dependency.scope}</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.json</groupId>
|
||||
@ -666,6 +668,7 @@ under the License.
|
||||
<artifactId>gcs-connector</artifactId>
|
||||
<version>hadoop2-2.2.8</version>
|
||||
<classifier>shaded</classifier>
|
||||
<scope>${gcs.dependency.scope}</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>*</groupId>
|
||||
|
||||
Reference in New Issue
Block a user