redisclient-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.fangjinuo.redisclient</groupId>
<artifactId>redisclient-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>
<groupId>com.github.fangjinuo.redisclient</groupId>
<artifactId>redisclient-parent</artifactId>
<version>1.0.0</version>
<name>redisclient-parent</name>
<packaging>pom</packaging>
<description>
Redis Client
</description>
<url>https://github.com/fangjinuo/redisclient</url>
<developers>
<developer>
<id>jinuo.fang</id>
<name>jinuo.fang</name>
<email>fs1194361820@163.com</email>
<url>http://www.cnblogs.com/f1194361820</url>
</developer>
</developers>
<distributionManagement>
<snapshotRepository>
<id>sonatype_oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype_oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement>
<scm>
<tag>${project.version}</tag>
<url>https://github.com/fangjinuo/redisclient.git</url>
<connection>https://github.com/fangjinuo/redisclient.git</connection>
<developerConnection>https://github.com/fangjinuo/redisclient1.git</developerConnection>
</scm>
<licenses>
<license>
<name>MIT</name>
<url>https://github.com/fangjinuo/redisclient/blob/master/LICENSE</url>
<distribution>manual</distribution>
</license>
</licenses>
<modules>
<module>redisclient-core</module>
</modules>
<properties>
<slf4j.version>1.7.26</slf4j.version>
<easyjson.version>2.1.0</easyjson.version>
<langx-java.version>2.1.0</langx-java.version>
<httpclient.version>4.5.11</httpclient.version>
<spring.data.redis.version>2.2.4.RELEASE</spring.data.redis.version>
<project.major.version>1.0.0</project.major.version>
<project.internal.version>1.0.0</project.internal.version>
<scm.url0>https://github.com/fangjinuo/redisclient</scm.url0>
<scm.url>${scm.url0}.git</scm.url>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<version>${spring.data.redis.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>com.github.fangjinuo.easyjson</groupId>
<artifactId>easyjson-core</artifactId>
<version>${easyjson.version}</version>
<exclusions>
<exclusion>
<groupId>com.github.fangjinuo.langx</groupId>
<artifactId>langx-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.fangjinuo.easyjson</groupId>
<artifactId>easyjson-jackson</artifactId>
<version>${easyjson.version}</version>
</dependency>
<dependency>
<groupId>com.github.fangjinuo.langx</groupId>
<artifactId>langx-java</artifactId>
<version>${langx-java.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.github.fangjinuo.easyjson</groupId>
<artifactId>easyjson-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
</dependency>
<dependency>
<groupId>com.github.fangjinuo.langx</groupId>
<artifactId>langx-java</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>com.github.fangjinuo.easyjson</groupId>
<artifactId>easyjson-jackson</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.10.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<compilerVersion>1.6</compilerVersion>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>build_number_create_timestamp</id>
<phase>validate</phase>
<goals>
<goal>create-timestamp</goal>
</goals>
<configuration>
<timestampPropertyName>buildTimestamp</timestampPropertyName>
<timestampFormat>yyyy-MM-dd HH:mm:ss</timestampFormat>
</configuration>
</execution>
<execution>
<id>build_number_create</id>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
<configuration>
<buildNumberPropertyName>buildNumber</buildNumberPropertyName>
<revisionOnScmFailure>unknown</revisionOnScmFailure>
<doCheck>false</doCheck>
<doUpdate>true</doUpdate>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<scmConnectionUrl>scm:git:${scm.url}</scmConnectionUrl>
<useLastCommittedRevision>true</useLastCommittedRevision>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<forced>true</forced>
<index>true</index>
<manifestEntries>
<Build-Timestamp>${buildTimestamp}</Build-Timestamp>
<Build-SCM-Version>${buildNumber}</Build-SCM-Version>
<Build-Major-Version>${project.major.version}</Build-Major-Version>
<Build-Internal-Version>${project.internal.version}</Build-Internal-Version>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>envHome</id>
<properties>
<gpg.executable>D:/Program Files/GnuPG/bin/gpg</gpg.executable>
<gpg.homedir>C:/Users/Administrator/AppData/Roaming/gnupg</gpg.homedir>
<!--
<gpg.passphrase>YOUR GPG PASSPHRASE</gpg.passphrase>
可以这样配置在pom.xml文件中,也可以在执行mvn 命令时,加上-Dgpg.passphrase=YOUR_GPG_PASSPHRASE
-->
</properties>
</profile>
<profile>
<id>envCompany</id>
<properties>
<gpg.executable>D:/Program Files (x86)/GNU/GnuPG/gpg2.exe</gpg.executable>
<gpg.homedir>C:/Users/User/AppData/Roaming/gnupg</gpg.homedir>
<!--
<gpg.passphrase>YOUR GPG PASSPHRASE</gpg.passphrase>
可以这样配置在pom.xml文件中,也可以在执行mvn 命令时,加上-Dgpg.passphrase=YOUR_GPG_PASSPHRASE
-->
</properties>
</profile>
<profile>
<id>deploy</id>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype_oss</serverId>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<sslAllowAll>true</sslAllowAll>
<stagingProgressPauseDurationSeconds>20</stagingProgressPauseDurationSeconds>
<stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes>
<detectBuildFailures>false</detectBuildFailures>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.10.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<pushChanges>false</pushChanges>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.10.0</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<aggregate>true</aggregate>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
</plugins>
</build>
</profile>
</profiles>
</project>