<?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>strilog-encoder</artifactId>
    <groupId>com.payneteasy</groupId>
    <version>1.0-7</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.payneteasy.strilog-encoder</groupId>
  <artifactId>strilog-json-encoder-shaded</artifactId>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.4.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <relocations>
                <relocation>
                  <pattern>dsl_json</pattern>
                  <shadedPattern>${shadedPattern}.dsl_json</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.dslplatform</pattern>
                  <shadedPattern>${shadedPattern}.dslplatform</shadedPattern>
                </relocation>
              </relocations>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/maven/**</exclude>
                    <exclude>META-INF/**</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <properties>
    <shadedPattern>com.payneteasy.strilog.encoder.json.shaded</shadedPattern>
  </properties>
</project>
