<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>ch.puzzle</groupId>
  <artifactId>libpuzzle-parent</artifactId>
  <version>0.1.0-RC1</version>
  <packaging>pom</packaging>
  <name>libpuzzle Parent</name>
  <description>A set of useful libraries</description>
  <url>https://github.com/puzzle/libpuzzle-java/</url>
  <licenses>
    <license>
      <name>MIT License</name>
      <url>http://www.opensource.org/licenses/mit-license.php</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>GitHub Contributors</name>
      <url>https://github.com/puzzle/libpuzzle-java/graphs/contributors</url>
      <organization>Puzzle ITC GmbH</organization>
      <organizationUrl>https://puzzle.ch</organizationUrl>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:git@github.com:puzzle/libpuzzle-java.git</connection>
    <developerConnection>scm:git:git@github.com:puzzle/libpuzzle-java.git</developerConnection>
    <url>git@github.com:puzzle/libpuzzle-java.git</url>
  </scm>
  <properties>
    <main.basedir>${basedir}</main.basedir>
    <version.spring-boot>2.1.1.RELEASE</version.spring-boot>
    <version.spring-data>2.0.4.RELEASE</version.spring-data>
    <version.junit>4.12</version.junit>
    <version.java>11</version.java>
    <version.mockito>2.22.0</version.mockito>
    <version.spring-web>5.1.3.RELEASE</version.spring-web>
    <revision>0.1.0-RC1</revision>
  </properties>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>flatten-maven-plugin</artifactId>
          <version>1.1.0</version>
          <executions>
            <execution>
              <id>flatten</id>
              <phase>process-resources</phase>
              <goals>
                <goal>flatten</goal>
              </goals>
              <configuration>
                <updatePomFile>true</updatePomFile>
                <pomElements>
                  <parent>expand</parent>
                  <name>keep</name>
                  <description>keep</description>
                  <url>expand</url>
                  <properties>keep</properties>
                  <pluginManagement>keep</pluginManagement>
                  <dependencyManagement>keep</dependencyManagement>
                  <build>keep</build>
                  <developers>keep</developers>
                  <scm>keep</scm>
                </pomElements>
              </configuration>
            </execution>
            <execution>
              <id>flatten-clean</id>
              <phase>clean</phase>
              <goals>
                <goal>clean</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>1.6</version>
          <executions>
            <execution>
              <id>sign-artifacts</id>
              <phase>verify</phase>
              <goals>
                <goal>sign</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-source-plugin</artifactId>
          <version>3.1.0</version>
          <executions>
            <execution>
              <id>attach-sources</id>
              <goals>
                <goal>jar-no-fork</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>3.0.1</version>
          <executions>
            <execution>
              <id>attach-javadocs</id>
              <goals>
                <goal>jar</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <groupId>org.sonatype.plugins</groupId>
          <artifactId>nexus-staging-maven-plugin</artifactId>
          <version>1.6.8</version>
          <extensions>true</extensions>
          <configuration>
            <serverId>ossrh</serverId>
            <nexusUrl>https://oss.sonatype.org/</nexusUrl>
            <autoReleaseAfterClose>true</autoReleaseAfterClose>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <release>${version.java}</release>
          <source>${version.java}</source>
          <target>${version.java}</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
