<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <parent>
    <artifactId>huaweicloud-sdk</artifactId>
    <groupId>com.huaweicloud.sdk</groupId>
    <version>3.0.81</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>huaweicloud-sdk-bundle</artifactId>
  <name>Huawei Cloud SDK for Java Bundle</name>
  <version>3.0.81</version>
  <description>A single bundled dependency that includes all service and dependent JARs for Huawei Cloud Java SDK</description>
  <url>https://github.com/huaweicloud/huaweicloud-sdk-java-v3</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>com.huaweicloud.sdk:*</include>
              <include>com.fasterxml.jackson.core:*</include>
              <include>com.fasterxml.jackson.datatype:*</include>
              <include>com.squareup.okhttp3:*</include>
              <include>com.squareup.okio:*</include>
              <include>org.slf4j:*</include>
            </includes>
          </artifactSet>
          <relocations>
            <relocation>
              <pattern>com.fasterxml.jackson</pattern>
              <shadedPattern>com.huaweicloud.sdk.thirdparty.com.fasterxml.jackson</shadedPattern>
            </relocation>
            <relocation>
              <pattern>okhttp3</pattern>
              <shadedPattern>com.huaweicloud.sdk.thirdparty.okhttp3</shadedPattern>
            </relocation>
            <relocation>
              <pattern>okio</pattern>
              <shadedPattern>com.huaweicloud.sdk.thirdparty.okio</shadedPattern>
            </relocation>
            <relocation>
              <pattern>org.slf4j</pattern>
              <shadedPattern>com.huaweicloud.sdk.thirdparty.org.slf4j</shadedPattern>
            </relocation>
          </relocations>
          <shadedArtifactAttached>false</shadedArtifactAttached>
          <createDependencyReducedPom>true</createDependencyReducedPom>
          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
          <execution>
            <id>empty-javadoc-jar</id>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>javadoc</classifier>
              <classDirectory>${basedir}/javadoc</classDirectory>
            </configuration>
          </execution>
          <execution>
            <id>empty-sources-jar</id>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>sources</classifier>
              <classDirectory>${basedir}/sources</classDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
