<?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>blazegraph-parent</artifactId>
    <groupId>com.blazegraph</groupId>
    <version>2.0.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.blazegraph</groupId>
  <artifactId>dsi-utils</artifactId>
  <name>Blazegraph DSI Utils</name>
  <version>2.0.1</version>
  <description>Blazegraph Modifications to the DSI utils.  This are forked from a version under LGPLv2.1.</description>
  <licenses>
    <license>
      <name>GNU LESSER GENERAL PUBLIC LICENSE Version 2.1</name>
      <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
    </license>
  </licenses>
  <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>
                <excludes>
                  <exclude>colt:colt</exclude>
                  <exclude>concurrent:concurrent</exclude>
                  <exclude>it.unimi.dsi:fastutil</exclude>
                </excludes>
              </artifactSet>
              <filters>
                <filter>
                  <artifact>it.unimi.dsi:dsiutils</artifact>
                  <excludes>
                    <exclude>it/unimi/dsi/compression/CanonicalFast64CodeWordDecoder.class</exclude>
                    <exclude>it/unimi/dsi/compression/Fast64CodeWordCoder.class</exclude>
                    <exclude>it/unimi/dsi/compression/HuffmanCodec*.class</exclude>
                    <exclude>it/unimi/dsi/io/InputBitStream.class</exclude>
                    <exclude>it/unimi/dsi/io/NullOutputStream.class</exclude>
                    <exclude>it/unimi/dsi/io/OutputBitStream.class</exclude>
                    <exclude>it/unimi/dsi/util/BloomFilter2.class</exclude>
                  </excludes>
                </filter>
              </filters>
              <minimizeJar>true</minimizeJar>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>repo-for-dsiutils</id>
      <url>http://ir.dcs.gla.ac.uk/~bpiwowar/maven/</url>
    </repository>
  </repositories>
  <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>
    <dependency>
      <groupId>colt</groupId>
      <artifactId>colt</artifactId>
      <version>1.2.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>it.unimi.dsi</groupId>
      <artifactId>fastutil</artifactId>
      <version>6.5.16</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <reporting>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
          <show>public</show>
          <maxmemory>1000m</maxmemory>
          <author>true</author>
          <version>true</version>
          <doctitle>&lt;h1&gt;Blazegraph DSI Utils&lt;/h1&gt;</doctitle>
          <bottom>&lt;i&gt; 
                           Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2012.  All rights reserved.&lt;p&gt;

                           Licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 (the "License");
                           you may not use this file except in compliance with the License.
                           You may obtain a copy of the License at&lt;p&gt;

                               http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt

                           Unless required by applicable law or agreed to in writing, software
                           distributed under the License is distributed on an 'AS IS' BASIS,
                           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
                           See the License for the specific language governing permissions and
                           limitations under the License.&lt;p&gt;

                                                        &lt;hr&gt;
                            This product includes software developed by the dsiutils project (http://dsiutils.dsi.unimi.it/).  
                            Copyright (C) 2002-2009 Sebastiano Vigna&lt;/i&gt;</bottom>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
</project>

