pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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.3.5.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.ebei</groupId>
  12. <artifactId>screen</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>screen</name>
  15. <description>金鹰数据大屏</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <knife4j.version>3.0.2</knife4j.version>
  19. <fastjson.version>1.2.75</fastjson.version>
  20. <hutool-all.version>5.4.7</hutool-all.version>
  21. <easyexcel.version>2.2.6</easyexcel.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. <exclusions><!-- 去掉springboot默认配置 -->
  28. <exclusion>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-logging</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency> <!-- 引入log4j2依赖 -->
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-log4j2</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-aop</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-redis</artifactId>
  49. <exclusions>
  50. <exclusion>
  51. <groupId>redis.clients</groupId>
  52. <artifactId>jedis</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <artifactId>lettuce-core</artifactId>
  56. <groupId>io.lettuce</groupId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>redis.clients</groupId>
  62. <artifactId>jedis</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-configuration-processor</artifactId>
  67. <optional>true</optional>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <optional>true</optional>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.github.xiaoymin</groupId>
  76. <artifactId>knife4j-spring-boot-starter</artifactId>
  77. <version>${knife4j.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>fastjson</artifactId>
  82. <version>${fastjson.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>cn.hutool</groupId>
  86. <artifactId>hutool-all</artifactId>
  87. <version>${hutool-all.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.alibaba</groupId>
  91. <artifactId>easyexcel</artifactId>
  92. <version>${easyexcel.version}</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <finalName>screen</finalName>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <configuration>
  102. <mainClass>com.ebei.screen.ScreenApplication</mainClass>
  103. <layout>ZIP</layout>
  104. <includes>
  105. <include>
  106. <!-- 排除所有Jar -->
  107. <groupId>nothing</groupId>
  108. <artifactId>nothing</artifactId>
  109. </include>
  110. </includes>
  111. </configuration>
  112. <executions>
  113. <execution>
  114. <goals>
  115. <goal>repackage</goal>
  116. </goals>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-compiler-plugin</artifactId>
  123. <configuration>
  124. <source>1.8</source>
  125. <target>1.8</target>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>