pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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>nlac</artifactId>
  7. <groupId>com.nlac</groupId>
  8. <version>4.7.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>war</packaging>
  12. <artifactId>nlac-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-boot-devtools -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-devtools</artifactId>
  26. <optional>true</optional> <!-- 表示依赖不会传递 -->
  27. </dependency>
  28. <!-- swagger3-->
  29. <dependency>
  30. <groupId>io.springfox</groupId>
  31. <artifactId>springfox-boot-starter</artifactId>
  32. </dependency>
  33. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  34. <dependency>
  35. <groupId>io.swagger</groupId>
  36. <artifactId>swagger-models</artifactId>
  37. <version>1.6.2</version>
  38. </dependency>
  39. <!-- Mysql驱动包 -->
  40. <dependency>
  41. <groupId>mysql</groupId>
  42. <artifactId>mysql-connector-java</artifactId>
  43. </dependency>
  44. <!-- 核心模块-->
  45. <dependency>
  46. <groupId>com.nlac</groupId>
  47. <artifactId>nlac-framework</artifactId>
  48. </dependency>
  49. <!-- 定时任务-->
  50. <dependency>
  51. <groupId>com.nlac</groupId>
  52. <artifactId>nlac-quartz</artifactId>
  53. </dependency>
  54. <!-- 代码生成-->
  55. <dependency>
  56. <groupId>com.nlac</groupId>
  57. <artifactId>nlac-generator</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.dameng</groupId>
  61. <artifactId>Dm7JdbcDriver17</artifactId>
  62. <version>7.6.0.77</version>
  63. </dependency>
  64. <!-- 图像依赖 -->
  65. <dependency>
  66. <groupId>cn.hutool</groupId>
  67. <artifactId>hutool-all</artifactId>
  68. <version>4.6.1</version>
  69. </dependency>
  70. <!-- 图像依赖 -->
  71. <dependency>
  72. <groupId>org.apache.commons</groupId>
  73. <artifactId>commons-pool2</artifactId>
  74. <version>2.6.0</version>
  75. </dependency>
  76. <!-- 图像依赖 -->
  77. <dependency>
  78. <groupId>com.google.guava</groupId>
  79. <artifactId>guava</artifactId>
  80. <version>26.0-jre</version>
  81. </dependency>
  82. <!-- 图像 -->
  83. <dependency>
  84. <groupId>org.jbarcode</groupId>
  85. <artifactId>jbarcode</artifactId>
  86. <version>3.0.0.0</version>
  87. </dependency>
  88. <!--websevice需要的依赖(cxf)-->
  89. <dependency>
  90. <groupId>org.apache.cxf</groupId>
  91. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  92. <version>3.1.6</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.cxf</groupId>
  96. <artifactId>cxf-rt-transports-http</artifactId>
  97. <version>3.1.6</version>
  98. </dependency>
  99. <!-- spring-boot-starter-test -->
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-test</artifactId>
  103. <optional>true</optional> <!-- 表示依赖不会传递 -->
  104. </dependency>
  105. <!-- xml解析使用 -->
  106. <dependency>
  107. <groupId>dom4j</groupId>
  108. <artifactId>dom4j</artifactId>
  109. <version>1.6.1</version>
  110. </dependency>
  111. <!--drone模块-->
  112. <dependency>
  113. <groupId>com.nlac</groupId>
  114. <artifactId>nlac-drone</artifactId>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. <version>2.1.1.RELEASE</version>
  123. <configuration>
  124. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  125. </configuration>
  126. <executions>
  127. <execution>
  128. <goals>
  129. <goal>repackage</goal>
  130. </goals>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-war-plugin</artifactId>
  137. <version>3.0.0</version>
  138. <configuration>
  139. <failOnMissingWebXml>false</failOnMissingWebXml>
  140. <warName>${project.artifactId}</warName>
  141. </configuration>
  142. </plugin>
  143. <!-- YUI Compressor (CSS/JS压缩)
  144. <plugin>
  145. <groupId>net.alchim31.maven</groupId>
  146. <artifactId>yuicompressor-maven-plugin</artifactId>
  147. <version>1.5.1</version>
  148. <executions>
  149. <execution>
  150. <phase>prepare-package</phase>
  151. <goals>
  152. <goal>compress</goal>
  153. </goals>
  154. </execution>
  155. </executions>
  156. <configuration>
  157. <encoding>UTF-8</encoding>
  158. <jswarn>false</jswarn>
  159. <nosuffix>true</nosuffix>
  160. <linebreakpos>50000</linebreakpos>
  161. <sourceDirectory>src/main/resources/static</sourceDirectory>
  162. <force>true</force>
  163. <includes>
  164. <include>**/*.js</include>
  165. <include>**/*.css</include>
  166. </includes>
  167. <excludes>
  168. <exclude>**/*.min.js</exclude>
  169. <exclude>**/*.min.css</exclude>
  170. <exclude>**/fileinput.js</exclude>
  171. <exclude>**/bootstrap-table/**</exclude>
  172. </excludes>
  173. </configuration>
  174. </plugin> -->
  175. </plugins>
  176. <finalName>${project.artifactId}</finalName>
  177. </build>
  178. </project>