pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>dil-api</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.0.7.RELEASE</version>
  13. </parent>
  14. <dependencyManagement>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.cloud</groupId>
  18. <artifactId>spring-cloud-dependencies</artifactId>
  19. <!--Spring Cloud的版本-->
  20. <version>Finchley.SR2</version>
  21. <type>pom</type>
  22. <scope>import</scope>
  23. </dependency>
  24. </dependencies>
  25. </dependencyManagement>
  26. <repositories>
  27. <repository>
  28. <id>maven-public</id>
  29. <name>steerinfo maven-public</name>
  30. <url>https://nexus.steerinfo.com/repository/maven-public/</url>
  31. </repository>
  32. </repositories>
  33. <distributionManagement>
  34. <repository>
  35. <id>maven-releases</id>
  36. <name>steerinfo nexus-releases</name>
  37. <url>http://nexus.steerinfo.com/repository/maven-releases/</url>
  38. </repository>
  39. <snapshotRepository>
  40. <id>maven-snapshots</id>
  41. <url>http://nexus.steerinfo.com/repository/maven-snapshots/</url>
  42. </snapshotRepository>
  43. </distributionManagement>
  44. <dependencies>
  45. <!--minio-->
  46. <dependency>
  47. <groupId>io.minio</groupId>
  48. <artifactId>minio</artifactId>
  49. <version>8.2.1</version>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>com.squareup.okhttp3</groupId>
  53. <artifactId>okhttp</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <!--Redis-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-data-redis</artifactId>
  61. </dependency>
  62. <!--中交新路的包这个问杨-->
  63. <dependency>
  64. <groupId>com.ZhongJiaoXingLu</groupId>
  65. <artifactId>openapi-sdk</artifactId>
  66. <version>6.0</version>
  67. </dependency>
  68. <!--websocket-->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-websocket</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. </dependency>
  77. <!--mybatisPlus-->
  78. <dependency>
  79. <groupId>com.baomidou</groupId>
  80. <artifactId>mybatis-plus-boot-starter</artifactId>
  81. <version>3.4.2</version>
  82. </dependency>
  83. <!--swagger-->
  84. <dependency>
  85. <groupId>io.springfox</groupId>
  86. <artifactId>springfox-swagger2</artifactId>
  87. <version>2.9.2</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.springfox</groupId>
  91. <artifactId>springfox-swagger-ui</artifactId>
  92. <version>2.9.2</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.poi</groupId>
  96. <artifactId>poi</artifactId>
  97. <version>3.17</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.poi</groupId>
  101. <artifactId>poi-ooxml</artifactId>
  102. <version>3.17</version>
  103. </dependency>
  104. <!--steerinfo-->
  105. <dependency>
  106. <groupId>com.steerinfo</groupId>
  107. <artifactId>framework</artifactId>
  108. <version>1.0</version>
  109. </dependency>
  110. <!-- httpClient远程调用接口 -->
  111. <dependency>
  112. <groupId>org.apache.httpcomponents</groupId>
  113. <artifactId>httpclient</artifactId>
  114. <version>4.5.13</version>
  115. </dependency>
  116. <!-- fastJson转换-->
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>fastjson</artifactId>
  120. <version>1.2.75</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-starter-test</artifactId>
  125. <!-- 表示开发的时候引入,发布的时候不会加载此包 -->
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.junit.jupiter</groupId>
  130. <artifactId>junit-jupiter</artifactId>
  131. <version>RELEASE</version>
  132. <scope>compile</scope>
  133. </dependency>
  134. </dependencies>
  135. <build>
  136. <plugins>
  137. <!-- 自动生成代码文件 -->
  138. <plugin>
  139. <groupId>com.steerinfo</groupId>
  140. <artifactId>generator-maven-plugin</artifactId>
  141. <version>3.0</version>
  142. <configuration>
  143. <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>
  144. <user>dagang</user>
  145. <password>root123</password>
  146. <!--包名-->
  147. <targetPackage>com.steerinfo.dil</targetPackage>
  148. <tables>
  149. <!-- <param>MEASURE_JSON_DATA</param>-->
  150. <param>DIL_CID_CAPACITY</param>
  151. </tables>
  152. </configuration>
  153. <executions>
  154. <execution>
  155. <phase>compile</phase>
  156. <goals>
  157. <goal>steerinfo</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-maven-plugin</artifactId>
  165. <executions>
  166. <execution>
  167. <goals>
  168. <goal>repackage</goal>
  169. </goals>
  170. </execution>
  171. </executions>
  172. </plugin>
  173. </plugins>
  174. <resources>
  175. <resource>
  176. <directory>src/main/resources</directory>
  177. <includes>
  178. <include>**/*.xml</include>
  179. </includes>
  180. </resource>
  181. <resource>
  182. <directory>src/main/resources</directory>
  183. </resource>
  184. </resources>
  185. </build>
  186. </project>