JustAuth-1.16.5.pom 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>me.zhyd.oauth</groupId>
  6. <artifactId>JustAuth</artifactId>
  7. <version>1.16.5</version>
  8. <name>JustAuth</name>
  9. <url>https://gitee.com/yadong.zhang/JustAuth</url>
  10. <description>
  11. 小而全而美的第三方登录开源组件。目前已支持Github、Gitee、微博、钉钉、百度、Coding、腾讯云开发者平台、OSChina、支付宝、QQ、微信、淘宝、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、企业微信、酷家乐、Gitlab、美团、饿了么、推特、飞书、京东、阿里云、喜马拉雅、Amazon、Slack和Line等第三方平台的授权登录。 Login, so easy!
  12. </description>
  13. <licenses>
  14. <license>
  15. <name>MIT</name>
  16. <url>https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE</url>
  17. </license>
  18. </licenses>
  19. <scm>
  20. <connection>scm:git:https://gitee.com/yadong.zhang/JustAuth.git</connection>
  21. <developerConnection>scm:git:https://gitee.com/yadong.zhang/JustAuth.git</developerConnection>
  22. <url>https://gitee.com/yadong.zhang/JustAuth</url>
  23. </scm>
  24. <developers>
  25. <developer>
  26. <name>Yadong.Zhang</name>
  27. <email>yadong.zhang0415@gmail.com</email>
  28. <url>https://www.zhyd.me</url>
  29. </developer>
  30. <developer>
  31. <name>Yangkai.Shen</name>
  32. <email>shenyangkai1994@gmail.com</email>
  33. <url>https://xkcoding.com</url>
  34. </developer>
  35. <developer>
  36. <name>Hongwei.Peng</name>
  37. <email>pengisgood@gmail.com</email>
  38. <url>https://github.com/pengisgood</url>
  39. </developer>
  40. </developers>
  41. <properties>
  42. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  43. <java.version>1.8</java.version>
  44. <maven.compiler.source>1.8</maven.compiler.source>
  45. <maven.compiler.target>1.8</maven.compiler.target>
  46. <maven-source.version>2.2.1</maven-source.version>
  47. <maven-compiler.version>3.8.1</maven-compiler.version>
  48. <maven-javadoc.version>2.9.1</maven-javadoc.version>
  49. <cobertura-version>2.7</cobertura-version>
  50. <maven-surefire-version>2.20</maven-surefire-version>
  51. <maven-gpg-version>1.6</maven-gpg-version>
  52. <maven.test.skip>false</maven.test.skip>
  53. <simple-http.version>1.0.5</simple-http.version>
  54. <lombok-version>1.18.20</lombok-version>
  55. <junit-version>4.13.2</junit-version>
  56. <fastjson-version>1.2.78</fastjson-version>
  57. <alipay-sdk-version>4.17.5.ALL</alipay-sdk-version>
  58. <jacoco-version>0.8.2</jacoco-version>
  59. </properties>
  60. <dependencies>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. <version>${lombok-version}</version>
  65. <optional>true</optional>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.xkcoding.http</groupId>
  69. <artifactId>simple-http</artifactId>
  70. <version>${simple-http.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>junit</groupId>
  74. <artifactId>junit</artifactId>
  75. <version>${junit-version}</version>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.alibaba</groupId>
  80. <artifactId>fastjson</artifactId>
  81. <version>${fastjson-version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alipay.sdk</groupId>
  85. <artifactId>alipay-sdk-java</artifactId>
  86. <version>${alipay-sdk-version}</version>
  87. <scope>provided</scope>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <finalName>${project.artifactId}-${project.version}</finalName>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <version>${maven-compiler.version}</version>
  97. <configuration>
  98. <encoding>${project.build.sourceEncoding}</encoding>
  99. <source>${java.version}</source>
  100. <target>${java.version}</target>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-source-plugin</artifactId>
  106. <version>${maven-source.version}</version>
  107. <inherited>true</inherited>
  108. <executions>
  109. <execution>
  110. <phase>package</phase>
  111. <goals>
  112. <goal>jar-no-fork</goal>
  113. </goals>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-javadoc-plugin</artifactId>
  120. <version>${maven-javadoc.version}</version>
  121. <executions>
  122. <execution>
  123. <phase>package</phase>
  124. <goals>
  125. <goal>jar</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. <configuration>
  130. <additionalparam>${javadoc.opts}</additionalparam>
  131. </configuration>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-surefire-plugin</artifactId>
  136. <version>${maven-surefire-version}</version>
  137. <configuration>
  138. <!-- 包含其他测试类 -->
  139. <includes>
  140. <include>**/*Test.java</include>
  141. </includes>
  142. <!-- 排除掉AuthRequestTest测试类,该类只做api演示用 -->
  143. <excludes>
  144. <exclude>**/AuthRequestTest.java</exclude>
  145. </excludes>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. <profiles>
  151. <profile>
  152. <id>snapshot</id>
  153. <distributionManagement>
  154. <snapshotRepository>
  155. <id>ossrh</id>
  156. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  157. </snapshotRepository>
  158. </distributionManagement>
  159. </profile>
  160. <profile>
  161. <id>release</id>
  162. <build>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-source-plugin</artifactId>
  167. <version>${maven-source.version}</version>
  168. <inherited>true</inherited>
  169. <executions>
  170. <execution>
  171. <phase>package</phase>
  172. <goals>
  173. <goal>jar-no-fork</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.codehaus.mojo</groupId>
  180. <artifactId>cobertura-maven-plugin</artifactId>
  181. <version>${cobertura-version}</version>
  182. <configuration>
  183. <formats>
  184. <format>html</format>
  185. <format>xml</format>
  186. </formats>
  187. <check/>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>org.jacoco</groupId>
  192. <artifactId>jacoco-maven-plugin</artifactId>
  193. <version>${jacoco-version}</version>
  194. <executions>
  195. <execution>
  196. <goals>
  197. <goal>prepare-agent</goal>
  198. </goals>
  199. </execution>
  200. <execution>
  201. <id>report</id>
  202. <phase>test</phase>
  203. <goals>
  204. <goal>report</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-gpg-plugin</artifactId>
  212. <version>${maven-gpg-version}</version>
  213. <executions>
  214. <execution>
  215. <phase>verify</phase>
  216. <goals>
  217. <goal>sign</goal>
  218. </goals>
  219. </execution>
  220. </executions>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. <distributionManagement>
  225. <repository>
  226. <id>sonatype-nexus-staging</id>
  227. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  228. </repository>
  229. </distributionManagement>
  230. </profile>
  231. <!--私服-->
  232. <profile>
  233. <id>nexus</id>
  234. <build>
  235. <plugins>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-gpg-plugin</artifactId>
  239. <version>${maven-gpg-version}</version>
  240. <executions>
  241. <execution>
  242. <phase>verify</phase>
  243. <goals>
  244. <goal>sign</goal>
  245. </goals>
  246. </execution>
  247. </executions>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. <distributionManagement>
  252. <repository>
  253. <id>xkcoding-nexus</id>
  254. <url>https://nexus.xkcoding.com/repository/maven-releases/</url>
  255. </repository>
  256. <snapshotRepository>
  257. <id>xkcoding-nexus</id>
  258. <url>https://nexus.xkcoding.com/repository/maven-snapshots/</url>
  259. </snapshotRepository>
  260. </distributionManagement>
  261. </profile>
  262. <!-- 禁用 Javadoc 注释检查 -->
  263. <profile>
  264. <id>disable-javadoc-doclint</id>
  265. <activation>
  266. <jdk>[1.8,)</jdk>
  267. </activation>
  268. <properties>
  269. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  270. </properties>
  271. </profile>
  272. </profiles>
  273. </project>