pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  29. <dependency>
  30. <groupId>io.swagger</groupId>
  31. <artifactId>swagger-models</artifactId>
  32. <version>1.6.2</version>
  33. </dependency>
  34. <!--
  35. Mysql驱动包
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. </dependency>
  40. -->
  41. <!--
  42. 人大金仓数库驱动包
  43. 安装目录下找驱动包:C:\software\Kingbase\ES\V8\KESRealPro\V008R006C008B0014\Interface\jdbc
  44. 安装取到到本地仓库
  45. 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
  46. -->
  47. <dependency>
  48. <groupId>com.kingbase8</groupId>
  49. <artifactId>kingbase8</artifactId>
  50. <version>8.6.0</version>
  51. </dependency>
  52. <!-- mybatis plus-->
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>3.5.1</version>
  57. </dependency>
  58. <!-- 核心模块-->
  59. <dependency>
  60. <groupId>com.ruoyi</groupId>
  61. <artifactId>ruoyi-framework</artifactId>
  62. </dependency>
  63. <!-- 定时任务-->
  64. <dependency>
  65. <groupId>com.ruoyi</groupId>
  66. <artifactId>ruoyi-quartz</artifactId>
  67. </dependency>
  68. <!-- 代码生成-->
  69. <dependency>
  70. <groupId>com.ruoyi</groupId>
  71. <artifactId>ruoyi-generator</artifactId>
  72. </dependency>
  73. <!--岗检模块-->
  74. <dependency>
  75. <groupId>com.ruoyi</groupId>
  76. <artifactId>ruoyi-postcheck</artifactId>
  77. </dependency>
  78. <!-- 岗检模块
  79. <dependency>
  80. <groupId>com.ruoyi</groupId>
  81. <artifactId>ruoyi-postcheck</artifactId>
  82. </dependency>
  83. -->
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <version>2.5.15</version>
  91. <configuration>
  92. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <goals>
  97. <goal>repackage</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-war-plugin</artifactId>
  105. <version>3.1.0</version>
  106. <configuration>
  107. <failOnMissingWebXml>false</failOnMissingWebXml>
  108. <warName>${project.artifactId}</warName>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. <finalName>${project.artifactId}</finalName>
  113. </build>
  114. </project>