<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.mule</groupId>
  <artifactId>mule-cglib</artifactId>
  <name>Mule CGLib</name>
  <version>1.0.0-SNAPSHOT</version>
  <description>Shades CGLib and its dependencies in a mule package.</description>
  <issueManagement>
    <system>jira</system>
    <url>http://www.mulesoft.org/jira/browse/MULE</url>
  </issueManagement>
  <mailingLists>
    <mailingList>
      <name>developers</name>
      <post>mule-esb@mulesoft.com</post>
    </mailingList>
  </mailingLists>
  <licenses>
    <license>
      <name>CPAL v1.0</name>
      <url>http://www.mulesoft.com/CPAL</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git://github.com/mulesoft/mule-cglib.git</connection>
    <developerConnection>scm:git:git@github.com:mulesoft/mule-cglib.git</developerConnection>
    <url>https://github.com/mulesoft/mule-cglib</url>
  </scm>
  <organization>
    <name>MuleSoft, Inc.</name>
    <url>http://www.mulesoft.com</url>
  </organization>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.3</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>cglib:cglib</include>
                  <include>org.ow2.asm:asm</include>
                </includes>
              </artifactSet>
              <relocations>
                <relocation>
                  <pattern>net.sf.cglib</pattern>
                  <shadedPattern>org.mule.cglib</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.objectweb.asm</pattern>
                  <shadedPattern>org.mule.asm</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <distributionManagement>
    <repository>
      <id>mule-releases</id>
      <name>Mule Release Repository</name>
      <url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url>
    </repository>
    <snapshotRepository>
      <uniqueVersion>false</uniqueVersion>
      <id>mule-snapshots</id>
      <name>Mule Snapshot Repository</name>
      <url>https://repository-master.mulesoft.org/nexus/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <cglibVersion>3.2.2</cglibVersion>
  </properties>
</project>

