pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. </dependencies>
  88. <build>
  89. <plugins>
  90. <!-- 自动生成代码文件 -->
  91. <plugin>
  92. <groupId>com.steerinfo</groupId>
  93. <artifactId>generator-maven-plugin</artifactId>
  94. <version>3.0</version>
  95. <configuration>
  96. <connUrl>jdbc:oracle:thin:@172.16.33.163:1521:ilsdbpri</connUrl>
  97. <user>dil</user>
  98. <password>Dil123789</password>
  99. <!--包名-->
  100. <targetPackage>com.steerinfo.dil</targetPackage>
  101. <tables>
  102. <param>TMSSHIP_CONTROL_LINE</param>
  103. </tables>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <phase>compile</phase>
  108. <goals>
  109. <goal>steerinfo</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <executions>
  118. <execution>
  119. <goals>
  120. <goal>repackage</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. </plugins>
  126. <resources>
  127. <resource>
  128. <directory>src/main/resources</directory>
  129. <includes>
  130. <include>**/*.xml</include>
  131. </includes>
  132. </resource>
  133. <resource>
  134. <directory>src/main/resources</directory>
  135. </resource>
  136. </resources>
  137. </build>
  138. </project>