acmtc-redismq
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.acmtc</groupId> <artifactId>acmtc-redismq</artifactId> <version>1.0.1-RELEASE</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.acmtc</groupId> <artifactId>acmtc-redismq</artifactId> <version>1.0.1-RELEASE</version> <packaging>jar</packaging> <name>acmtc-redismq</name> <description>Easy to use redis as mq</description> <url>https://github.com/ACMTC/acmtc-redismq</url> <!-- 配置license内容 --> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <!-- 配置scm --> <scm> <connection>scm:git:git@github.com:ACMTC/acmtc-redismq</connection> <developerConnection>scm:git:git@github.com:ACMTC/acmtc-redismq</developerConnection> <url>scm:git:git@github.com:ACMTC/acmtc-redismq</url> </scm> <!-- 配置开发者 --> <developers> <developer> <name>wencst</name> <email>wencst@sina.cn</email> <organization>ACMTC</organization> <organizationUrl>https://www.acmtc.cn/</organizationUrl> </developer> </developers> <!-- 使用aliyun maven --> <repositories> <repository> <id>aliyun</id> <name>aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <name>Team Nexus Repository</name> <url>http://10.8.5.130:8081/repository/maven-public/</url> </pluginRepository> </pluginRepositories> <properties> <spring-data-redis.version>1.8.9.RELEASE</spring-data-redis.version> <jdk.version>9</jdk.version> <maven.compiler.source>${jdk.version}</maven.compiler.source> <maven.compiler.target>${jdk.version}</maven.compiler.target> <maven.compiler.release>${jdk.version}</maven.compiler.release> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot</artifactId> <version>1.5.10.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis</artifactId> <version>${spring-data-redis.version}</version> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.44</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.7</version> </dependency> </dependencies> <build> <finalName>acmtc-redismq</finalName> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.1.1</version> </plugin> <!-- maven编译配置 --> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.3.2</version> <executions> <execution> <id>default-jar</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- maven编译配置 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.2</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> </configuration> </plugin> <!-- 创建javadoc --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> <configuration> <!-- 解决 java8 下发布到 maven 中心库时,生成 doc 的异常 --> <additionalparam>-Xdoclint:none</additionalparam> <aggregate>true</aggregate> <charset>${project.build.sourceEncoding}</charset> <encoding>${project.build.sourceEncoding}</encoding> <docencoding>${project.build.sourceEncoding}</docencoding> </configuration> </plugin> </plugins> </build> <profiles> <!-- mvn clean javadoc:jar source:jar deploy -P release -Dgpg.passphrase=xxxx --> <profile> <id>release</id> <build> <plugins> <!-- GPG 加密 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <!-- 分布管理和认证 --> <distributionManagement> <snapshotRepository> <id>nexus-release</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>nexus-release</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> </profile> </profiles> </project>