<?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>rewrite-parent</artifactId>
    <groupId>org.ocpsoft.rewrite</groupId>
    <version>3.0.0.Alpha6</version>
    <relativePath>../</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>rewrite-transform-minify</artifactId>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>com.yahoo.platform.yui:yuicompressor</include>
                  <include>rhino:js</include>
                </includes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <includes>
                    <include>org/ocpsoft/rewrite/**</include>
                    <include>com/yahoo/**</include>
                    <include>jargs/**</include>
                    <include>org/mozilla/**</include>
                  </includes>
                </filter>
              </filters>
              <relocations>
                <relocation>
                  <pattern>com.yahoo.platform.yui.compressor</pattern>
                  <shadedPattern>org.ocpsoft.rewrite.transform.minify.shade.com.yahoo.platform.yui.compressor</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>jargs.gnu</pattern>
                  <shadedPattern>org.ocpsoft.rewrite.transform.minify.shade.jargs.gnu</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.mozilla</pattern>
                  <shadedPattern>org.ocpsoft.rewrite.transform.minify.shade.org.mozilla</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.ocpsoft.rewrite</groupId>
      <artifactId>rewrite-transform</artifactId>
      <version>3.0.0.Alpha6</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.ocpsoft.rewrite</groupId>
      <artifactId>rewrite-api-servlet</artifactId>
      <version>3.0.0.Alpha6</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>rewrite-api</artifactId>
          <groupId>org.ocpsoft.rewrite</groupId>
        </exclusion>
        <exclusion>
          <artifactId>rewrite-addressbuilder</artifactId>
          <groupId>org.ocpsoft.rewrite</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.jboss.spec.javax.servlet</groupId>
      <artifactId>jboss-servlet-api_2.5_spec</artifactId>
      <version>1.0.1.Final</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.ocpsoft.rewrite</groupId>
      <artifactId>rewrite-test-harness</artifactId>
      <version>3.0.0.Alpha6</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>rewrite-test-base</artifactId>
          <groupId>org.ocpsoft.rewrite</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hamcrest-library</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
        <exclusion>
          <artifactId>fest-assert-core</artifactId>
          <groupId>org.easytesting</groupId>
        </exclusion>
        <exclusion>
          <artifactId>mockito-core</artifactId>
          <groupId>org.mockito</groupId>
        </exclusion>
        <exclusion>
          <artifactId>httpclient</artifactId>
          <groupId>org.apache.httpcomponents</groupId>
        </exclusion>
        <exclusion>
          <artifactId>htmlunit</artifactId>
          <groupId>net.sourceforge.htmlunit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>shrinkwrap-resolver-api</artifactId>
          <groupId>org.jboss.shrinkwrap.resolver</groupId>
        </exclusion>
        <exclusion>
          <artifactId>shrinkwrap-resolver-api-maven</artifactId>
          <groupId>org.jboss.shrinkwrap.resolver</groupId>
        </exclusion>
        <exclusion>
          <artifactId>shrinkwrap-resolver-impl-maven</artifactId>
          <groupId>org.jboss.shrinkwrap.resolver</groupId>
        </exclusion>
        <exclusion>
          <artifactId>arquillian-junit-container</artifactId>
          <groupId>org.jboss.arquillian.junit</groupId>
        </exclusion>
        <exclusion>
          <artifactId>arquillian-drone-webdriver</artifactId>
          <groupId>org.jboss.arquillian.extension</groupId>
        </exclusion>
        <exclusion>
          <artifactId>arquillian-drone-webdriver-depchain</artifactId>
          <groupId>org.jboss.arquillian.extension</groupId>
        </exclusion>
        <exclusion>
          <artifactId>rewrite-api</artifactId>
          <groupId>org.ocpsoft.rewrite</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.ocpsoft.rewrite</groupId>
      <artifactId>rewrite-config-servlet</artifactId>
      <version>3.0.0.Alpha6</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>rewrite-api-el</artifactId>
          <groupId>org.ocpsoft.rewrite</groupId>
        </exclusion>
        <exclusion>
          <artifactId>rewrite-api</artifactId>
          <groupId>org.ocpsoft.rewrite</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>

