pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  5. ~
  6. ~ Redistribution and use in source and binary forms, with or without
  7. ~ modification, are permitted provided that the following conditions are met:
  8. ~
  9. ~ Redistributions of source code must retain the above copyright notice,
  10. ~ this list of conditions and the following disclaimer.
  11. ~ Redistributions in binary form must reproduce the above copyright
  12. ~ notice, this list of conditions and the following disclaimer in the
  13. ~ documentation and/or other materials provided with the distribution.
  14. ~ Neither the name of the pig4cloud.com developer nor the names of its
  15. ~ contributors may be used to endorse or promote products derived from
  16. ~ this software without specific prior written permission.
  17. ~ Author: lengleng (wangiegie@gmail.com)
  18. ~
  19. -->
  20. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>com.pig4cloud</groupId>
  25. <artifactId>pigx</artifactId>
  26. <version>2.1.1</version>
  27. </parent>
  28. <artifactId>pigx-auth</artifactId>
  29. <packaging>jar</packaging>
  30. <description>pigx 认证授权中心,基于 spring security oAuth2</description>
  31. <dependencies>
  32. <!--配置中心客户端-->
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-config</artifactId>
  36. </dependency>
  37. <!--upms api、model 模块-->
  38. <dependency>
  39. <groupId>com.pig4cloud</groupId>
  40. <artifactId>pigx-upms-api</artifactId>
  41. <version>2.1.1</version>
  42. </dependency>
  43. <!--security-->
  44. <dependency>
  45. <groupId>com.pig4cloud</groupId>
  46. <artifactId>pigx-common-security</artifactId>
  47. <version>2.1.1</version>
  48. </dependency>
  49. <!--mysql 驱动-->
  50. <dependency>
  51. <groupId>mysql</groupId>
  52. <artifactId>mysql-connector-java</artifactId>
  53. <version>${mysql.connector.version}</version>
  54. </dependency>
  55. <!--缓存操作-->
  56. <dependency>
  57. <groupId>com.pig4cloud</groupId>
  58. <artifactId>pigx-common-data</artifactId>
  59. <version>2.1.1</version>
  60. </dependency>
  61. <!--JDBC相关-->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-jdbc</artifactId>
  65. </dependency>
  66. <!--freemarker-->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-freemarker</artifactId>
  70. </dependency>
  71. <!--websocket-->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-websocket</artifactId>
  75. </dependency>
  76. <!--spring security 、oauth、jwt依赖-->
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-starter-security</artifactId>
  80. <exclusions>
  81. <!--旧版本 redis操作有问题-->
  82. <exclusion>
  83. <artifactId>spring-security-oauth2</artifactId>
  84. <groupId>org.springframework.security.oauth</groupId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.security.oauth</groupId>
  90. <artifactId>spring-security-oauth2</artifactId>
  91. <version>${security.oauth.version}</version>
  92. </dependency>
  93. <!--web 模块-->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-web</artifactId>
  97. <exclusions>
  98. <!--排除tomcat依赖-->
  99. <exclusion>
  100. <artifactId>spring-boot-starter-tomcat</artifactId>
  101. <groupId>org.springframework.boot</groupId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <!--undertow容器-->
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-undertow</artifactId>
  109. </dependency>
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. </plugin>
  117. <plugin>
  118. <groupId>com.spotify</groupId>
  119. <artifactId>docker-maven-plugin</artifactId>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>