<?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.1.4</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.blazegraph</groupId>
  <artifactId>bigdata-runtime</artifactId>
  <name>Blazegraph Runtime</name>
  <version>2.1.4</version>
  <description>This file contains all of the Blazegraph DB artifacts without any external artifacts.</description>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.10</version>
        <executions>
          <execution>
            <id>copy</id>
            <phase>compile</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.blazegraph</groupId>
                  <artifactId>bigdata-war-html</artifactId>
                  <version>${project.version}</version>
                  <type>war</type>
                  <overWrite>true</overWrite>
                  <outputDirectory>target/classes/war</outputDirectory>
                  <destFileName>bigdata.war</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.6</version>
        <executions>
          <execution>
            <id>unpack-war</id>
            <phase>compile</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <target>
                <unzip>
                  <fileset>
                    <include />
                  </fileset>
                </unzip>
                <delete />
                <copy />
              </target>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.6</version>
        <executions>
          <execution>
            <id>empty-javadoc-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>javadoc</classifier>
              <classesDirectory>${basedir}/src/main/resources</classesDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <artifactSet>
                <includes>
                  <include>com.blazegraph:*</include>
                </includes>
                <excludes>
                  <exclude>commons-io:*</exclude>
                  <exclude>commons-lang:*</exclude>
                  <exclude>commons-codec:*</exclude>
                  <exclude>commons-fileupload:*</exclude>
                  <exclude>org.openrdf.sesame:*</exclude>
                  <exclude>com.github.stephenc.high-scale-lib:*</exclude>
                  <exclude>colt:*</exclude>
                  <exclude>org.apache.lucene:*</exclude>
                  <exclude>com.ibm.icu:*</exclude>
                  <exclude>org.slf4j:*</exclude>
                  <exclude>org.apache.httpcomponents:*</exclude>
                  <exclude>org.codehaus.jettison:*</exclude>
                  <exclude>org.apache.*:*</exclude>
                  <exclude>org.eclipse.jetty:*</exclude>
                  <exclude>com.tinkerpop.*:*</exclude>
                  <exclude>javax.servlet:*</exclude>
                  <exclude>log4j:*</exclude>
                </excludes>
              </artifactSet>
              <transformers>
                <transformer>
                  <manifestEntries>
                    <Main-Class>com.bigdata.rdf.sail.webapp.StandaloneNanoSparqlServer</Main-Class>
                    <Build-Number>${project.version}</Build-Number>
                  </manifestEntries>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <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 Runtime&lt;/h1&gt;</doctitle>
          <bottom>&lt;i&gt;Copyright &amp;#169; 2006-2016 SYSTAP, LLC DBA Blazegraph. All Rights Reserved.&lt;/i&gt;
&lt;script&gt;
jQuery(document).ready(function(){
  jQuery('ul.sf-menu').superfish({
  pathClass: 'current',
  cssArrows: false
  });
});

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-50971023-6', 'blazegraph.com');
ga('send', 'pageview');
&lt;/script&gt;</bottom>
        </configuration>
      </plugin>
    </plugins>
  </reporting>
</project>

