pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. <!--websocket-->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-websocket</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-web</artifactId>
  53. </dependency>
  54. <!--mybatisPlus-->
  55. <dependency>
  56. <groupId>com.baomidou</groupId>
  57. <artifactId>mybatis-plus-boot-starter</artifactId>
  58. <version>3.4.2</version>
  59. </dependency>
  60. <!--swagger-->
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger2</artifactId>
  64. <version>2.9.2</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.springfox</groupId>
  68. <artifactId>springfox-swagger-ui</artifactId>
  69. <version>2.9.2</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.poi</groupId>
  73. <artifactId>poi</artifactId>
  74. <version>3.17</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.poi</groupId>
  78. <artifactId>poi-ooxml</artifactId>
  79. <version>3.17</version>
  80. </dependency>
  81. <!--steerinfo-->
  82. <dependency>
  83. <groupId>com.steerinfo</groupId>
  84. <artifactId>framework</artifactId>
  85. <version>1.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.alibaba</groupId>
  89. <artifactId>fastjson</artifactId>
  90. <version>1.2.75</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>dom4j</groupId>
  94. <artifactId>dom4j</artifactId>
  95. <version>1.6.1</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.jdom</groupId>
  99. <artifactId>jdom2</artifactId>
  100. <version>2.0.6</version>
  101. </dependency>
  102. <!-- webService所需依赖 -->
  103. <dependency>
  104. <groupId>org.apache.axis</groupId>
  105. <artifactId>axis</artifactId>
  106. <version>1.4</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-discovery</groupId>
  110. <artifactId>commons-discovery</artifactId>
  111. <version>0.2</version>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>commons-logging</groupId>
  115. <artifactId>commons-logging</artifactId>
  116. </exclusion>
  117. </exclusions>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.axis</groupId>
  121. <artifactId>axis-jaxrpc</artifactId>
  122. <version>1.4</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.axis</groupId>
  126. <artifactId>axis-saaj</artifactId>
  127. <version>1.4</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>wsdl4j</groupId>
  131. <artifactId>wsdl4j</artifactId>
  132. <version>1.4</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.slf4j</groupId>
  136. <artifactId>slf4j-api</artifactId>
  137. <version>1.7.22</version>
  138. </dependency>
  139. <!-- 还是引入其中一个实现类-->
  140. <dependency>
  141. <groupId>org.slf4j</groupId>
  142. <artifactId>slf4j-log4j12</artifactId>
  143. <version>1.7.22</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.slf4j</groupId>
  147. <artifactId>slf4j-nop</artifactId>
  148. <version>1.7.21</version>
  149. </dependency>
  150. <!-- ftpclient -->
  151. <dependency>
  152. <groupId>commons-net</groupId>
  153. <artifactId>commons-net</artifactId>
  154. <version>3.1</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.projectlombok</groupId>
  158. <artifactId>lombok</artifactId>
  159. <version>1.16.20</version>
  160. </dependency>
  161. <!-- SpringDataJpa-->
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-starter-data-jpa</artifactId>
  165. </dependency>
  166. </dependencies>
  167. <build>
  168. <plugins>
  169. <!-- 自动生成代码文件-->
  170. <plugin>
  171. <groupId>com.steerinfo</groupId>
  172. <artifactId>generator-maven-plugin</artifactId>
  173. <version>3.0</version>
  174. <configuration>
  175. <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>
  176. <user>dil</user>
  177. <password>Dil123789</password>
  178. <!--包名-->
  179. <targetPackage>com.steerinfo.dil</targetPackage>
  180. <tables>
  181. <table>TMSTRUCK_WEIGHT_BATCH</table>
  182. </tables>
  183. </configuration>
  184. <executions>
  185. <execution>
  186. <phase>compile</phase>
  187. <goals>
  188. <goal>steerinfo</goal>
  189. </goals>
  190. </execution>
  191. </executions>
  192. </plugin>
  193. <!-- 自动生成代码文件-->
  194. <!-- <plugin>-->
  195. <!-- <groupId>com.steerinfo</groupId>-->
  196. <!-- <artifactId>generator-maven-plugin</artifactId>-->
  197. <!-- <version>3.0</version>-->
  198. <!-- <configuration>-->
  199. <!-- <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>-->
  200. <!-- <user>dil</user>-->
  201. <!-- <password>Dil123789</password>-->
  202. <!-- &lt;!&ndash;包名&ndash;&gt;-->
  203. <!-- <targetPackage>com.steerinfo.dil</targetPackage>-->
  204. <!-- <tables>-->
  205. <!-- <table>
  206. </table>-->
  207. <!-- </tables>-->
  208. <!-- </configuration>-->
  209. <!-- <executions>-->
  210. <!-- <execution>-->
  211. <!-- <phase>compile</phase>-->
  212. <!-- <goals>-->
  213. <!-- <goal>steerinfo</goal>-->
  214. <!-- </goals>-->
  215. <!-- </execution>-->
  216. <!-- </executions>-->
  217. <!-- </plugin>-->
  218. <plugin>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-maven-plugin</artifactId>
  221. <executions>
  222. <execution>
  223. <goals>
  224. <goal>repackage</goal>
  225. </goals>
  226. </execution>
  227. </executions>
  228. </plugin>
  229. </plugins>
  230. <resources>
  231. <resource>
  232. <directory>src/main/resources</directory>
  233. <includes>
  234. <include>**/*.xml</include>
  235. </includes>
  236. </resource>
  237. <resource>
  238. <directory>src/main/resources</directory>
  239. </resource>
  240. </resources>
  241. </build>
  242. </project>