<?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>infinispan-all-parent</artifactId>
    <groupId>org.infinispan</groupId>
    <version>7.0.2.Final</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>infinispan-remote</artifactId>
  <name>Infinispan Remote Client</name>
  <description>Infinispan Remote Client All-in-One module</description>
  <build>
    <pluginManagement />
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <excludes>
                  <exclude>log4j:log4j:jar:</exclude>
                  <exclude>net.jcip:jcip-annotations:jar:</exclude>
                  <exclude>org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:</exclude>
                  <exclude>org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:</exclude>
                  <exclude>javax.annotation:jsr250-api:jar:</exclude>
                  <exclude>javax.cache:cache-api:jar:</exclude>
                  <exclude>javax.enterprise:cdi-api:jar:</exclude>
                  <exclude>javax.inject:javax.inject:jar:</exclude>
                  <exclude>org.osgi:org.osgi.core:jar:</exclude>
                  <exclude>org.osgi:org.osgi.compendium:jar:</exclude>
                </excludes>
              </artifactSet>
              <createSourcesJar>true</createSourcesJar>
              <relocations>
                <relocation>
                  <pattern>org.jboss.logging</pattern>
                  <shadedPattern>infinispan.org.jboss.logging</shadedPattern>
                </relocation>
              </relocations>
              <transformers>
                <transformer>
                  <manifestEntries>
                    <Implementation-Title>${project.description}</Implementation-Title>
                    <Implementation-Vendor>JBoss, a division of Red Hat</Implementation-Vendor>
                    <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
                    <Implementation-Version>${project.version}</Implementation-Version>
                    <Specification-Title>${project.description}</Specification-Title>
                    <Specification-Vendor>JBoss, a division of Red Hat</Specification-Vendor>
                    <Specification-Version>${project.version}</Specification-Version>
                  </manifestEntries>
                </transformer>
                <transformer>
                  <resources>
                    <resource>blueprint.xml</resource>
                    <resource>features.xml</resource>
                  </resources>
                </transformer>
                <transformer />
                <transformer>
                  <resource>META-INF/beans.xml</resource>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <properties>
    <module.skipComponentMetaDataProcessing>true</module.skipComponentMetaDataProcessing>
  </properties>
</project>

