pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. <param>RMS_CARRIER</param>
  110. </tables>
  111. </configuration>
  112. <executions>
  113. <execution>
  114. <phase>compile</phase>
  115. <goals>
  116. <goal>steerinfo</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-maven-plugin</artifactId>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. <resources>
  134. <resource>
  135. <directory>src/main/resources</directory>
  136. <includes>
  137. <include>**/*.xml</include>
  138. </includes>
  139. </resource>
  140. <resource>
  141. <directory>src/main/resources</directory>
  142. </resource>
  143. </resources>
  144. </build>
  145. </project>