jumper-tools
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.ck-open</groupId>
<artifactId>jumper-tools</artifactId>
<version>1.0.6</version>
</dependency><?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">
<parent>
<artifactId>jumper</artifactId>
<groupId>io.github.ck-open</groupId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<!--项目信息-->
<artifactId>jumper-tools</artifactId>
<version>1.0.6</version>
<name>Jumper java8 Tools</name>
<description>基于 Java8 整理的工具集</description>
<url>https://github.com/ck-open/jumper</url>
<!--打包方式-->
<packaging>jar</packaging>
<!--maven工程配置-->
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<!--许可证信息,开源协议-->
<licenses>
<license>
<name>The Apache Software License, Version2.0</name>
<url>http://www.apache.org/licenses/</url>
<distribution>repo</distribution>
</license>
</licenses>
<!--托管仓库信息-->
<scm>
<url>https://github.com/ck-open/jumper.git</url>
<connection>https://github.com/ck-open/jumper</connection>
</scm>
<!--开发者信息-->
<developers>
<developer>
<name>Chen Yunke</name>
<email>18141925358@163.com</email>
<url>https://ck-open.github.io</url>
</developer>
</developers>
<!--仓库地址配置信息-->
<distributionManagement>
<snapshotRepository>
<!--id 要与setting.xml server id一致 -->
<id>snapshot</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<!--id 要与setting.xml server id一致 -->
<id>snapshot</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
<dependencies>
<!-- 汉字转换为拼音 -->
<dependency>
<groupId>com.belerweb</groupId>
<artifactId>pinyin4j</artifactId>
<version>2.5.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!--发布到oss.sonatype.org需要的组件,已经配置好,无需修改-->
<build>
<plugins>
<!--java 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>
<!--java doc生成插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- TODO 临时解决不规范的javadoc生成报错,后面要规范化后把这行去掉 -->
<show>private</show>
<nohelp>true</nohelp>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<!--gpg签名插件-->
<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>
</plugin>
</plugins>
</build>
</project>