pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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. <parent>
  6. <groupId>com.pig4cloud</groupId>
  7. <artifactId>pig-visual</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <artifactId>pig-codegen</artifactId>
  11. <packaging>jar</packaging>
  12. <description>代码生成模块</description>
  13. <properties>
  14. <screw.version>0.0.6</screw.version>
  15. <anyline.version>8.7.2-jdk17-20240808</anyline.version>
  16. </properties>
  17. <dependencies>
  18. <!--注册中心客户端-->
  19. <dependency>
  20. <groupId>com.alibaba.cloud</groupId>
  21. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  22. </dependency>
  23. <!--配置中心客户端-->
  24. <dependency>
  25. <groupId>com.alibaba.cloud</groupId>
  26. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  27. </dependency>
  28. <!--数据操作-->
  29. <dependency>
  30. <groupId>com.pig4cloud</groupId>
  31. <artifactId>pig-common-mybatis</artifactId>
  32. </dependency>
  33. <!--动态数据源 数据操作-->
  34. <dependency>
  35. <groupId>com.pig4cloud</groupId>
  36. <artifactId>pig-common-datasource</artifactId>
  37. </dependency>
  38. <!--mybatis-->
  39. <dependency>
  40. <groupId>com.baomidou</groupId>
  41. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.mysql</groupId>
  45. <artifactId>mysql-connector-j</artifactId>
  46. </dependency>
  47. <!--anyline-->
  48. <dependency>
  49. <groupId>org.anyline</groupId>
  50. <artifactId>anyline-environment-spring-data-jdbc</artifactId>
  51. <version>${anyline.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.anyline</groupId>
  55. <artifactId>anyline-data-jdbc-mysql</artifactId>
  56. <version>${anyline.version}</version>
  57. </dependency>
  58. <!--common-->
  59. <dependency>
  60. <groupId>com.pig4cloud</groupId>
  61. <artifactId>pig-common-core</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>cn.hutool</groupId>
  65. <artifactId>hutool-json</artifactId>
  66. </dependency>
  67. <!--swagger-->
  68. <dependency>
  69. <groupId>com.pig4cloud</groupId>
  70. <artifactId>pig-common-swagger</artifactId>
  71. </dependency>
  72. <!--安全模块-->
  73. <dependency>
  74. <groupId>com.pig4cloud</groupId>
  75. <artifactId>pig-common-xss</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.pig4cloud</groupId>
  79. <artifactId>pig-common-security</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.pig4cloud</groupId>
  83. <artifactId>pig-common-log</artifactId>
  84. </dependency>
  85. <!--代码生成模板引擎-->
  86. <dependency>
  87. <groupId>org.apache.velocity</groupId>
  88. <artifactId>velocity-engine-core</artifactId>
  89. <version>${velocity.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.velocity.tools</groupId>
  93. <artifactId>velocity-tools-generic</artifactId>
  94. <version>${velocity.tool.version}</version>
  95. </dependency>
  96. <!--生成文档-->
  97. <dependency>
  98. <groupId>group.springframework.plugin</groupId>
  99. <artifactId>screw-spring-boot-starter</artifactId>
  100. <version>${screw.version}</version>
  101. </dependency>
  102. <!--web 模块-->
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-web</artifactId>
  106. </dependency>
  107. <!--undertow容器-->
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-undertow</artifactId>
  111. </dependency>
  112. </dependencies>
  113. <profiles>
  114. <profile>
  115. <id>cloud</id>
  116. <activation>
  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. <executions>
  125. <execution>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. <configuration>
  130. <loaderImplementation>CLASSIC</loaderImplementation>
  131. </configuration>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <plugin>
  136. <groupId>io.fabric8</groupId>
  137. <artifactId>docker-maven-plugin</artifactId>
  138. <configuration>
  139. <skip>false</skip>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </profile>
  145. <profile>
  146. <id>boot</id>
  147. </profile>
  148. </profiles>
  149. </project>