<?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>gwt-rpc-parent</artifactId>
    <groupId>com.vertispan.rpc</groupId>
    <version>1.0-alpha-7</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>serialization-details</artifactId>
  <description>Provides a simple JSON schema to describe serialization and endpoints</description>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <relocations>
                <relocation>
                  <pattern>org.dominokit</pattern>
                  <shadedPattern>gwtrpc.shaded.org.dominokit</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.fasterxml</pattern>
                  <shadedPattern>gwtrpc.shaded.com.fasterxml</shadedPattern>
                </relocation>
              </relocations>
              <createSourcesJar>true</createSourcesJar>
              <filters>
                <filter>
                  <artifact>org.dominokit:domino-jackson-processor</artifact>
                  <excludes>
                    <exclude>**/*.java</exclude>
                    <exclude>**/*.gwt.xml</exclude>
                    <exclude>META-INF/gwt/mainModule</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <snapshots>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>fail</checksumPolicy>
      </snapshots>
      <id>sonatype-snapshots-repo</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>org.dominokit</groupId>
      <artifactId>domino-jackson-processor</artifactId>
      <version>1.0.0-RC6</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>
