pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2020 lttcai4cloud 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. <build>
  21. <plugins>
  22. <plugin>
  23. <groupId>org.apache.maven.plugins</groupId>
  24. <artifactId>maven-compiler-plugin</artifactId>
  25. <configuration>
  26. <source>11</source>
  27. <target>11</target>
  28. </configuration>
  29. </plugin>
  30. </plugins>
  31. </build>
  32. <parent>
  33. <groupId>cn.lttc.modules</groupId>
  34. <artifactId>lttcai</artifactId>
  35. <version>${revision}</version>
  36. </parent>
  37. <artifactId>lttcai-auth</artifactId>
  38. <packaging>jar</packaging>
  39. <description>lttcai 认证授权中心,基于 spring security oAuth2</description>
  40. <dependencies>
  41. <!--注册中心客户端-->
  42. <dependency>
  43. <groupId>com.alibaba.cloud</groupId>
  44. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  45. </dependency>
  46. <!--配置中心客户端-->
  47. <dependency>
  48. <groupId>com.alibaba.cloud</groupId>
  49. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  50. </dependency>
  51. <!--断路器依赖-->
  52. <dependency>
  53. <groupId>cn.lttc.modules</groupId>
  54. <artifactId>lttcai-common-feign</artifactId>
  55. </dependency>
  56. <!--upms api、model 模块-->
  57. <dependency>
  58. <groupId>cn.lttc.modules</groupId>
  59. <artifactId>lttcai-upms-api</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>cn.lttc.modules</groupId>
  63. <artifactId>lttcai-common-security</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-security</artifactId>
  68. </dependency>
  69. <!--freemarker-->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-freemarker</artifactId>
  73. </dependency>
  74. <!--undertow容器-->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-undertow</artifactId>
  78. </dependency>
  79. <!-- log -->
  80. <dependency>
  81. <groupId>cn.lttc.modules</groupId>
  82. <artifactId>lttcai-common-log</artifactId>
  83. </dependency>
  84. <!-- 调用验证码核心模块 -->
  85. <dependency>
  86. <groupId>io.springboot.plugin</groupId>
  87. <artifactId>captcha-core</artifactId>
  88. <version>${captcha.version}</version>
  89. </dependency>
  90. <!-- 加解密依赖 -->
  91. <dependency>
  92. <groupId>cn.hutool</groupId>
  93. <artifactId>hutool-crypto</artifactId>
  94. </dependency>
  95. </dependencies>
  96. <profiles>
  97. <profile>
  98. <id>boot</id>
  99. </profile>
  100. <profile>
  101. <id>cloud</id>
  102. <activation>
  103. <!-- 默认环境 -->
  104. <activeByDefault>true</activeByDefault>
  105. </activation>
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. </plugin>
  112. <plugin>
  113. <groupId>io.fabric8</groupId>
  114. <artifactId>docker-maven-plugin</artifactId>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </profile>
  119. </profiles>
  120. </project>