<?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>crowd-distribution</artifactId>
    <groupId>com.atlassian.crowd.distribution</groupId>
    <version>2.7.0-m1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.atlassian.crowd</groupId>
  <artifactId>crowd-integration-client</artifactId>
  <name>Atlassian Crowd Integration Client</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.0</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <excludes>
                  <exclude>asm:asm</exclude>
                  <exclude>asm:asm-util</exclude>
                  <exclude>ant:ant</exclude>
                  <exclude>aopalliance:aopalliance</exclude>
                  <exclude>aspectwerkz:aspectwerkz-core</exclude>
                  <exclude>cglib:cglib</exclude>
                  <exclude>com.atlassian.core:atlassian-core</exclude>
                  <exclude>com.atlassian.seraph:atlassian-seraph</exclude>
                  <exclude>com.opensymphony:webwork</exclude>
                  <exclude>commons-attributes:commons-attributes-api</exclude>
                  <exclude>commons-beanutils:commons-beanutils</exclude>
                  <exclude>commons-codec:commons-codec</exclude>
                  <exclude>commons-collections:commons-collections</exclude>
                  <exclude>commons-httpclient:commons-httpclient</exclude>
                  <exclude>commons-io:commons-io</exclude>
                  <exclude>commons-lang:commons-lang</exclude>
                  <exclude>commons-logging:commons-logging</exclude>
                  <exclude>dom4j:dom4j</exclude>
                  <exclude>freemarker:freemarker</exclude>
                  <exclude>com.google.guava:guava</exclude>
                  <exclude>isorelax:isorelax</exclude>
                  <exclude>javax.activation:activation</exclude>
                  <exclude>javax.mail:mail</exclude>
                  <exclude>javax.servlet:servlet-api</exclude>
                  <exclude>jaxen:jaxen</exclude>
                  <exclude>jdom:jdom</exclude>
                  <exclude>log4j:log4j</exclude>
                  <exclude>mockobjects:alt-jdk1.3</exclude>
                  <exclude>msv:msv</exclude>
                  <exclude>net.sf.ehcache:ehcache</exclude>
                  <exclude>odmg:odmg</exclude>
                  <exclude>opensymphony:ognl</exclude>
                  <exclude>ognl:ognl</exclude>
                  <exclude>opensymphony:oscore</exclude>
                  <exclude>opensymphony:propertyset</exclude>
                  <exclude>opensymphony:sitemesh</exclude>
                  <exclude>opensymphony:xwork</exclude>
                  <exclude>org.apache.ws.commons:XmlSchema</exclude>
                  <exclude>org.apache.xbean:xbean-spring</exclude>
                  <exclude>org.apache.velocity:velocity</exclude>
                  <exclude>org.codehaus.xfire:xfire-core</exclude>
                  <exclude>xfire:xfire-jsr181-api</exclude>
                  <exclude>org.codehaus.xfire:xfire-xmlbeans</exclude>
                  <exclude>org.codehaus.xfire:xfire-aegis</exclude>
                  <exclude>org.codehaus.xfire:xfire-annotations</exclude>
                  <exclude>org.codehaus.xfire:xfire-java5</exclude>
                  <exclude>org.codehaus.woodstox:wstx-asl</exclude>
                  <exclude>org.codehaus.xfire:xfire-spring</exclude>
                  <exclude>org.rifers:rife-continuations</exclude>
                  <exclude>org.slf4j:slf4j-api</exclude>
                  <exclude>org.springframework:spring-core</exclude>
                  <exclude>org.springframework:spring-remoting</exclude>
                  <exclude>org.springframework:spring-aop</exclude>
                  <exclude>org.springframework:spring-beans</exclude>
                  <exclude>org.springframework:spring-context</exclude>
                  <exclude>org.springframework:spring-context-support</exclude>
                  <exclude>org.springframework:spring-jdbc</exclude>
                  <exclude>org.springframework:spring-tx</exclude>
                  <exclude>org.springframework:spring-support</exclude>
                  <exclude>org.springframework:spring-orm</exclude>
                  <exclude>org.springframework.security:spring-security-core</exclude>
                  <exclude>oro:oro</exclude>
                  <exclude>qdox:qdox</exclude>
                  <exclude>relaxngDatatype:relaxngDatatype</exclude>
                  <exclude>saxpath:saxpath</exclude>
                  <exclude>stax:stax-api</exclude>
                  <exclude>net.java.dev.stax-utils:stax-utils</exclude>
                  <exclude>wsdl4j:wsdl4j</exclude>
                  <exclude>xerces:xercesImpl</exclude>
                  <exclude>xerces:xmlParserAPIs</exclude>
                  <exclude>xmlbeans:xbean</exclude>
                  <exclude>xml-apis:xml-apis</exclude>
                  <exclude>xmlrpc:xmlrpc</exclude>
                </excludes>
              </artifactSet>
              <relocations>
                <relocation>
                  <pattern>com.atlassian.security.cookie</pattern>
                  <shadedPattern>com.atlassian.crowd.shaded</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>com.atlassian.ip</pattern>
                  <shadedPattern>com.atlassian.crowd.shaded.atlassian-ip</shadedPattern>
                </relocation>
              </relocations>
              <transformers>
                <transformer />
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.0.4</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.xfire</groupId>
      <artifactId>xfire-core</artifactId>
      <version>1.2.6</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>mail</artifactId>
          <groupId>javax.mail</groupId>
        </exclusion>
        <exclusion>
          <artifactId>xercesImpl</artifactId>
          <groupId>xerces</groupId>
        </exclusion>
        <exclusion>
          <artifactId>xmlParserAPIs</artifactId>
          <groupId>xerces</groupId>
        </exclusion>
        <exclusion>
          <artifactId>stax-api</artifactId>
          <groupId>stax</groupId>
        </exclusion>
        <exclusion>
          <artifactId>wstx-asl</artifactId>
          <groupId>org.codehaus.woodstox</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jdom</artifactId>
          <groupId>jdom</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>net.sf.ehcache</groupId>
      <artifactId>ehcache</artifactId>
      <version>2.7.0</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>

