<?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>parent</artifactId>
    <groupId>com.github.ollgei</groupId>
    <version>1.0.0.RC1</version>
    <relativePath>pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.github.ollgei</groupId>
  <artifactId>shaded-gson</artifactId>
  <name>shaded-gson</name>
  <version>2.8.6</version>
  <description>shaded gson</description>
  <url>https://github.com/ollgei/ollgei-shades</url>
  <issueManagement>
    <system>Github Issues</system>
    <url>https://github.com/ollgei/ollgei-shades/issues</url>
  </issueManagement>
  <inceptionYear>2020</inceptionYear>
  <scm>
    <connection>scm:git:https://github.com/ollgei/ollgei-shades.git</connection>
    <developerConnection>scm:git:https://github.com/ollgei/ollgei-shades.git</developerConnection>
    <url>https://github.com/ollgei/ollgei-shades</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <createSourcesJar>true</createSourcesJar>
              <shadeSourcesContent>true</shadeSourcesContent>
              <promoteTransitiveDependencies>false</promoteTransitiveDependencies>
              <artifactSet>
                <includes>
                  <include>com.google.code.gson:gson</include>
                </includes>
              </artifactSet>
              <relocations>
                <relocation>
                  <pattern>com.google.gson</pattern>
                  <shadedPattern>com.github.ollgei.shaded.gson</shadedPattern>
                </relocation>
              </relocations>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.MF</exclude>
                    <exclude>META-INF/*.DSA</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                    <exclude>META-INF/LICENSE.txt</exclude>
                    <exclude>META-INF/NOTICE.txt</exclude>
                    <exclude>META-INF/native-image/*</exclude>
                    <exclude>META-INF/maven/**</exclude>
                    <exclude>module-info.*</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
