pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-data-jpa</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. </dependency>
  62. <!--StringUtils -->
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-lang3</artifactId>
  66. <version>${lang3.version}</version>
  67. </dependency>
  68. <!-- Alibaba fastjson-->
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>fastjson</artifactId>
  72. <!--<version>1.2.49</version>-->
  73. <version>1.2.51</version>
  74. </dependency>
  75. <!--阿里数据库连接池 -->
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>druid-spring-boot-starter</artifactId>
  79. <version>${druid.version}</version>
  80. </dependency>
  81. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  82. <dependency>
  83. <groupId>commons-io</groupId>
  84. <artifactId>commons-io</artifactId>
  85. <version>2.6</version>
  86. </dependency>
  87. <!-- shiro -->
  88. <dependency>
  89. <groupId>org.apache.shiro</groupId>
  90. <artifactId>shiro-spring</artifactId>
  91. <version>1.4.0</version>
  92. </dependency>
  93. <!--&lt;!&ndash; shiro+redis缓存插件 &ndash;&gt;-->
  94. <!--<dependency>-->
  95. <!--<groupId>org.crazycake</groupId>-->
  96. <!--<artifactId>shiro-redis</artifactId>-->
  97. <!--<version>2.4.2.1-RELEASE</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. <!--<dependency>-->
  112. <!--<groupId>redis.clients</groupId>-->
  113. <!--<artifactId>jedis</artifactId>-->
  114. <!--<version>${jedis.version}</version>-->
  115. <!--</dependency>-->
  116. <!-- 工具类 -->
  117. <dependency>
  118. <groupId>cn.hutool</groupId>
  119. <artifactId>hutool-all</artifactId>
  120. <version>5.1.0</version>
  121. </dependency>
  122. </dependencies>
  123. <build>
  124. <plugins>
  125. <!--需要这样配置才能打包-->
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-compiler-plugin</artifactId>
  129. <version>3.1</version>
  130. <configuration>
  131. <source>${java.version}</source>
  132. <target>${java.version}</target>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-surefire-plugin</artifactId>
  138. <version>${maven-surefire-plugin.version}</version>
  139. <configuration>
  140. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  141. </configuration>
  142. </plugin>
  143. </plugins>
  144. <!--jar default name -->
  145. <finalName>cesium</finalName>
  146. </build>
  147. </project>