pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2020 pig4cloud Authors. All Rights Reserved.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  19. <modelVersion>4.0.0</modelVersion>
  20. <parent>
  21. <groupId>com.pig4cloud</groupId>
  22. <artifactId>pig</artifactId>
  23. <version>${revision}</version>
  24. </parent>
  25. <artifactId>pig-auth</artifactId>
  26. <packaging>jar</packaging>
  27. <description>pig 认证授权中心,基于 spring security oAuth2</description>
  28. <dependencies>
  29. <!--注册中心客户端-->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  33. </dependency>
  34. <!--配置中心客户端-->
  35. <dependency>
  36. <groupId>com.alibaba.cloud</groupId>
  37. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  38. </dependency>
  39. <!--断路器依赖-->
  40. <dependency>
  41. <groupId>com.pig4cloud</groupId>
  42. <artifactId>pig-common-feign</artifactId>
  43. </dependency>
  44. <!--upms api、model 模块-->
  45. <dependency>
  46. <groupId>com.pig4cloud</groupId>
  47. <artifactId>pig-upms-api</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.pig4cloud</groupId>
  51. <artifactId>pig-common-security</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-security</artifactId>
  56. </dependency>
  57. <!--freemarker 授权码模式渲染-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-freemarker</artifactId>
  61. </dependency>
  62. <!--undertow容器-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-undertow</artifactId>
  66. </dependency>
  67. <!-- log -->
  68. <dependency>
  69. <groupId>com.pig4cloud</groupId>
  70. <artifactId>pig-common-log</artifactId>
  71. </dependency>
  72. <!-- 调用验证码核心模块 -->
  73. <dependency>
  74. <groupId>com.pig4cloud.plugin</groupId>
  75. <artifactId>captcha-core</artifactId>
  76. <version>${captcha.version}</version>
  77. </dependency>
  78. <!-- 加解密依赖 -->
  79. <dependency>
  80. <groupId>cn.hutool</groupId>
  81. <artifactId>hutool-crypto</artifactId>
  82. </dependency>
  83. </dependencies>
  84. <profiles>
  85. <profile>
  86. <id>boot</id>
  87. </profile>
  88. <profile>
  89. <id>cloud</id>
  90. <activation>
  91. <!-- 默认环境 -->
  92. <activeByDefault>true</activeByDefault>
  93. </activation>
  94. <build>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-maven-plugin</artifactId>
  99. </plugin>
  100. <plugin>
  101. <groupId>io.fabric8</groupId>
  102. <artifactId>docker-maven-plugin</artifactId>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </profile>
  107. </profiles>
  108. </project>