pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.1</version>
  9. <relativePath/>
  10. </parent>
  11. <groupId>com.dashboard</groupId>
  12. <artifactId>dashboard</artifactId>
  13. <version>1.0.1</version>
  14. <packaging>jar</packaging>
  15. <name>omes-dashboard</name>
  16. <description>omes-dashboard</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <fastjson.version>1.2.83</fastjson.version>
  20. <mybatis.version>3.5.2</mybatis.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <maven.compiler.source>1.8</maven.compiler.source>
  23. <maven.compiler.target>1.8</maven.compiler.target>
  24. <junit.version>4.13</junit.version>
  25. <pagehelper.boot.version>1.4.2</pagehelper.boot.version>
  26. <bitwalker.version>1.21</bitwalker.version>
  27. <okhttp.version>4.9.0</okhttp.version>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.springfox</groupId>
  36. <artifactId>springfox-boot-starter</artifactId>
  37. <version>3.0.0</version>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-models</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.projectlombok</groupId>
  47. <artifactId>lombok</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  51. <dependency>
  52. <groupId>io.swagger</groupId>
  53. <artifactId>swagger-models</artifactId>
  54. <version>1.6.2</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <!-- spring security 安全认证-->
  62. <!-- <dependency>-->
  63. <!-- <groupId>org.springframework.boot</groupId>-->
  64. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  65. <!-- </dependency>-->
  66. <!-- 阿里JSON解析器 -->
  67. <dependency>
  68. <groupId>com.alibaba</groupId>
  69. <artifactId>fastjson</artifactId>
  70. <version>${fastjson.version}</version>
  71. </dependency>
  72. <!-- 解析客户端操作系统、浏览器等 -->
  73. <dependency>
  74. <groupId>eu.bitwalker</groupId>
  75. <artifactId>UserAgentUtils</artifactId>
  76. <version>${bitwalker.version}</version>
  77. </dependency>
  78. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  79. <dependency>
  80. <groupId>com.baomidou</groupId>
  81. <artifactId>mybatis-plus-boot-starter</artifactId>
  82. <version>${mybatis.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.baomidou</groupId>
  86. <artifactId>mybatis-plus-generator</artifactId>
  87. <version>3.4.1</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.freemarker</groupId>
  91. <artifactId>freemarker</artifactId>
  92. <version>2.3.31</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. <scope>runtime</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>io.jsonwebtoken</groupId>
  101. <artifactId>jjwt</artifactId>
  102. <version>0.9.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.commons</groupId>
  106. <artifactId>commons-lang3</artifactId>
  107. </dependency>
  108. <!-- redis 缓存操作 -->
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-data-redis</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>junit</groupId>
  115. <artifactId>junit</artifactId>
  116. <version>${junit.version}</version>
  117. <scope>test</scope>
  118. </dependency>
  119. <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
  120. <dependency>
  121. <groupId>org.aspectj</groupId>
  122. <artifactId>aspectjweaver</artifactId>
  123. <version>1.9.9.1</version>
  124. <scope>runtime</scope>
  125. </dependency>
  126. <!-- pagehelper 分页插件 -->
  127. <dependency>
  128. <groupId>com.github.pagehelper</groupId>
  129. <artifactId>pagehelper-spring-boot-starter</artifactId>
  130. <version>${pagehelper.boot.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.squareup.okhttp3</groupId>
  134. <artifactId>okhttp</artifactId>
  135. <version>${okhttp.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.squareup.okhttp3</groupId>
  139. <artifactId>logging-interceptor</artifactId>
  140. <version>${okhttp.version}</version>
  141. </dependency>
  142. </dependencies>
  143. <build>
  144. <plugins>
  145. <plugin>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-maven-plugin</artifactId>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. </project>