pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.crazycake</groupId>
  5. <artifactId>shiro-redis</artifactId>
  6. <version>3.2.3</version>
  7. <packaging>jar</packaging>
  8. <name>shiro-redis</name>
  9. <description>shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!</description>
  10. <url>https://github.com/alexxiyang/shiro-redis</url>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <junit>4.11</junit>
  14. <slf4j>1.7.5</slf4j>
  15. </properties>
  16. <licenses>
  17. <license>
  18. <name>The Apache Software License, Version 2.0</name>
  19. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  20. <distribution>repo</distribution>
  21. </license>
  22. </licenses>
  23. <dependencies>
  24. <!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
  25. <dependency>
  26. <groupId>redis.clients</groupId>
  27. <artifactId>jedis</artifactId>
  28. <version>2.9.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.slf4j</groupId>
  32. <artifactId>slf4j-api</artifactId>
  33. <version>1.7.2</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.shiro</groupId>
  37. <artifactId>shiro-core</artifactId>
  38. <version>1.3.2</version>
  39. </dependency>
  40. <!-- Testing -->
  41. <dependency>
  42. <groupId>junit</groupId>
  43. <artifactId>junit</artifactId>
  44. <version>4.11</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>slf4j-simple</artifactId>
  50. <version>1.7.7</version>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>commons-logging</groupId>
  55. <artifactId>commons-logging</artifactId>
  56. <version>1.1.2</version>
  57. <scope>test</scope>
  58. </dependency>
  59. <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
  60. <dependency>
  61. <groupId>org.mockito</groupId>
  62. <artifactId>mockito-all</artifactId>
  63. <version>1.9.5</version>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.github.javafaker</groupId>
  68. <artifactId>javafaker</artifactId>
  69. <version>0.16</version>
  70. <scope>test</scope>
  71. </dependency>
  72. </dependencies>
  73. <developers>
  74. <developer>
  75. <id>alexxiyang</id>
  76. <name>Alex Yang</name>
  77. <email>alexxiyang@gmail.com</email>
  78. <timezone>GMT-7</timezone>
  79. <organizationUrl>https://github.com/alexxiyang</organizationUrl>
  80. <roles>
  81. </roles>
  82. </developer>
  83. </developers>
  84. <scm>
  85. <connection>scm:git:https://github.com/alexxiyang/shiro-redis.git</connection>
  86. <developerConnection>scm:git:https://github.com/alexxiyang/shiro-redis.git</developerConnection>
  87. <url>https://github.com/alexxiyang/shiro-redis.git</url>
  88. </scm>
  89. <distributionManagement>
  90. <snapshotRepository>
  91. <id>ossrh</id>
  92. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  93. </snapshotRepository>
  94. <repository>
  95. <id>ossrh</id>
  96. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  97. </repository>
  98. </distributionManagement>
  99. <build>
  100. <finalName>shiro-redis</finalName>
  101. <plugins>
  102. <plugin>
  103. <artifactId>maven-compiler-plugin</artifactId>
  104. <version>2.0.2</version>
  105. <configuration>
  106. <source>1.6</source>
  107. <target>1.6</target>
  108. <encoding>UTF-8</encoding>
  109. <compilerArgument>-nowarn</compilerArgument>
  110. </configuration>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-checkstyle-plugin</artifactId>
  115. <version>2.9.1</version>
  116. <executions>
  117. <execution>
  118. <id>checkstyle</id>
  119. <phase>validate</phase>
  120. <goals>
  121. <goal>check</goal>
  122. </goals>
  123. <configuration>
  124. <failOnViolation>true</failOnViolation>
  125. <consoleOutput>true</consoleOutput>
  126. <configLocation>checkstyle.xml</configLocation>
  127. </configuration>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <profiles>
  134. <profile>
  135. <id>release-sign-artifacts</id>
  136. <activation>
  137. <property>
  138. <name>release</name>
  139. <value>true</value>
  140. </property>
  141. </activation>
  142. <properties>
  143. <gpg.keyname>D688E942</gpg.keyname> <!-- GPG Key ID to use for signing -->
  144. <release.username>alexxiyang</release.username>
  145. </properties>
  146. <build>
  147. <plugins>
  148. <plugin>
  149. <groupId>org.sonatype.plugins</groupId>
  150. <artifactId>nexus-staging-maven-plugin</artifactId>
  151. <version>1.6.7</version>
  152. <extensions>true</extensions>
  153. <configuration>
  154. <serverId>ossrh</serverId>
  155. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  156. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  157. </configuration>
  158. </plugin>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-source-plugin</artifactId>
  162. <version>2.2.1</version>
  163. <executions>
  164. <execution>
  165. <id>attach-sources</id>
  166. <goals>
  167. <goal>jar-no-fork</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-javadoc-plugin</artifactId>
  175. <version>2.9.1</version>
  176. <executions>
  177. <execution>
  178. <id>attach-javadocs</id>
  179. <goals>
  180. <goal>jar</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-gpg-plugin</artifactId>
  188. <version>1.6</version>
  189. <executions>
  190. <execution>
  191. <id>sign-artifacts</id>
  192. <phase>verify</phase>
  193. <goals>
  194. <goal>sign</goal>
  195. </goals>
  196. </execution>
  197. </executions>
  198. </plugin>
  199. </plugins>
  200. </build>
  201. </profile>
  202. </profiles>
  203. </project>