pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. <parent>
  6. <artifactId>tour-server</artifactId>
  7. <groupId>com.tour</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tour-oms</artifactId>
  12. <dependencies>
  13. <!-- spring-boot-devtools -->
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-devtools</artifactId>
  17. <optional>true</optional> <!-- 表示依赖不会传递 -->
  18. </dependency>
  19. <!-- swagger2-->
  20. <dependency>
  21. <groupId>io.springfox</groupId>
  22. <artifactId>springfox-swagger2</artifactId>
  23. </dependency>
  24. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  25. <dependency>
  26. <groupId>io.swagger</groupId>
  27. <artifactId>swagger-annotations</artifactId>
  28. <version>1.6.5</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>io.swagger</groupId>
  32. <artifactId>swagger-models</artifactId>
  33. <version>1.6.5</version>
  34. </dependency>
  35. <!-- swagger2-UI-->
  36. <dependency>
  37. <groupId>io.springfox</groupId>
  38. <artifactId>springfox-swagger-ui</artifactId>
  39. </dependency>
  40. <!-- Mysql驱动包 -->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.tour</groupId>
  47. <artifactId>tour-module</artifactId>
  48. <version>1.0.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.tour</groupId>
  52. <artifactId>tour-core</artifactId>
  53. <version>1.0.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>easyexcel</artifactId>
  58. <version>2.2.10</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.tour</groupId>
  62. <artifactId>tour-common</artifactId>
  63. <version>1.0.0</version>
  64. </dependency>
  65. <!-- 核心模块-->
  66. <!-- <dependency>
  67. <groupId>com.tour</groupId>
  68. <artifactId>ydd-generator</artifactId>
  69. <version>${zoe.version}</version>
  70. <scope>system</scope>
  71. <systemPath>${project.basedir}/src/main/resources/libs/ydd-generator-3.3.0.jar</systemPath>
  72. </dependency>-->
  73. <!-- 核心模块-->
  74. <!-- <dependency>
  75. <groupId>com.tour</groupId>
  76. <artifactId>ydd-quartz</artifactId>
  77. <version>${zoe.version}</version>
  78. <scope>system</scope>
  79. <systemPath>${project.basedir}/src/main/resources/libs/ydd-quartz-3.3.0.jar</systemPath>
  80. </dependency>-->
  81. </dependencies>
  82. <!-- <build>-->
  83. <!-- <plugins>-->
  84. <!-- <plugin>-->
  85. <!-- <groupId>org.springframework.boot</groupId>-->
  86. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  87. <!-- <version>2.1.1.RELEASE</version>-->
  88. <!-- <configuration>-->
  89. <!-- <fork>true</fork> &lt;!&ndash; 如果没有该配置,devtools不会生效 &ndash;&gt;-->
  90. <!-- </configuration>-->
  91. <!-- <executions>-->
  92. <!-- <execution>-->
  93. <!-- <goals>-->
  94. <!-- <goal>repackage</goal>-->
  95. <!-- </goals>-->
  96. <!-- </execution>-->
  97. <!-- </executions>-->
  98. <!-- </plugin>-->
  99. <!-- <plugin>-->
  100. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  101. <!-- <artifactId>maven-war-plugin</artifactId>-->
  102. <!-- <version>3.1.0</version>-->
  103. <!-- <configuration>-->
  104. <!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
  105. <!-- <warName>${project.artifactId}</warName>-->
  106. <!-- </configuration>-->
  107. <!-- </plugin>-->
  108. <!-- </plugins>-->
  109. <!-- <finalName>${project.artifactId}</finalName>-->
  110. <!-- </build>-->
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. <version>2.1.1.RELEASE</version>
  117. <configuration>
  118. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  119. <includeSystemScope>true</includeSystemScope>
  120. </configuration>
  121. <executions>
  122. <execution>
  123. <goals>
  124. <goal>repackage</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-war-plugin</artifactId>
  132. <version>3.1.0</version>
  133. <configuration>
  134. <failOnMissingWebXml>false</failOnMissingWebXml>
  135. <warName>${project.artifactId}</warName>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-resources-plugin</artifactId>
  141. <configuration>
  142. <nonFilteredFileExtensions>
  143. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  144. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  145. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  146. <nonFilteredFileExtension>zip</nonFilteredFileExtension>
  147. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  148. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  149. <nonFilteredFileExtension>py</nonFilteredFileExtension>
  150. </nonFilteredFileExtensions>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. <finalName>${project.artifactId}</finalName>
  155. <resources>
  156. <resource>
  157. <directory>src/main/resources</directory>
  158. <includes>
  159. <include>application.yml</include>
  160. <include>**/*</include>
  161. </includes>
  162. <filtering>true</filtering>
  163. </resource>
  164. </resources>
  165. </build>
  166. </project>