pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.7.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.tofly</groupId>
  12. <artifactId>tofly-codeGenNew</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <spring-boot.version>2.1.7.RELEASE</spring-boot.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  21. <velocity.version>1.7</velocity.version>
  22. <jasypt.version>2.1.0</jasypt.version>
  23. <jackson.modules>2.9.8</jackson.modules>
  24. <!--zipkin2.12.x需要此版本jooq-->
  25. <jooq.version>3.11.11</jooq.version>
  26. <fastjson.version>1.2.47</fastjson.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. </dependency>
  41. <!--web 模块-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web</artifactId>
  45. <exclusions>
  46. <!--排除tomcat依赖-->
  47. <exclusion>
  48. <artifactId>spring-boot-starter-tomcat</artifactId>
  49. <groupId>org.springframework.boot</groupId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <!--undertow容器-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-undertow</artifactId>
  57. </dependency>
  58. <!--代码生成模板引擎-->
  59. <dependency>
  60. <artifactId>velocity</artifactId>
  61. <groupId>org.apache.velocity</groupId>
  62. <version>${velocity.version}</version>
  63. </dependency>
  64. <!--mybatis-->
  65. <!--<dependency>-->
  66. <!--<groupId>com.baomidou</groupId>-->
  67. <!--<artifactId>mybatis-plus-boot-starter</artifactId>-->
  68. <!--<version>${mybatis-plus.version}</version>-->
  69. <!--</dependency>-->
  70. <dependency>
  71. <groupId>com.oracle</groupId>
  72. <artifactId>ojdbc6</artifactId>
  73. <version>11.2.0.4.0-atlassian-hosted</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>mysql</groupId>
  77. <artifactId>mysql-connector-java</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.thymeleaf</groupId>
  81. <artifactId>thymeleaf-spring5</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>commons-configuration</groupId>
  85. <artifactId>commons-configuration</artifactId>
  86. <version>1.8</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba</groupId>
  90. <artifactId>fastjson</artifactId>
  91. <version>${fastjson.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.github.ulisesbocchio</groupId>
  95. <artifactId>jasypt-spring-boot-starter</artifactId>
  96. <version>${jasypt.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.zaxxer</groupId>
  100. <artifactId>HikariCP</artifactId>
  101. <version>3.2.0</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework</groupId>
  105. <artifactId>spring-jdbc</artifactId>
  106. <version>5.1.9.RELEASE</version>
  107. </dependency>
  108. </dependencies>
  109. <!--<dependencyManagement>
  110. <dependencies>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-dependencies</artifactId>
  114. <version>${spring-boot.version}</version>
  115. <type>pom</type>
  116. <scope>import</scope>
  117. </dependency>hg\
  118. <dependency>
  119. <groupId>io.spring.platform</groupId>
  120. <artifactId>platform-bom</artifactId>
  121. <version>${spring-platform.version}</version>
  122. <type>pom</type>
  123. <scope>import</scope>
  124. </dependency>
  125. </dependencies>
  126. </dependencyManagement>-->
  127. <build>
  128. <plugins>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-compiler-plugin</artifactId>
  132. <configuration>
  133. <source>1.8</source>
  134. <target>1.8</target>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. <configuration>
  141. <includeSystemScope>true</includeSystemScope>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. <repositories>
  147. <!--阿里云主仓库,代理了maven central和jcenter仓库-->
  148. <repository>
  149. <id>aliyun</id>
  150. <name>aliyun</name>
  151. <url>https://maven.aliyun.com/repository/public</url>
  152. <releases>
  153. <enabled>true</enabled>
  154. </releases>
  155. <snapshots>
  156. <enabled>false</enabled>
  157. </snapshots>
  158. </repository>
  159. <!--阿里云代理Spring 官方仓库-->
  160. <repository>
  161. <id>spring-milestones</id>
  162. <name>Spring Milestones</name>
  163. <url>https://maven.aliyun.com/repository/spring</url>
  164. <releases>
  165. <enabled>true</enabled>
  166. </releases>
  167. <snapshots>
  168. <enabled>false</enabled>
  169. </snapshots>
  170. </repository>
  171. </repositories>
  172. <pluginRepositories>
  173. <!--阿里云代理Spring 插件仓库-->
  174. <pluginRepository>
  175. <id>spring-plugin</id>
  176. <name>spring-plugin</name>
  177. <url>https://maven.aliyun.com/repository/spring-plugin</url>
  178. <releases>
  179. <enabled>true</enabled>
  180. </releases>
  181. <snapshots>
  182. <enabled>false</enabled>
  183. </snapshots>
  184. </pluginRepository>
  185. </pluginRepositories>
  186. </project>