<?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>handlebars.java</artifactId>
    <groupId>com.github.jknack</groupId>
    <version>4.0.6</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.github.jknack</groupId>
  <artifactId>handlebars-proto</artifactId>
  <name>A standalone Handlebars Server</name>
  <build>
    <resources>
      <resource>
        <filtering>true</filtering>
        <directory>src/main/resources</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/*.SF</exclude>
                    <exclude>META-INF/*.RSA</exclude>
                    <exclude>META-INF/*.INF</exclude>
                    <exclude>META-INF/*.sf</exclude>
                    <exclude>META-INF/*.inf</exclude>
                    <exclude>META-INF/*.rsa</exclude>
                  </excludes>
                </filter>
              </filters>
              <transformers>
                <transformer>
                  <mainClass>com.github.jknack.handlebars.server.HbsServer</mainClass>
                </transformer>
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.akathist.maven.plugins.launch4j</groupId>
        <artifactId>launch4j-maven-plugin</artifactId>
        <version>1.5.1</version>
        <executions>
          <execution>
            <id>l4j-clui</id>
            <phase>none</phase>
            <goals>
              <goal>launch4j</goal>
            </goals>
            <configuration>
              <headerType>console</headerType>
              <outfile>target/handlebars.exe</outfile>
              <jar>target/handlebars-proto-${project.version}.jar</jar>
              <errTitle>Handlebars.java</errTitle>
              <classPath>
                <mainClass>com.github.jknack.handlebars.server.HbsServer</mainClass>
                <addDependencies>false</addDependencies>
              </classPath>
              <jre>
                <minVersion>1.6.0</minVersion>
              </jre>
              <versionInfo>
                <fileVersion>0.5.4.0</fileVersion>
                <txtFileVersion>${project.version}</txtFileVersion>
                <fileDescription>Handlebars.java Server</fileDescription>
                <copyright>Copyright (c) 2012 Edgar Espina</copyright>
                <productVersion>0.5.4.0</productVersion>
                <productName>Handlebars.java Server</productName>
                <txtProductVersion>${project.version}</txtProductVersion>
                <internalName>handlebars</internalName>
                <originalFilename>handlebars.exe</originalFilename>
              </versionInfo>
            </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>
  <properties>
    <jetty-version>8.1.7.v20120910</jetty-version>
  </properties>
</project>

