pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.syjy</groupId>
  12. <artifactId>calculation-spring-boot-starter</artifactId>
  13. <version>0.0.42</version>
  14. <!-- <version>0.0.42-SNAPSHOT</version>-->
  15. <name>calculation</name>
  16. <description>Demo project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.projectlombok</groupId>
  32. <artifactId>lombok</artifactId>
  33. <version>1.18.24</version>
  34. <scope>compile</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.highgo</groupId>
  38. <artifactId>HgdbJdbc</artifactId>
  39. <version>6.2.2</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.highgo.hibernate</groupId>
  43. <artifactId>hgdb-hibernate-dialect</artifactId>
  44. <version>6.1.6</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.postgresql</groupId>
  48. <artifactId>postgresql</artifactId>
  49. <version>42.5.0</version> <!-- 请使用最新的稳定版本 -->
  50. </dependency>
  51. <!-- https://mvnrepository.com/artifact/com.xugudb/xugu-jdbc -->
  52. <dependency>
  53. <groupId>com.xugudb</groupId>
  54. <artifactId>xugu-jdbc</artifactId>
  55. <version>12.3.4</version>
  56. </dependency>
  57. <!--mysql 驱动-->
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. </dependency>
  62. <!--本地使用时候放开-->
  63. <!-- <dependency>-->
  64. <!-- <groupId>kingbasejdbc4</groupId>-->
  65. <!-- <artifactId>kingbasejdbc4</artifactId>-->
  66. <!-- <version>1</version>-->
  67. <!-- </dependency>-->
  68. <!--发布时候放开-->
  69. <dependency>
  70. <groupId>com.alibaba.cloud</groupId>
  71. <version>2.2.0.RELEASE</version>
  72. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  73. </dependency>
  74. <!-- druid 连接池 -->
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>druid-spring-boot-starter</artifactId>
  78. <version>1.1.20</version>
  79. </dependency>
  80. <!-- java规则引擎(表达式解析器) -->
  81. <dependency>
  82. <groupId>com.googlecode.aviator</groupId>
  83. <artifactId>aviator</artifactId>
  84. <version>5.2.6</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-jdbc</artifactId>
  89. <version>3.0.1</version>
  90. <scope>compile</scope>
  91. </dependency>
  92. <!--fast json 版本-->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>1.2.69</version>
  97. </dependency>
  98. <!--负责从properties文件中读取配置信息-->
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-configuration-processor</artifactId>
  102. <version>2.7.2</version>
  103. </dependency>
  104. <!--实现自动化配置-->
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-autoconfigure</artifactId>
  108. <version>2.7.2</version>
  109. </dependency>
  110. <!--生成sql脚本工具-->
  111. <dependency>
  112. <groupId>cn.hutool</groupId>
  113. <artifactId>hutool-all</artifactId>
  114. <version>5.3.5</version>
  115. </dependency>
  116. <!--hutool的poi包 https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  117. <dependency>
  118. <groupId>org.apache.poi</groupId>
  119. <artifactId>poi-ooxml</artifactId>
  120. <version>4.1.2</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>commons-io</groupId>
  124. <artifactId>commons-io</artifactId>
  125. <version>2.6</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.hibernate</groupId>
  133. <artifactId>hibernate-core</artifactId>
  134. <version>5.4.8.Final</version>
  135. </dependency>
  136. </dependencies>
  137. <distributionManagement>
  138. <repository>
  139. <id>jiayue-releases</id>
  140. <name>Nexus Release Repository</name>
  141. <url>http://49.4.68.219:8888/repository/jiayue-releases/</url>
  142. </repository>
  143. <snapshotRepository>
  144. <id>jiayue-snapshots</id>
  145. <name>Nexus Snapshot Repository</name>
  146. <url>http://49.4.68.219:8888/repository/jiayue-snapshots/</url>
  147. </snapshotRepository>
  148. <!--csc-->
  149. <!-- <repository>-->
  150. <!-- <id>jiayue-csc-releases</id>-->
  151. <!-- <url>http://49.4.68.219:8888/repository/jiayue-csc-releases/</url>-->
  152. <!-- </repository>-->
  153. <!-- <snapshotRepository>-->
  154. <!-- <id>jiayue-csc-snapshots</id>-->
  155. <!-- <url>http://49.4.68.219:8888/repository/jiayue-csc-snapshots/</url>-->
  156. <!-- </snapshotRepository>-->
  157. </distributionManagement>
  158. <build>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-compiler-plugin</artifactId>
  163. <configuration>
  164. <source>1.8</source>
  165. <target>1.8</target>
  166. <compilerArguments>
  167. <bootclasspath>D:\develops\Eclipse Adoptium\jdk-8.0.432.6-hotspot\jre\lib/rt.jar</bootclasspath>
  168. </compilerArguments>
  169. </configuration>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-maven-plugin</artifactId>
  174. <!--独立打包作为服务和对外接口时候需要注释,上传Maven取消注释-->
  175. <configuration>
  176. <skip>true</skip>
  177. <mainClass>com.syjy.calculate.CalculationApplication</mainClass>
  178. </configuration>
  179. <executions>
  180. <execution>
  181. <goals>
  182. <goal>repackage</goal>
  183. </goals>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. <!--跳过test类-->
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-surefire-plugin</artifactId>
  191. <version>2.21.0</version>
  192. <configuration>
  193. <skipTests>true</skipTests>
  194. </configuration>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </project>