pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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>cn.lttc.modules</groupId>
  22. <artifactId>lttcai-visual</artifactId>
  23. <version>${revision}</version>
  24. </parent>
  25. <artifactId>lttcai-codegen</artifactId>
  26. <packaging>jar</packaging>
  27. <description>代码生成模块</description>
  28. <dependencies>
  29. <!--接口文档-->
  30. <dependency>
  31. <groupId>cn.lttc.modules</groupId>
  32. <artifactId>lttcai-common-swagger</artifactId>
  33. </dependency>
  34. <!--注册中心客户端-->
  35. <dependency>
  36. <groupId>com.alibaba.cloud</groupId>
  37. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  38. </dependency>
  39. <!--配置中心客户端-->
  40. <dependency>
  41. <groupId>com.alibaba.cloud</groupId>
  42. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  43. </dependency>
  44. <!--断路器依赖-->
  45. <dependency>
  46. <groupId>cn.lttc.modules</groupId>
  47. <artifactId>lttcai-common-feign</artifactId>
  48. </dependency>
  49. <!--数据源-->
  50. <dependency>
  51. <groupId>cn.lttc.modules</groupId>
  52. <artifactId>lttcai-common-datasource</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.baomidou</groupId>
  56. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.mysql</groupId>
  60. <artifactId>mysql-connector-j</artifactId>
  61. </dependency>
  62. <!--common-->
  63. <dependency>
  64. <groupId>cn.hutool</groupId>
  65. <artifactId>hutool-json</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>cn.lttc.modules</groupId>
  69. <artifactId>lttcai-common-core</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-configuration</groupId>
  73. <artifactId>commons-configuration</artifactId>
  74. <version>${configuration.version}</version>
  75. </dependency>
  76. <!--日志处理-->
  77. <dependency>
  78. <groupId>cn.lttc.modules</groupId>
  79. <artifactId>lttcai-common-log</artifactId>
  80. </dependency>
  81. <!--安全模块-->
  82. <dependency>
  83. <groupId>cn.lttc.modules</groupId>
  84. <artifactId>lttcai-common-security</artifactId>
  85. </dependency>
  86. <!--代码生成模板引擎-->
  87. <dependency>
  88. <groupId>org.apache.velocity</groupId>
  89. <artifactId>velocity-engine-core</artifactId>
  90. <version>${velocity.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.velocity.tools</groupId>
  94. <artifactId>velocity-tools-generic</artifactId>
  95. <version>${velocity.tool.version}</version>
  96. </dependency>
  97. <!--生成文档-->
  98. <dependency>
  99. <groupId>io.springboot.plugin</groupId>
  100. <artifactId>screw-spring-boot-starter</artifactId>
  101. <version>${screw.version}</version>
  102. </dependency>
  103. <!--undertow容器-->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-undertow</artifactId>
  107. </dependency>
  108. </dependencies>
  109. <profiles>
  110. <profile>
  111. <id>boot</id>
  112. </profile>
  113. <profile>
  114. <id>cloud</id>
  115. <activation>
  116. <!-- 默认环境 -->
  117. <activeByDefault>true</activeByDefault>
  118. </activation>
  119. <build>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-maven-plugin</artifactId>
  124. </plugin>
  125. <plugin>
  126. <groupId>io.fabric8</groupId>
  127. <artifactId>docker-maven-plugin</artifactId>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </profile>
  132. </profiles>
  133. </project>