UTools-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>top.yoohome</groupId>
<artifactId>UTools-parent</artifactId>
<version>1.0.0</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">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>top.yoohome</groupId>
<artifactId>UTools-parent</artifactId>
<version>1.0.0</version>
<name>UTools-parent</name>
<description>个人使用的java工具库</description>
<url>https://gitee.com/yoohome-repo/UTools</url>
<modules>
<module>UTools-all</module>
<module>UTools-core</module>
<module>UTools-json</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 版本管理 -->
<!-- joda-time -->
<joda-time.version>2.3</joda-time.version>
<!-- commons-lang3 -->
<commons-lang3.version>3.5</commons-lang3.version>
<!-- codehaus-jackson -->
<codehaus-jackson.version>1.9.12</codehaus-jackson.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${codehaus-jackson.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 1.开发者信息 -->
<developers>
<developer>
<name>Johnny Zhang</name>
<email>skonedream@163.com</email>
</developer>
</developers>
<!-- 2.版本控制 -->
<scm>
<connection>scm:git@gitee.com:yoohome-repo/UTools.git</connection>
<developerConnection>scm:git@gitee.com:yoohome-repo/UTools.git</developerConnection>
<url>git@gitee.com:yoohome-repo/UTools.git</url>
</scm>
<!-- 3.问题提交地址 -->
<issueManagement>
<system>Gitee Issue</system>
<url>https://gitee.com/yoohome-repo/UTools/issues</url>
</issueManagement>
<!-- 4.许可证 -->
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<!-- 5.所需 Maven插件 -->
<!-- maven-compiler-plugin -->
<!-- maven-javadoc-plugin -->
<!-- maven-source-plugin -->
<!-- maven-gpg-plugin -->
<!-- nexus-staging-maven-plugin -->
<!-- maven-shade-plugin -->
<build>
<plugins>
<!-- Maven Compiler -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- Maven Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<distributionManagement>
<!--- 此处的id需要和setting.xml 配置的service的id一致 -->
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<!-- Maven Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Maven Gpg -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
<!-- Maven Nexus Staging -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<extensions>true</extensions>
<configuration>
<serverId>oss</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>