<?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>metrics-aspectj-parent</artifactId>
    <groupId>io.astefanutti.metrics.aspectj</groupId>
    <version>1.2.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>metrics-aspectj-deps</artifactId>
  <name>Metrics AspectJ Dependencies</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <createSourcesJar>true</createSourcesJar>
          <artifactSet>
            <excludes>
              <exclude>io.dropwizard.metrics:metrics-core</exclude>
              <exclude>org.slf4j:slf4j-api</exclude>
            </excludes>
          </artifactSet>
          <filters>
            <filter>
              <artifact>org.aspectj:aspectjrt</artifact>
              <includes>
                <include>org/aspectj/lang/**</include>
                <include>org/aspectj/runtime/**</include>
              </includes>
            </filter>
          </filters>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

