pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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>lb-server</artifactId>
  7. <groupId>com.ydd</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>lb-web</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.5.21</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>io.swagger</groupId>
  32. <artifactId>swagger-models</artifactId>
  33. <version>1.5.21</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.ydd</groupId>
  47. <artifactId>lb-module</artifactId>
  48. <version>1.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.ydd</groupId>
  52. <artifactId>lb-framework</artifactId>
  53. <version>1.0</version>
  54. </dependency>
  55. <!-- 核心模块-->
  56. <dependency>
  57. <groupId>com.ydd</groupId>
  58. <artifactId>ydd-generator</artifactId>
  59. <version>${ydd.version}</version>
  60. <scope>system</scope>
  61. <systemPath>${project.basedir}/src/main/resources/libs/ydd-generator-3.3.0.jar</systemPath>
  62. </dependency>
  63. <!-- 核心模块-->
  64. <dependency>
  65. <groupId>com.ydd</groupId>
  66. <artifactId>ydd-quartz</artifactId>
  67. <version>${ydd.version}</version>
  68. <scope>system</scope>
  69. <systemPath>${project.basedir}/src/main/resources/libs/ydd-quartz-3.3.0.jar</systemPath>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.ydd</groupId>
  73. <artifactId>lb-system</artifactId>
  74. <version>${yy.version}</version>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>com.ydd</groupId>
  78. <artifactId>com.ydd:ydd-framework:3.3.0</artifactId>
  79. </exclusion>
  80. </exclusions>
  81. </dependency>
  82. </dependencies>
  83. <!-- <build>-->
  84. <!-- <plugins>-->
  85. <!-- <plugin>-->
  86. <!-- <groupId>org.springframework.boot</groupId>-->
  87. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  88. <!-- <version>2.1.1.RELEASE</version>-->
  89. <!-- <configuration>-->
  90. <!-- <fork>true</fork> &lt;!&ndash; 如果没有该配置,devtools不会生效 &ndash;&gt;-->
  91. <!-- </configuration>-->
  92. <!-- <executions>-->
  93. <!-- <execution>-->
  94. <!-- <goals>-->
  95. <!-- <goal>repackage</goal>-->
  96. <!-- </goals>-->
  97. <!-- </execution>-->
  98. <!-- </executions>-->
  99. <!-- </plugin>-->
  100. <!-- <plugin>-->
  101. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  102. <!-- <artifactId>maven-war-plugin</artifactId>-->
  103. <!-- <version>3.1.0</version>-->
  104. <!-- <configuration>-->
  105. <!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
  106. <!-- <warName>${project.artifactId}</warName>-->
  107. <!-- </configuration>-->
  108. <!-- </plugin>-->
  109. <!-- </plugins>-->
  110. <!-- <finalName>${project.artifactId}</finalName>-->
  111. <!-- </build>-->
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <version>2.1.1.RELEASE</version>
  118. <configuration>
  119. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  120. <includeSystemScope>true</includeSystemScope>
  121. </configuration>
  122. <executions>
  123. <execution>
  124. <goals>
  125. <goal>repackage</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-war-plugin</artifactId>
  133. <version>3.1.0</version>
  134. <configuration>
  135. <failOnMissingWebXml>false</failOnMissingWebXml>
  136. <warName>${project.artifactId}</warName>
  137. </configuration>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-resources-plugin</artifactId>
  142. <configuration>
  143. <nonFilteredFileExtensions>
  144. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  145. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  146. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  147. <nonFilteredFileExtension>zip</nonFilteredFileExtension>
  148. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  149. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  150. <nonFilteredFileExtension>py</nonFilteredFileExtension>
  151. </nonFilteredFileExtensions>
  152. </configuration>
  153. </plugin>
  154. </plugins>
  155. <finalName>${project.artifactId}</finalName>
  156. <resources>
  157. <resource>
  158. <directory>src/main/resources</directory>
  159. <includes>
  160. <include>application.yml</include>
  161. <include>**/*</include>
  162. </includes>
  163. <filtering>true</filtering>
  164. </resource>
  165. </resources>
  166. </build>
  167. </project>