<?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>orbit-actors-parent</artifactId>
    <groupId>cloud.orbit</groupId>
    <version>1.12.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>orbit-runtime</artifactId>
  <name>Orbit Runtime</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>com.esotericsoftware:*</include>
                  <include>org.ow2.asm:asm</include>
                  <include>de.javakaffee:kryo-serializers</include>
                  <include>org.objenesis:*</include>
                  <include>com.github.ben-manes.caffeine:caffeine</include>
                  <include>io.github.classgraph:classgraph</include>
                </includes>
              </artifactSet>
              <relocations>
                <relocation>
                  <pattern>de.javakaffee.</pattern>
                  <shadedPattern>cloud.orbit.runtime.shaded.de.javakaffee.</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.esotericsoftware.</pattern>
                  <shadedPattern>cloud.orbit.runtime.shaded.com.esotericsoftware.</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.objenesis.</pattern>
                  <shadedPattern>cloud.orbit.runtime.shaded.org.objenesis.</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.github.benmanes.caffeine.</pattern>
                  <shadedPattern>cloud.orbit.runtime.shaded.com.github.benmanes.caffeine.</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.objectweb.</pattern>
                  <shadedPattern>cloud.orbit.runtime.shaded.org.objectweb.</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>io.github.classgraph.</pattern>
                  <shadedPattern>cloud.orbit.runtime.shaded.io.github.classgraph.</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>cloud.orbit</groupId>
      <artifactId>orbit-core</artifactId>
      <version>1.12.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>cloud.orbit</groupId>
      <artifactId>orbit-infinispan-cluster</artifactId>
      <version>1.12.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>javax.inject</groupId>
      <artifactId>javax.inject</artifactId>
      <version>1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-all</artifactId>
      <version>1.9.5</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>cloud.orbit</groupId>
      <artifactId>orbit-commons</artifactId>
      <version>1.12.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.ea.async</groupId>
      <artifactId>ea-async</artifactId>
      <version>1.2.2</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.intellij</groupId>
      <artifactId>annotations</artifactId>
      <version>12.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>
