pom.xml 7.7 KB

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