pom.xml 5.1 KB

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