<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.panda-lang</groupId>
  <artifactId>nanomaven</artifactId>
  <version>2.0.0</version>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <build>
    <defaultGoal>clean install</defaultGoal>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-compiler-eclipse</artifactId>
            <version>2.5</version>
          </dependency>
        </dependencies>
        <configuration>
          <source>${nanomaven.javaLanguageLevel}</source>
          <target>${nanomaven.javaVersion}</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.6</version>
        <configuration>
          <archive>
            <manifestEntries>
              <Implementation-Title>NanoMaven</Implementation-Title>
              <Implementation-Version>${nanomaven.version}</Implementation-Version>
              <Main-Class>org.panda_lang.nanomaven.NanoMaven</Main-Class>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>panda-repository</id>
      <name>Panda Repository</name>
      <url>https://repo.panda-lang.org/</url>
    </repository>
  </repositories>
  <distributionManagement>
    <repository>
      <id>panda-repository</id>
      <url>https://repo.panda-lang.org/releases</url>
    </repository>
  </distributionManagement>
  <properties>
    <nanomaven.javaVersion>1.8</nanomaven.javaVersion>
    <nanomaven.javaLanguageLevel>1.8</nanomaven.javaLanguageLevel>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>${nanomaven.javaLanguageLevel}</maven.compiler.source>
    <nanomaven.version>${project.version}</nanomaven.version>
    <maven.compiler.target>${nanomaven.javaVersion}</maven.compiler.target>
  </properties>
</project>

