pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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.20</version>
  14. <!--<version>0.0.20-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. <!--mysql 驱动-->
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. </dependency>
  41. <!--本地使用时候放开-->
  42. <dependency>
  43. <groupId>kingbasejdbc4</groupId>
  44. <artifactId>kingbasejdbc4</artifactId>
  45. <version>1</version>
  46. </dependency>
  47. <!--发布时候放开-->
  48. <!--<dependency>-->
  49. <!--<groupId>com.alibaba.cloud</groupId>-->
  50. <!--<version>2.2.0.RELEASE</version>-->
  51. <!--<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
  52. <!--</dependency>-->
  53. <!-- druid 连接池 -->
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>druid-spring-boot-starter</artifactId>
  57. <version>1.1.20</version>
  58. </dependency>
  59. <!-- java规则引擎(表达式解析器) -->
  60. <dependency>
  61. <groupId>com.googlecode.aviator</groupId>
  62. <artifactId>aviator</artifactId>
  63. <version>5.2.6</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-jdbc</artifactId>
  68. <version>3.0.1</version>
  69. <scope>compile</scope>
  70. </dependency>
  71. <!--fast json 版本-->
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>fastjson</artifactId>
  75. <version>1.2.69</version>
  76. </dependency>
  77. <!--负责从properties文件中读取配置信息-->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-configuration-processor</artifactId>
  81. <version>2.7.2</version>
  82. </dependency>
  83. <!--实现自动化配置-->
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-autoconfigure</artifactId>
  87. <version>2.7.2</version>
  88. </dependency>
  89. <!--生成sql脚本工具-->
  90. <dependency>
  91. <groupId>cn.hutool</groupId>
  92. <artifactId>hutool-all</artifactId>
  93. <version>5.3.5</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-io</groupId>
  97. <artifactId>commons-io</artifactId>
  98. <version>2.6</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.hibernate</groupId>
  106. <artifactId>hibernate-core</artifactId>
  107. <version>5.4.8.Final</version>
  108. </dependency>
  109. </dependencies>
  110. <distributionManagement>
  111. <repository>
  112. <id>jiayue-rzeleases</id>
  113. <name>Nexus Release Repository</name>
  114. <url>http://49.4.68.219:8888/repository/jiayue-releases/</url>
  115. </repository>
  116. <snapshotRepository>
  117. <id>jiayue-snapshots</id>
  118. <name>Nexus Snapshot Repository</name>
  119. <url>http://49.4.68.219:8888/repository/jiayue-snapshots/</url>
  120. </snapshotRepository>
  121. <!--csc-->
  122. <!--<repository>-->
  123. <!--<id>jiayue-csc-releases</id>-->
  124. <!--<url>http://49.4.68.219:8888/repository/jiayue-csc-releases/</url>-->
  125. <!--</repository>-->
  126. <!--<snapshotRepository>-->
  127. <!--<id>jiayue-csc-snapshots</id>-->
  128. <!--<url>http://49.4.68.219:8888/repository/jiayue-csc-snapshots/</url>-->
  129. <!--</snapshotRepository>-->
  130. </distributionManagement>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. <!--独立打包作为服务和对外接口时候需要注释掉-->
  137. <configuration>
  138. <skip>true</skip>
  139. <mainClass>com.syjy.calculate.CalculationApplication</mainClass>
  140. </configuration>
  141. <executions>
  142. <execution>
  143. <goals>
  144. <goal>repackage</goal>
  145. </goals>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <!--跳过test类-->
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-surefire-plugin</artifactId>
  153. <version>2.21.0</version>
  154. <configuration>
  155. <skipTests>true</skipTests>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>