pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.plume</groupId>
  7. <artifactId>code</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <packaging>jar</packaging>
  12. <artifactId>plume-code-starter</artifactId>
  13. <version>0.0.2</version>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.google.code.gson</groupId>
  29. <artifactId>gson</artifactId>
  30. <version>2.8.5</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>commons-io</groupId>
  34. <artifactId>commons-io</artifactId>
  35. <version>2.6</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-jdbc</artifactId>
  49. </dependency>
  50. <!-- 引入 mysql 数据库连接依赖-->
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>junit</groupId>
  57. <artifactId>junit</artifactId>
  58. <version>4.12</version>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-lang3</artifactId>
  64. <version>3.8.1</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.h2database</groupId>
  68. <artifactId>h2</artifactId>
  69. <version>1.4.196</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.velocity</groupId>
  73. <artifactId>velocity</artifactId>
  74. <version>1.7</version>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-core -->
  77. <dependency>
  78. <groupId>cn.hutool</groupId>
  79. <artifactId>hutool-core</artifactId>
  80. <version>5.7.2</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-boot-starter</artifactId>
  85. <version>3.4.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-freemarker</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.postgresql</groupId>
  93. <artifactId>postgresql</artifactId>
  94. <version>42.2.23</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-dbutils</groupId>
  98. <artifactId>commons-dbutils</artifactId>
  99. <version>1.6</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.microsoft.sqlserver</groupId>
  103. <artifactId>sqljdbc4</artifactId>
  104. <version>4.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.oracle.database.jdbc</groupId>
  108. <artifactId>ojdbc8</artifactId>
  109. <version>19.11.0.0</version>
  110. <scope>system</scope>
  111. <systemPath>${project.basedir}/../libs/ojdbc8-19.11.0.0.jar</systemPath>
  112. </dependency>
  113. </dependencies>
  114. <build>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-compiler-plugin</artifactId>
  119. <version>3.8.1</version>
  120. <configuration>
  121. <source>1.8</source>
  122. <target>1.8</target>
  123. <encoding>UTF-8</encoding>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-deploy-plugin</artifactId>
  129. <version>2.8.2</version>
  130. <configuration>
  131. <skip>true</skip>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. <version>2.4.1</version>
  138. <!-- repackage:创建一个自动可执行的jar或war文件 -->
  139. <executions>
  140. <execution>
  141. <goals>
  142. <goal>repackage</goal>
  143. </goals>
  144. </execution>
  145. </executions>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-surefire-plugin</artifactId>
  150. <!--编译打包时,忽略测试类-->
  151. <configuration>
  152. <skipTests>true</skipTests>
  153. </configuration>
  154. </plugin>
  155. </plugins>
  156. <!-- maven资源文件复制插件 -->
  157. <resources>
  158. <resource>
  159. <directory>src/main/resources</directory>
  160. <excludes>
  161. <exclude>application*.properties</exclude>
  162. </excludes>
  163. </resource>
  164. <resource>
  165. <directory>src/main/resources</directory>
  166. <filtering>true</filtering>
  167. <includes>
  168. <include>application.properties</include>
  169. <include>**/*.*.tpl</include>
  170. </includes>
  171. </resource>
  172. </resources>
  173. </build>
  174. </project>