153 lines
4.9 KiB
XML
153 lines
4.9 KiB
XML
<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/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>2.2.0-SNAPSHOT</version>
|
|
<name>Jedis</name>
|
|
<description>Jedis is a blazingly small and sane Redis java client.</description>
|
|
<url>https://github.com/xetorthio/jedis</url>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>Jedis Mailing List</name>
|
|
<post>jedis_redis@googlegroups.com</post>
|
|
<archive>
|
|
http://groups.google.com/group/jedis_redis
|
|
</archive>
|
|
</mailingList>
|
|
</mailingLists>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>MIT</name>
|
|
<url>http://github.com/xetorthio/jedis/raw/master/LICENSE.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<issueManagement>
|
|
<system>github</system>
|
|
<url>http://github.com/xetorthio/jedis/issues</url>
|
|
</issueManagement>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:xetorthio/jedis.git</connection>
|
|
<url>scm:git:git@github.com:xetorthio/jedis.git</url>
|
|
<developerConnection>scm:git:git@github.com:xetorthio/jedis.git</developerConnection>
|
|
<tag>jedis-2.2.0</tag>
|
|
</scm>
|
|
|
|
<properties>
|
|
<redis-hosts>localhost:6379,localhost:6380,localhost:6381,localhost:6382</redis-hosts>
|
|
<sentinel-hosts>localhost:26379,localhost:26380</sentinel-hosts>
|
|
<github.global.server>github</github.global.server>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<type>jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-pool</groupId>
|
|
<artifactId>commons-pool</artifactId>
|
|
<version>1.6</version>
|
|
<type>jar</type>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>github</id>
|
|
<name>GitHub ${project.artifactId} Repository</name>
|
|
<url>https://raw.github.com/xetorthio/${project.artifactId}/mvn-repo</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<redis-hosts>${redis-hosts}</redis-hosts>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<configuration>
|
|
<attach>true</attach>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9.1</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.github</groupId>
|
|
<artifactId>site-maven-plugin</artifactId>
|
|
<version>0.8</version>
|
|
<configuration>
|
|
<message>Maven artifacts for ${project.version}</message> <!-- git commit message -->
|
|
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
|
|
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
|
|
<branch>refs/heads/mvn-repo</branch> <!-- remote branch name -->
|
|
<includes><include>**/*</include></includes>
|
|
<repositoryName>jedis</repositoryName> <!-- github repo name -->
|
|
<repositoryOwner>xetorthio</repositoryOwner> <!-- github username -->
|
|
</configuration>
|
|
<executions>
|
|
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
|
|
<execution>
|
|
<goals>
|
|
<goal>site</goal>
|
|
</goals>
|
|
<phase>deploy</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|