Kai-Project-cli

Used in: 0 components

Overview

Description

A concise template for rapid development based on SpringBoot

Snippets

<dependency>
    <groupId>io.github.alfonsokevin</groupId>
    <artifactId>Kai-Project-cli</artifactId>
    <version>1.1.1</version>
</dependency>

Maven POM File

<?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>io.github.alfonsokevin</groupId>
  <artifactId>Kai-Project-cli</artifactId>
  <version>1.1.1</version>
  <packaging>maven-archetype</packaging>

  <name>Kai-Project-cli</name>

  <description>
    A concise template for rapid development based on SpringBoot
  </description>

<!--  <url>https://spring.io/projects/spring-boot/Kai-Project</url>-->
  <url>https://github.com/AlfonsoKevin/Kai-Project</url>

  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>



  <developers>

    <developer>
      <id>tangzhikai</id>
      <name>tangzhikai</name>
      <email>2641324109@qq.com</email>
      <roles>
        <role>Project Manager</role>
        <role>Architect</role>
      </roles>
    </developer>
    <!--    <developer>-->
    <!--      <name>Pivotal</name>-->
    <!--      <email>info@pivotal.io</email>-->
    <!--      <organization>Pivotal Software, Inc.</organization>-->
    <!--      <organizationUrl>https://www.spring.io</organizationUrl>-->
    <!--    </developer>-->
  </developers>

  <scm>
    <connection>https://github.com/AlfonsoKevin/Kai-Project.git</connection>
    <developerConnection>scm:git:ssh://git@github.com:AlfonsoKevin/Kai-Project.git</developerConnection>
    <url>https://github.com/AlfonsoKevin/Kai-Project</url>
  </scm>



  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.archetype</groupId>
        <artifactId>archetype-packaging</artifactId>
        <version>3.2.0</version>
      </extension>
    </extensions>

    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-archetype-plugin</artifactId>
          <version>3.2.0</version>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>

      <!--   central发布插件    -->
      <plugin>
        <groupId>org.sonatype.central</groupId>
        <artifactId>central-publishing-maven-plugin</artifactId>
        <version>0.4.0</version>
        <extensions>true</extensions>
        <configuration>
          <publishingServerId>MavenCentral</publishingServerId>
          <tokenAuth>true</tokenAuth>
        </configuration>
      </plugin>

      <!--   source源码插件 -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <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>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
          <execution>
            <id>attach-javadoc</id>
            <phase>verify</phase>
            <goals>
              <!--生成javadoc的jar -->
              <goal>jar</goal>
              <!--生成javadoc的html -->
              <goal>javadoc</goal>
            </goals>
            <configuration>
              <!--不显示javadoc警告-->
              <additionalOptions>-Xdoclint:none</additionalOptions>
              <additionalJOption>-Xdoclint:none</additionalJOption>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.5</version>
        <configuration>
          <executable>D:\tools\Gpg\GnuPG\bin\gpg.exe</executable>
          <keyname>io.github.alfonsokevin</keyname>
        </configuration>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>


    </plugins>


  </build>

</project>