pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. </dependencies>
  88. <build>
  89. <plugins>
  90. <!-- 自动生成代码文件 -->
  91. <plugin>
  92. <groupId>com.steerinfo</groupId>
  93. <artifactId>generator-maven-plugin</artifactId>
  94. <version>3.0</version>
  95. <configuration>
  96. <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>
  97. <user>DAGANG</user>
  98. <password>root123</password>
  99. <!--包名-->
  100. <targetPackage>com.steerinfo.dil</targetPackage>
  101. <tables>
  102. <!-- <param>AMS_SALE_ORDER</param>&lt;!&ndash;销售计划&ndash;&gt;-->
  103. <param>AMS_SALE_ORDER_CARRIER</param><!--销售计划物资中间表-->
  104. <!-- <param>AMSTRUCK_RAIL_DAYPLAN</param>&lt;!&ndash;销售计划物资中间表&ndash;&gt;-->
  105. <!-- <param>AMS_CONTRACT_TRANSPORT_PRICE</param>&lt;!&ndash;销售订单&ndash;&gt;-->
  106. <!-- <param>RMS_RECEIVE_PLACE</param>&lt;!&ndash;销售订单车序号表&ndash;&gt;-->
  107. <!-- <param>AMS_SALE_TRUCKNO_MATERIAL</param>&lt;!&ndash;车序号物资中间表&ndash;&gt;-->
  108. <!-- <param>AMS_CONTRACT_TRANSPORT_PRICE</param>-->
  109. </tables>
  110. </configuration>
  111. <executions>
  112. <execution>
  113. <phase>compile</phase>
  114. <goals>
  115. <goal>steerinfo</goal>
  116. </goals>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-maven-plugin</artifactId>
  123. <version>2.2.6.RELEASE</version>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <!-- <plugin>-->
  133. <!-- <groupId>com.steerinfo</groupId>-->
  134. <!-- <artifactId>generator-maven-plugin</artifactId>-->
  135. <!-- <version>3.0</version>-->
  136. <!-- <configuration>-->
  137. <!-- <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>-->
  138. <!-- <user>dagang</user>-->
  139. <!-- <password>root123</password>-->
  140. <!-- &lt;!&ndash;包名&ndash;&gt;-->
  141. <!-- <targetPackage>com.steerinfo.dil</targetPackage>-->
  142. <!-- <tables>-->
  143. <!-- <table>OMSTRUCK_ORDER_MATERIAL</table>&lt;!&ndash;销售计划&ndash;&gt;-->
  144. <!-- &lt;!&ndash; <param>AMSTRUCK_INWARD_REQUIREMENT</param>&lt;!&ndash;销售计划物资中间表&ndash;&gt;&ndash;&gt;-->
  145. <!-- &lt;!&ndash; <param>AMSTRUCK_RAIL_DAYPLAN</param>&lt;!&ndash;销售计划物资中间表&ndash;&gt;&ndash;&gt;-->
  146. <!-- &lt;!&ndash; <param>AMS_CONTRACT_TRANSPORT_PRICE</param>&lt;!&ndash;销售订单&ndash;&gt;&ndash;&gt;-->
  147. <!-- &lt;!&ndash; <param>AMS_SALE_ORDER_MATERIAL</param>&lt;!&ndash;销售订单车序号表&ndash;&gt;&ndash;&gt;-->
  148. <!-- &lt;!&ndash; <param>AMS_SALE_TRUCKNO_MATERIAL</param>&lt;!&ndash;车序号物资中间表&ndash;&gt;&ndash;&gt;-->
  149. <!-- </tables>-->
  150. <!-- </configuration>-->
  151. <!-- <executions>-->
  152. <!-- <execution>-->
  153. <!-- <phase>compile</phase>-->
  154. <!-- <goals>-->
  155. <!-- <goal></goal>-->
  156. <!-- </goals>-->
  157. <!-- </execution>-->
  158. <!-- </executions>-->
  159. <!-- </plugin>-->
  160. <plugin>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-maven-plugin</artifactId>
  163. <version>2.2.6.RELEASE</version>
  164. <executions>
  165. <execution>
  166. <goals>
  167. <goal>repackage</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. </plugins>
  173. <resources>
  174. <resource>
  175. <directory>src/main/resources</directory>
  176. <includes>
  177. <include>**/*.xml</include>
  178. </includes>
  179. </resource>
  180. <resource>
  181. <directory>src/main/resources</directory>
  182. </resource>
  183. </resources>
  184. </build>
  185. </project>