JustAuth-1.16.6.pom 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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.6</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.83</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. <exclusions>
  89. <exclusion>
  90. <artifactId>fastjson</artifactId>
  91. <groupId>com.alibaba</groupId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <finalName>${project.artifactId}-${project.version}</finalName>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>${maven-compiler.version}</version>
  103. <configuration>
  104. <encoding>${project.build.sourceEncoding}</encoding>
  105. <source>${java.version}</source>
  106. <target>${java.version}</target>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-source-plugin</artifactId>
  112. <version>${maven-source.version}</version>
  113. <inherited>true</inherited>
  114. <executions>
  115. <execution>
  116. <phase>package</phase>
  117. <goals>
  118. <goal>jar-no-fork</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-javadoc-plugin</artifactId>
  126. <version>${maven-javadoc.version}</version>
  127. <executions>
  128. <execution>
  129. <phase>package</phase>
  130. <goals>
  131. <goal>jar</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. <configuration>
  136. <additionalparam>${javadoc.opts}</additionalparam>
  137. </configuration>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-surefire-plugin</artifactId>
  142. <version>${maven-surefire-version}</version>
  143. <configuration>
  144. <!-- 包含其他测试类 -->
  145. <includes>
  146. <include>**/*Test.java</include>
  147. </includes>
  148. <!-- 排除掉AuthRequestTest测试类,该类只做api演示用 -->
  149. <excludes>
  150. <exclude>**/AuthRequestTest.java</exclude>
  151. </excludes>
  152. </configuration>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. <profiles>
  157. <profile>
  158. <id>snapshot</id>
  159. <distributionManagement>
  160. <snapshotRepository>
  161. <id>ossrh</id>
  162. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  163. </snapshotRepository>
  164. </distributionManagement>
  165. </profile>
  166. <profile>
  167. <id>release</id>
  168. <build>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-source-plugin</artifactId>
  173. <version>${maven-source.version}</version>
  174. <inherited>true</inherited>
  175. <executions>
  176. <execution>
  177. <phase>package</phase>
  178. <goals>
  179. <goal>jar-no-fork</goal>
  180. </goals>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.codehaus.mojo</groupId>
  186. <artifactId>cobertura-maven-plugin</artifactId>
  187. <version>${cobertura-version}</version>
  188. <configuration>
  189. <formats>
  190. <format>html</format>
  191. <format>xml</format>
  192. </formats>
  193. <check/>
  194. </configuration>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.jacoco</groupId>
  198. <artifactId>jacoco-maven-plugin</artifactId>
  199. <version>${jacoco-version}</version>
  200. <executions>
  201. <execution>
  202. <goals>
  203. <goal>prepare-agent</goal>
  204. </goals>
  205. </execution>
  206. <execution>
  207. <id>report</id>
  208. <phase>test</phase>
  209. <goals>
  210. <goal>report</goal>
  211. </goals>
  212. </execution>
  213. </executions>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-gpg-plugin</artifactId>
  218. <version>${maven-gpg-version}</version>
  219. <executions>
  220. <execution>
  221. <phase>verify</phase>
  222. <goals>
  223. <goal>sign</goal>
  224. </goals>
  225. </execution>
  226. </executions>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. <distributionManagement>
  231. <repository>
  232. <id>sonatype-nexus-staging</id>
  233. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  234. </repository>
  235. </distributionManagement>
  236. </profile>
  237. <!--私服-->
  238. <profile>
  239. <id>nexus</id>
  240. <build>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-gpg-plugin</artifactId>
  245. <version>${maven-gpg-version}</version>
  246. <executions>
  247. <execution>
  248. <phase>verify</phase>
  249. <goals>
  250. <goal>sign</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. </plugins>
  256. </build>
  257. <distributionManagement>
  258. <repository>
  259. <id>xkcoding-nexus</id>
  260. <url>https://nexus.xkcoding.com/repository/maven-releases/</url>
  261. </repository>
  262. <snapshotRepository>
  263. <id>xkcoding-nexus</id>
  264. <url>https://nexus.xkcoding.com/repository/maven-snapshots/</url>
  265. </snapshotRepository>
  266. </distributionManagement>
  267. </profile>
  268. <!-- 禁用 Javadoc 注释检查 -->
  269. <profile>
  270. <id>disable-javadoc-doclint</id>
  271. <activation>
  272. <jdk>[1.8,)</jdk>
  273. </activation>
  274. <properties>
  275. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  276. </properties>
  277. </profile>
  278. </profiles>
  279. </project>