JustAuth-1.16.7.pom 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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.7</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.30</lombok-version>
  55. <junit-version>4.13.2</junit-version>
  56. <fastjson-version>1.2.83</fastjson-version>
  57. <alipay-sdk-version>4.39.165.ALL</alipay-sdk-version>
  58. <jacoco-version>0.8.2</jacoco-version>
  59. <jwt.version>0.12.3</jwt.version>
  60. <bcpkix-jdk18on.version>1.78</bcpkix-jdk18on.version>
  61. </properties>
  62. <dependencies>
  63. <dependency>
  64. <groupId>org.projectlombok</groupId>
  65. <artifactId>lombok</artifactId>
  66. <version>${lombok-version}</version>
  67. <optional>true</optional>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.xkcoding.http</groupId>
  71. <artifactId>simple-http</artifactId>
  72. <version>${simple-http.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <version>${junit-version}</version>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>fastjson</artifactId>
  83. <version>${fastjson-version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alipay.sdk</groupId>
  87. <artifactId>alipay-sdk-java</artifactId>
  88. <version>${alipay-sdk-version}</version>
  89. <scope>provided</scope>
  90. <exclusions>
  91. <exclusion>
  92. <artifactId>fastjson</artifactId>
  93. <groupId>com.alibaba</groupId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>io.jsonwebtoken</groupId>
  99. <artifactId>jjwt-api</artifactId>
  100. <version>${jwt.version}</version>
  101. <scope>provided</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>io.jsonwebtoken</groupId>
  105. <artifactId>jjwt-impl</artifactId>
  106. <version>${jwt.version}</version>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>io.jsonwebtoken</groupId>
  111. <artifactId>jjwt-jackson</artifactId>
  112. <version>${jwt.version}</version>
  113. <scope>provided</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.bouncycastle</groupId>
  117. <artifactId>bcpkix-jdk18on</artifactId>
  118. <version>${bcpkix-jdk18on.version}</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <finalName>${project.artifactId}-${project.version}</finalName>
  124. <plugins>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-compiler-plugin</artifactId>
  128. <version>${maven-compiler.version}</version>
  129. <configuration>
  130. <encoding>${project.build.sourceEncoding}</encoding>
  131. <source>${java.version}</source>
  132. <target>${java.version}</target>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-source-plugin</artifactId>
  138. <version>${maven-source.version}</version>
  139. <inherited>true</inherited>
  140. <executions>
  141. <execution>
  142. <phase>package</phase>
  143. <goals>
  144. <goal>jar-no-fork</goal>
  145. </goals>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-javadoc-plugin</artifactId>
  152. <version>${maven-javadoc.version}</version>
  153. <executions>
  154. <execution>
  155. <phase>package</phase>
  156. <goals>
  157. <goal>jar</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. <configuration>
  162. <additionalparam>${javadoc.opts}</additionalparam>
  163. </configuration>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-surefire-plugin</artifactId>
  168. <version>${maven-surefire-version}</version>
  169. <configuration>
  170. <!-- 包含其他测试类 -->
  171. <includes>
  172. <include>**/*Test.java</include>
  173. </includes>
  174. <!-- 排除掉AuthRequestTest测试类,该类只做api演示用 -->
  175. <excludes>
  176. <exclude>**/AuthRequestTest.java</exclude>
  177. </excludes>
  178. </configuration>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. <profiles>
  183. <profile>
  184. <id>snapshot</id>
  185. <distributionManagement>
  186. <snapshotRepository>
  187. <id>ossrh</id>
  188. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  189. </snapshotRepository>
  190. </distributionManagement>
  191. </profile>
  192. <profile>
  193. <id>release</id>
  194. <build>
  195. <plugins>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-source-plugin</artifactId>
  199. <version>${maven-source.version}</version>
  200. <inherited>true</inherited>
  201. <executions>
  202. <execution>
  203. <phase>package</phase>
  204. <goals>
  205. <goal>jar-no-fork</goal>
  206. </goals>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.codehaus.mojo</groupId>
  212. <artifactId>cobertura-maven-plugin</artifactId>
  213. <version>${cobertura-version}</version>
  214. <configuration>
  215. <formats>
  216. <format>html</format>
  217. <format>xml</format>
  218. </formats>
  219. <check/>
  220. </configuration>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.jacoco</groupId>
  224. <artifactId>jacoco-maven-plugin</artifactId>
  225. <version>${jacoco-version}</version>
  226. <executions>
  227. <execution>
  228. <goals>
  229. <goal>prepare-agent</goal>
  230. </goals>
  231. </execution>
  232. <execution>
  233. <id>report</id>
  234. <phase>test</phase>
  235. <goals>
  236. <goal>report</goal>
  237. </goals>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-gpg-plugin</artifactId>
  244. <version>${maven-gpg-version}</version>
  245. <executions>
  246. <execution>
  247. <phase>verify</phase>
  248. <goals>
  249. <goal>sign</goal>
  250. </goals>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. </plugins>
  255. </build>
  256. <distributionManagement>
  257. <repository>
  258. <id>sonatype-nexus-staging</id>
  259. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  260. </repository>
  261. </distributionManagement>
  262. </profile>
  263. <!--私服-->
  264. <profile>
  265. <id>nexus</id>
  266. <build>
  267. <plugins>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-gpg-plugin</artifactId>
  271. <version>${maven-gpg-version}</version>
  272. <executions>
  273. <execution>
  274. <phase>verify</phase>
  275. <goals>
  276. <goal>sign</goal>
  277. </goals>
  278. </execution>
  279. </executions>
  280. </plugin>
  281. </plugins>
  282. </build>
  283. <distributionManagement>
  284. <repository>
  285. <id>xkcoding-nexus</id>
  286. <url>https://nexus.xkcoding.com/repository/maven-releases/</url>
  287. </repository>
  288. <snapshotRepository>
  289. <id>xkcoding-nexus</id>
  290. <url>https://nexus.xkcoding.com/repository/maven-snapshots/</url>
  291. </snapshotRepository>
  292. </distributionManagement>
  293. </profile>
  294. <!-- 禁用 Javadoc 注释检查 -->
  295. <profile>
  296. <id>disable-javadoc-doclint</id>
  297. <activation>
  298. <jdk>[1.8,)</jdk>
  299. </activation>
  300. <properties>
  301. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  302. </properties>
  303. </profile>
  304. </profiles>
  305. </project>