You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

167 lines
5.7 KiB

  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>rwk</artifactId>
  7. <groupId>com.rwk</groupId>
  8. <version>4.7.9</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>rwk-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.dameng</groupId>
  47. <artifactId>Dm8JdbcDriver18</artifactId>
  48. <version>8.1.1.49</version>
  49. </dependency>
  50. <!-- 核心模块-->
  51. <dependency>
  52. <groupId>com.rwk</groupId>
  53. <artifactId>rwk-framework</artifactId>
  54. </dependency>
  55. <!-- 定时任务-->
  56. <dependency>
  57. <groupId>com.rwk</groupId>
  58. <artifactId>rwk-quartz</artifactId>
  59. </dependency>
  60. <!-- 代码生成-->
  61. <dependency>
  62. <groupId>com.rwk</groupId>
  63. <artifactId>rwk-generator</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <scope>test</scope>
  69. <version>2.5.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.h2database</groupId>
  73. <artifactId>h2</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.junit.vintage</groupId>
  78. <artifactId>junit-vintage-engine</artifactId>
  79. <scope>test</scope>
  80. <exclusions>
  81. <exclusion>
  82. <groupId>org.hamcrest</groupId>
  83. <artifactId>hamcrest-core</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. <version>2.5.15</version>
  94. <configuration>
  95. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  96. </configuration>
  97. <executions>
  98. <execution>
  99. <goals>
  100. <goal>repackage</goal>
  101. </goals>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-war-plugin</artifactId>
  108. <version>3.0.0</version>
  109. <configuration>
  110. <failOnMissingWebXml>false</failOnMissingWebXml>
  111. <warName>${project.artifactId}</warName>
  112. </configuration>
  113. </plugin>
  114. <!-- YUI Compressor (CSS/JS压缩)
  115. <plugin>
  116. <groupId>net.alchim31.maven</groupId>
  117. <artifactId>yuicompressor-maven-plugin</artifactId>
  118. <version>1.5.1</version>
  119. <executions>
  120. <execution>
  121. <phase>prepare-package</phase>
  122. <goals>
  123. <goal>compress</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. <configuration>
  128. <encoding>UTF-8</encoding>
  129. <jswarn>false</jswarn>
  130. <nosuffix>true</nosuffix>
  131. <linebreakpos>50000</linebreakpos>
  132. <sourceDirectory>src/main/resources/static</sourceDirectory>
  133. <force>true</force>
  134. <includes>
  135. <include>**/*.js</include>
  136. <include>**/*.css</include>
  137. </includes>
  138. <excludes>
  139. <exclude>**/*.min.js</exclude>
  140. <exclude>**/*.min.css</exclude>
  141. <exclude>**/fileinput.js</exclude>
  142. <exclude>**/validate/**</exclude>
  143. <exclude>**/bootstrap-table/**</exclude>
  144. </excludes>
  145. </configuration>
  146. </plugin> -->
  147. </plugins>
  148. <finalName>${project.artifactId}</finalName>
  149. </build>
  150. </project>