<?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>thredds-parent</artifactId>
    <groupId>edu.ucar</groupId>
    <version>4.3.21-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>ncIdv</artifactId>
  <name>ncIdv Module</name>
  <description>Package that generates a jar file for use in the IDV</description>
  <url>http://www.unidata.ucar.edu/software/tds/</url>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <id>build-ncIdv</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <excludes>
                  <exclude>edu.ucar:ui</exclude>
                  <exclude>aopalliance:aopalliance</exclude>
                  <exclude>com.jgoodies:forms</exclude>
                  <exclude>commons-logging:commons-logging</exclude>
                  <exclude>jfree:*</exclude>
                  <exclude>lucene:lucene</exclude>
                  <exclude>org.springframework:*</exclude>
                  <exclude>org.bounce:*</exclude>
                  <exclude>c3p0:c3p0</exclude>
                </excludes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <excludes>DATE</excludes>
                    <excludes>JDOM*</excludes>
                    <excludes>*.html</excludes>
                    <excludes>META-INF/*.txt</excludes>
                    <excludes>META-INF/*.xml</excludes>
                    <excludes>nom/**</excludes>
                    <excludes>edu/wisc/**</excludes>
                    <excludes>visad/**</excludes>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <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>

