pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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>antai-api</artifactId>
  8. <version>1.2</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>com.alibaba</groupId>
  52. <artifactId>fastjson</artifactId>
  53. <version>1.2.24</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-web</artifactId>
  58. <version>2.0.7.RELEASE</version>
  59. </dependency>
  60. <!--mybatisPlus-->
  61. <dependency>
  62. <groupId>com.baomidou</groupId>
  63. <artifactId>mybatis-plus-boot-starter</artifactId>
  64. <version>3.4.2</version>
  65. </dependency>
  66. <!-- <dependency>-->
  67. <!-- <groupId>org.springframework.boot</groupId>-->
  68. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  69. <!-- </dependency>-->
  70. <!--swagger-->
  71. <dependency>
  72. <groupId>io.springfox</groupId>
  73. <artifactId>springfox-swagger2</artifactId>
  74. <version>2.9.2</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.springfox</groupId>
  78. <artifactId>springfox-swagger-ui</artifactId>
  79. <version>2.9.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.poi</groupId>
  83. <artifactId>poi</artifactId>
  84. <version>3.17</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.poi</groupId>
  88. <artifactId>poi-ooxml</artifactId>
  89. <version>3.17</version>
  90. </dependency>
  91. <!--steerinfo-->
  92. <dependency>
  93. <groupId>com.steerinfo</groupId>
  94. <artifactId>framework</artifactId>
  95. <version>1.0</version>
  96. </dependency>
  97. <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
  98. <dependency>
  99. <groupId>org.mybatis</groupId>
  100. <artifactId>mybatis</artifactId>
  101. <version>3.5.6</version>
  102. </dependency>
  103. <!--文件上传-->
  104. <dependency>
  105. <groupId>commons-net</groupId>
  106. <artifactId>commons-net</artifactId>
  107. <version>3.6</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>commons-fileupload</groupId>
  111. <artifactId>commons-fileupload</artifactId>
  112. <version>1.3.2</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>commons-io</groupId>
  116. <artifactId>commons-io</artifactId>
  117. <version>2.4</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.poi</groupId>
  121. <artifactId>poi-ooxml</artifactId>
  122. <version>3.17</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.poi</groupId>
  126. <artifactId>poi</artifactId>
  127. <version>3.17</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.poi</groupId>
  131. <artifactId>poi-scratchpad</artifactId>
  132. <version>3.17</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.poi</groupId>
  136. <artifactId>poi-ooxml-schemas</artifactId>
  137. <version>3.17</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>fr.opensagres.xdocreport</groupId>
  141. <artifactId>xdocreport</artifactId>
  142. <version>2.0.1</version>
  143. </dependency>
  144. <!-- pdf -->
  145. <dependency>
  146. <groupId>com.itextpdf</groupId>
  147. <artifactId>itextpdf</artifactId>
  148. <version>5.5.11</version>
  149. </dependency>
  150. </dependencies>
  151. <build>
  152. <plugins>
  153. <!-- 自动生成代码文件 -->
  154. <plugin>
  155. <groupId>com.steerinfo</groupId>
  156. <artifactId>generator-maven-plugin</artifactId>
  157. <version>3.0</version>
  158. <configuration>
  159. <connUrl>jdbc:oracle:thin:@172.16.90.214:1521/gxmes</connUrl>
  160. <user>gxmestest</user>
  161. <password>gxmestest</password>
  162. <!--包名-->
  163. <targetPackage>com.steerinfo.dil</targetPackage>
  164. <tables>
  165. <param>SYSTEM_FILE</param>
  166. </tables>
  167. </configuration>
  168. <executions>
  169. <execution>
  170. <phase>compile</phase>
  171. <goals>
  172. <goal>steerinfo</goal>
  173. </goals>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.springframework.boot</groupId>
  179. <artifactId>spring-boot-maven-plugin</artifactId>
  180. <executions>
  181. <execution>
  182. <goals>
  183. <goal>repackage</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. </plugins>
  189. <resources>
  190. <resource>
  191. <directory>src/main/resources</directory>
  192. <includes>
  193. <include>**/*.xml</include>
  194. </includes>
  195. </resource>
  196. <resource>
  197. <directory>src/main/resources</directory>
  198. </resource>
  199. </resources>
  200. </build>
  201. </project>