<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>io.github.javpower</groupId>
  <artifactId>vectorex</artifactId>
  <version>1.5.3</version>
  <packaging>pom</packaging>
  <name>VectoRex</name>
  <description>vectorex</description>
  <url>https://github.com/javpower/VectoRex</url>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>gc.x</name>
      <email>javpower@163.com</email>
      <organization>https://github.com/javpower</organization>
      <timezone>+8</timezone>
    </developer>
  </developers>
  <modules>
    <module>./vectorex-starter</module>
    <module>./vectorex-core</module>
    <module>./vectorex-client</module>
    <module>./vectorex-solon-plugin</module>
  </modules>
  <scm>
    <connection>scm:git:git@github.com:javpower/VectoRex.git</connection>
    <developerConnection>scm:git:git@github.com:javpower/VectoRex.git</developerConnection>
    <url>git@github.com:javpower/VectoRex.git</url>
  </scm>
  <properties>
    <java.version>1.8</java.version>
    <maven-assembly.version>3.6.0</maven-assembly.version>
    <spring-boot.version>2.7.13</spring-boot.version>
    <maven-compiler.version>3.11.0</maven-compiler.version>
    <solon.version>2.7.6</solon.version>
    <maven.compiler.target>${java.version}</maven.compiler.target>
    <nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
    <auto.service.version>1.0</auto.service.version>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <mica-auto.vaersion>2.3.2</mica-auto.vaersion>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <revision>1.5.3</revision>
    <maven-resources.version>3.3.1</maven-resources.version>
    <maven.compiler.source>${java.version}</maven.compiler.source>
    <javapoet.version>1.13.0</javapoet.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.github.javpower</groupId>
        <artifactId>vectorex-starter</artifactId>
        <version>1.5.3</version>
      </dependency>
      <dependency>
        <groupId>io.github.javpower</groupId>
        <artifactId>vectorex-solon-plugin</artifactId>
        <version>1.5.3</version>
      </dependency>
      <dependency>
        <groupId>io.github.javpower</groupId>
        <artifactId>vectorex-core</artifactId>
        <version>1.5.3</version>
      </dependency>
      <dependency>
        <groupId>io.github.javpower</groupId>
        <artifactId>vectorex-client</artifactId>
        <version>1.2.0</version>
      </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>${spring-boot.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
        <version>${spring-boot.version}</version>
      </plugin>
      <plugin>
        <groupId>org.sonatype.central</groupId>
        <artifactId>central-publishing-maven-plugin</artifactId>
        <version>0.4.0</version>
        <extensions>true</extensions>
        <configuration>
          <publishingServerId>central</publishingServerId>
          <tokenAuth>true</tokenAuth>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <show>private</show>
          <nohelp>true</nohelp>
          <charset>UTF-8</charset>
          <encoding>UTF-8</encoding>
          <docencoding>UTF-8</docencoding>
          <additionalparam>-Xdoclint:none</additionalparam>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.8.2</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.2.7</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
