pom.xml 6.3 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>ruoyi</artifactId>
  7. <groupId>com.ruoyi</groupId>
  8. <version>3.8.7</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>ruoyi-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <!-- swagger3
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. </dependency>
  28. -->
  29. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本
  30. <dependency>
  31. <groupId>io.swagger</groupId>
  32. <artifactId>swagger-models</artifactId>
  33. <version>1.6.2</version>
  34. </dependency>
  35. -->
  36. <!--
  37. Mysql驱动包
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. </dependency>
  42. -->
  43. <!--
  44. 人大金仓数库驱动包
  45. 安装目录下找驱动包:C:\software\Kingbase\ES\V8\KESRealPro\V008R006C008B0014\Interface\jdbc
  46. 安装取到到本地仓库
  47. mvn install:install-file -DgroupId=com.kingbase8 -DartifactId=kingbase8 -Dversion=8.6.0 -Dfile=C:\Users\15753\.m2\repository\com\kingbase8\kingbase8\8.6.0_back\Kingbase8-8.6.0.jar -Dpackaging=jar -DgeneratePom=true
  48. mvn install:install-file -DgroupId=com.kingbase8 -DartifactId=kingbase8 -Dversion=8.6.0 -Dfile=C:\test\kingbase8-8.6.0.jar -Dpackaging=jar -DgeneratePom=true
  49. -->
  50. <dependency>
  51. <groupId>com.kingbase8</groupId>
  52. <artifactId>kingbase8</artifactId>
  53. <version>8.6.0</version>
  54. </dependency>
  55. <!-- mybatis plus-->
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatis-plus-boot-starter</artifactId>
  59. <version>3.5.1</version>
  60. </dependency>
  61. <!-- 核心模块-->
  62. <dependency>
  63. <groupId>com.ruoyi</groupId>
  64. <artifactId>ruoyi-framework</artifactId>
  65. </dependency>
  66. <!-- 定时任务-->
  67. <dependency>
  68. <groupId>com.ruoyi</groupId>
  69. <artifactId>ruoyi-quartz</artifactId>
  70. </dependency>
  71. <!-- 代码生成-->
  72. <dependency>
  73. <groupId>com.ruoyi</groupId>
  74. <artifactId>ruoyi-generator</artifactId>
  75. </dependency>
  76. <!--岗检模块-->
  77. <dependency>
  78. <groupId>com.ruoyi</groupId>
  79. <artifactId>ruoyi-postcheck</artifactId>
  80. </dependency>
  81. <!-- 岗检模块
  82. <dependency>
  83. <groupId>com.ruoyi</groupId>
  84. <artifactId>ruoyi-postcheck</artifactId>
  85. </dependency>
  86. -->
  87. <!--<version>3.1.5</version>-->
  88. <!--<version>3.0.5</version>-->
  89. <!--
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>easyexcel</artifactId>
  93. <version>3.3.3</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>easyexcel-core</artifactId>
  98. <version>3.3.3</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.alibaba</groupId>
  102. <artifactId>easyexcel-support</artifactId>
  103. <version>3.3.3</version>
  104. </dependency>
  105. -->
  106. <dependency>
  107. <groupId>org.apache.pdfbox</groupId>
  108. <artifactId>pdfbox</artifactId>
  109. <version>2.0.31</version>
  110. </dependency>
  111. </dependencies>
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <version>2.5.15</version>
  118. <configuration>
  119. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  120. <!--
  121. 默认spring-boot打包插件是不会将本地依赖jar文件打进部署包的
  122. <includeSystemScope>true</includeSystemScope>
  123. -->
  124. </configuration>
  125. <executions>
  126. <execution>
  127. <goals>
  128. <goal>repackage</goal>
  129. </goals>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-war-plugin</artifactId>
  136. <version>3.1.0</version>
  137. <configuration>
  138. <failOnMissingWebXml>false</failOnMissingWebXml>
  139. <warName>${project.artifactId}</warName>
  140. </configuration>
  141. </plugin>
  142. <!--打包排除指定的配置文件-->
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-jar-plugin</artifactId>
  146. <version>2.4</version>
  147. <configuration>
  148. <excludes>
  149. <!--不需要打到JAR包中的配合文件名字,默认置位是resource下-->
  150. <exclude>application.yml</exclude>
  151. <exclude>application-cas-dev.yml</exclude>
  152. <exclude>application-cas-test.yml</exclude>
  153. <exclude>application-druid-dev.yml</exclude>
  154. <exclude>application-druid-test.yml</exclude>
  155. </excludes>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. <!--<finalName>${project.artifactId}</finalName>-->
  160. <finalName>post-check</finalName>
  161. </build>
  162. </project>