pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. <version>2.0.7.RELEASE</version>
  54. </dependency>
  55. <!--mybatisPlus-->
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatis-plus-boot-starter</artifactId>
  59. <version>3.4.2</version>
  60. </dependency>
  61. <!--swagger-->
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger2</artifactId>
  65. <version>2.9.2</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger-ui</artifactId>
  70. <version>2.9.2</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.poi</groupId>
  74. <artifactId>poi</artifactId>
  75. <version>3.17</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.poi</groupId>
  79. <artifactId>poi-ooxml</artifactId>
  80. <version>3.17</version>
  81. </dependency>
  82. <!--steerinfo-->
  83. <dependency>
  84. <groupId>com.steerinfo</groupId>
  85. <artifactId>framework</artifactId>
  86. <version>1.0</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
  89. <dependency>
  90. <groupId>org.mybatis</groupId>
  91. <artifactId>mybatis</artifactId>
  92. <version>3.5.6</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <plugins>
  97. <!-- 自动生成代码文件 -->
  98. <plugin>
  99. <groupId>com.steerinfo</groupId>
  100. <artifactId>generator-maven-plugin</artifactId>
  101. <version>3.0</version>
  102. <configuration>
  103. <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>
  104. <user>dil</user>
  105. <password>Dil123789</password>
  106. <!--包名-->
  107. <targetPackage>com.steerinfo.dil</targetPackage>
  108. <tables>
  109. <<<<<<< HEAD
  110. <param>ams_requirement</param><!--运力-->
  111. =======
  112. <!-- <param>AMSTRUCK_RAIL_DAYPLAN</param>&lt;!&ndash;运力&ndash;&gt;-->
  113. >>>>>>> bcea3dc53173008a1186762ddc0d8673345eefa7
  114. </tables>
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <phase>compile</phase>
  119. <goals>
  120. <goal>steerinfo</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-maven-plugin</artifactId>
  128. <executions>
  129. <execution>
  130. <goals>
  131. <goal>repackage</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. <resources>
  138. <resource>
  139. <directory>src/main/resources</directory>
  140. <includes>
  141. <include>**/*.xml</include>
  142. </includes>
  143. </resource>
  144. <resource>
  145. <directory>src/main/resources</directory>
  146. </resource>
  147. </resources>
  148. </build>
  149. </project>