<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>cn.liangjihua</groupId>
  <artifactId>java-openapi-archetype</artifactId>
  <version>0.0.2</version>
  <packaging>maven-archetype</packaging>

  <url>https://git.liangjihua.cn/java-openapi-archetype</url>
  <name>java-openapi-archetype</name>
  <description>openapi 优先的开发框架</description>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>jytion</name>
      <email>yujiaxin@liangjihua.cn</email>
      <organization>Person</organization>
      <organizationUrl>https://www.liangjihua.cn</organizationUrl>
    </developer>
  </developers>

  <scm>
    <connection>scm:git:git://git.liangjihua.cn/java-openapi-archetype.git</connection>
    <developerConnection>scm:git:ssh://git.liangjihua.cn/java-openapi-archetype.git</developerConnection>
    <url>https://git.liangjihua.cn/java-openapi-archetype</url>
  </scm>

  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.archetype</groupId>
        <artifactId>archetype-packaging</artifactId>
        <version>3.4.0</version>
      </extension>
    </extensions>
    <plugins>
<!--
      添加源码打包
-->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>package</phase>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <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>
        <configuration>
<!--          <keyname>yujiaxin</keyname>-->
<!--          <passphraseServerId>yujiaxin</passphraseServerId>-->
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.sonatype.central</groupId>
        <artifactId>central-publishing-maven-plugin</artifactId>
        <version>0.7.0</version>
        <extensions>true</extensions>
        <configuration>
          <publishingServerId>sonatype-cn-liangjihua</publishingServerId>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
