pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.pj</groupId>
  5. <artifactId>sp-com</artifactId>
  6. <packaging>pom</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <modules>
  9. <!-- 核心模块 -->
  10. <module>sp-core</module>
  11. <!-- Sa-plus内置的代码模块 -->
  12. <module>sp-admin</module>
  13. <!-- 启动类模块 -->
  14. <module>sp-start</module>
  15. <!-- 其它模块,一些杂七杂八 -->
  16. <module>sp-more</module>
  17. </modules>
  18. <!-- SpringBoot -->
  19. <parent>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-parent</artifactId>
  22. <version>2.3.3.RELEASE</version>
  23. </parent>
  24. <!-- 指定一些属性 -->
  25. <properties>
  26. <java.version>1.8</java.version>
  27. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  28. </properties>
  29. <dependencies>
  30. <!-- SpringBoot 依赖 -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-aop</artifactId>
  38. </dependency>
  39. <!-- SpringBoot 集成 mybatis-plus -->
  40. <dependency>
  41. <groupId>com.baomidou</groupId>
  42. <artifactId>mybatis-plus-boot-starter</artifactId>
  43. <version>3.3.2</version>
  44. </dependency>
  45. <!-- pagehelper分页插件 -->
  46. <dependency>
  47. <groupId>com.github.pagehelper</groupId>
  48. <artifactId>pagehelper-spring-boot-starter</artifactId>
  49. <version>1.2.13</version>
  50. </dependency>
  51. <!-- mysql -->
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. </dependency>
  56. <!-- 阿里 druid 连接池 -->
  57. <dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>druid-spring-boot-starter</artifactId>
  60. <version>1.1.10</version>
  61. </dependency>
  62. <!-- 神器lombok插件 -->
  63. <dependency>
  64. <groupId>org.projectlombok</groupId>
  65. <artifactId>lombok</artifactId>
  66. <optional>true</optional>
  67. </dependency>
  68. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  69. <dependency>
  70. <groupId>cn.dev33</groupId>
  71. <artifactId>sa-token-spring-boot-starter</artifactId>
  72. <version>1.29.0</version>
  73. </dependency>
  74. <!-- Sa-Token 整合 Redis (使用jackson序列化方式) -->
  75. <dependency>
  76. <groupId>cn.dev33</groupId>
  77. <artifactId>sa-token-dao-redis-jackson</artifactId>
  78. <version>1.29.0</version>
  79. </dependency>
  80. <!-- 工具类大全 - 在线文档:https://hutool.cn/docs/#/ -->
  81. <dependency>
  82. <groupId>cn.hutool</groupId>
  83. <artifactId>hutool-all</artifactId>
  84. <version>5.7.15</version>
  85. </dependency>
  86. <!-- User-Agent 解析 -->
  87. <dependency>
  88. <groupId>eu.bitwalker</groupId>
  89. <artifactId>UserAgentUtils</artifactId>
  90. <version>1.21</version>
  91. </dependency>
  92. <!-- OkHttps网络请求库: http://okhttps.ejlchina.com/ -->
  93. <dependency>
  94. <groupId>com.ejlchina</groupId>
  95. <artifactId>okhttps</artifactId>
  96. <version>3.2.0</version>
  97. </dependency>
  98. <!-- redis java客户端jar包 -->
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-data-redis</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.commons</groupId>
  105. <artifactId>commons-pool2</artifactId>
  106. </dependency>
  107. <!--Alijson插件-->
  108. <dependency>
  109. <groupId>com.alibaba</groupId>
  110. <artifactId>fastjson</artifactId>
  111. <version>1.2.73</version>
  112. </dependency>
  113. <!-- ConfigurationProperties -->
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-configuration-processor</artifactId>
  117. <optional>true</optional>
  118. </dependency>
  119. </dependencies>
  120. <!-- 构建配置 -->
  121. <build>
  122. <!-- 配置资源目录 -->
  123. <resources>
  124. <resource>
  125. <directory>src/main/java</directory>
  126. <includes>
  127. <include>**/*.xml</include>
  128. </includes>
  129. </resource>
  130. <resource>
  131. <directory>src/main/resources</directory>
  132. <includes>
  133. <include>**/*.*</include>
  134. </includes>
  135. </resource>
  136. </resources>
  137. </build>
  138. </project>