pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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.1.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.fd</groupId>
  12. <artifactId>gis_cesium</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>gis_cesium</name>
  15. <packaging>war</packaging>
  16. <description>Demo project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
  22. <swagger2.version>2.9.2</swagger2.version>
  23. <lang3.version>3.7</lang3.version>
  24. <druid.version>1.1.14</druid.version>
  25. <redis.version>2.0.0.RELEASE</redis.version>
  26. <jedis.version>2.9.0</jedis.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <!--swagger2核心包和swagger-ui界面包-->
  44. <!--<dependency>-->
  45. <!--<groupId>io.springfox</groupId>-->
  46. <!--<artifactId>springfox-swagger2</artifactId>-->
  47. <!--<version>${swagger2.version}</version>-->
  48. <!--</dependency>-->
  49. <!--<dependency>-->
  50. <!--<groupId>io.springfox</groupId>-->
  51. <!--<artifactId>springfox-swagger-ui</artifactId>-->
  52. <!--<version>${swagger2.version}</version>-->
  53. <!--</dependency>-->
  54. <!-- knife4j aip 包-->
  55. <dependency>
  56. <groupId>com.github.xiaoymin</groupId>
  57. <artifactId>knife4j-spring-boot-starter</artifactId>
  58. <version>2.0.2</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-jpa</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>mysql</groupId>
  66. <artifactId>mysql-connector-java</artifactId>
  67. </dependency>
  68. <!--StringUtils -->
  69. <dependency>
  70. <groupId>org.apache.commons</groupId>
  71. <artifactId>commons-lang3</artifactId>
  72. <version>${lang3.version}</version>
  73. </dependency>
  74. <!-- Alibaba fastjson-->
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>fastjson</artifactId>
  78. <!--<version>1.2.49</version>-->
  79. <version>1.2.51</version>
  80. </dependency>
  81. <!--阿里数据库连接池 -->
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>druid-spring-boot-starter</artifactId>
  85. <version>${druid.version}</version>
  86. </dependency>
  87. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.6</version>
  92. </dependency>
  93. <!-- shiro -->
  94. <dependency>
  95. <groupId>org.apache.shiro</groupId>
  96. <artifactId>shiro-spring</artifactId>
  97. <version>1.4.0</version>
  98. </dependency>
  99. <!-- jwt -->
  100. <dependency>
  101. <groupId>com.auth0</groupId>
  102. <artifactId>java-jwt</artifactId>
  103. <version>3.2.0</version>
  104. </dependency>
  105. <!--springboot中的redis依赖-->
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-data-redis</artifactId>
  109. <!--<version>${redis.version}</version>-->
  110. </dependency>
  111. <!-- 工具类 -->
  112. <dependency>
  113. <groupId>cn.hutool</groupId>
  114. <artifactId>hutool-all</artifactId>
  115. <version>5.1.0</version>
  116. </dependency>
  117. </dependencies>
  118. <build>
  119. <plugins>
  120. <!--需要这样配置才能打包-->
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-compiler-plugin</artifactId>
  124. <version>3.1</version>
  125. <configuration>
  126. <source>${java.version}</source>
  127. <target>${java.version}</target>
  128. </configuration>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-surefire-plugin</artifactId>
  133. <version>${maven-surefire-plugin.version}</version>
  134. <configuration>
  135. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  136. </configuration>
  137. </plugin>
  138. </plugins>
  139. <!--jar default name -->
  140. <finalName>cesium</finalName>
  141. </build>
  142. </project>