pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. <!-- webService所需依赖 -->
  88. <dependency>
  89. <groupId>org.apache.axis</groupId>
  90. <artifactId>axis</artifactId>
  91. <version>1.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>commons-discovery</groupId>
  95. <artifactId>commons-discovery</artifactId>
  96. <version>0.2</version>
  97. <exclusions>
  98. <exclusion>
  99. <groupId>commons-logging</groupId>
  100. <artifactId>commons-logging</artifactId>
  101. </exclusion>
  102. </exclusions>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.axis</groupId>
  106. <artifactId>axis-jaxrpc</artifactId>
  107. <version>1.4</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.axis</groupId>
  111. <artifactId>axis-saaj</artifactId>
  112. <version>1.4</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>wsdl4j</groupId>
  116. <artifactId>wsdl4j</artifactId>
  117. <version>1.4</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.slf4j</groupId>
  121. <artifactId>slf4j-api</artifactId>
  122. <version>1.7.22</version>
  123. </dependency>
  124. <!-- 还是引入其中一个实现类-->
  125. <dependency>
  126. <groupId>org.slf4j</groupId>
  127. <artifactId>slf4j-log4j12</artifactId>
  128. <version>1.7.22</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.slf4j</groupId>
  132. <artifactId>slf4j-nop</artifactId>
  133. <version>1.7.21</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.alibaba</groupId>
  137. <artifactId>fastjson</artifactId>
  138. <version>1.2.41</version>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <plugins>
  143. <!-- 自动生成代码文件 -->
  144. <plugin>
  145. <groupId>com.steerinfo</groupId>
  146. <artifactId>generator-maven-plugin</artifactId>
  147. <version>3.0</version>
  148. <configuration>
  149. <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>
  150. <user>dil</user>
  151. <password>Dil123789</password>
  152. <!--包名-->
  153. <targetPackage>com.steerinfo.dil</targetPackage>
  154. <tables>
  155. <!-- <table>RMS_</table>-->
  156. </tables>
  157. </configuration>
  158. <executions>
  159. <execution>
  160. <phase>compile</phase>
  161. <goals>
  162. <goal>steerinfo</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-maven-plugin</artifactId>
  170. <executions>
  171. <execution>
  172. <goals>
  173. <goal>repackage</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. </plugins>
  179. <resources>
  180. <resource>
  181. <directory>src/main/resources</directory>
  182. <includes>
  183. <include>**/*.xml</include>
  184. </includes>
  185. </resource>
  186. <resource>
  187. <directory>src/main/resources</directory>
  188. </resource>
  189. </resources>
  190. </build>
  191. </project>