pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. <optional>true</optional>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <!--swagger2核心包和swagger-ui界面包-->
  42. <dependency>
  43. <groupId>io.springfox</groupId>
  44. <artifactId>springfox-swagger2</artifactId>
  45. <version>${swagger2.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>io.springfox</groupId>
  49. <artifactId>springfox-swagger-ui</artifactId>
  50. <version>${swagger2.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-data-jpa</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>mysql</groupId>
  58. <artifactId>mysql-connector-java</artifactId>
  59. </dependency>
  60. <!--StringUtils -->
  61. <dependency>
  62. <groupId>org.apache.commons</groupId>
  63. <artifactId>commons-lang3</artifactId>
  64. <version>${lang3.version}</version>
  65. </dependency>
  66. <!-- Alibaba fastjson-->
  67. <dependency>
  68. <groupId>com.alibaba</groupId>
  69. <artifactId>fastjson</artifactId>
  70. <!--<version>1.2.49</version>-->
  71. <version>1.2.51</version>
  72. </dependency>
  73. <!--阿里数据库连接池 -->
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>druid-spring-boot-starter</artifactId>
  77. <version>${druid.version}</version>
  78. </dependency>
  79. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  80. <dependency>
  81. <groupId>commons-io</groupId>
  82. <artifactId>commons-io</artifactId>
  83. <version>2.6</version>
  84. </dependency>
  85. <!-- shiro -->
  86. <dependency>
  87. <groupId>org.apache.shiro</groupId>
  88. <artifactId>shiro-spring</artifactId>
  89. <version>1.4.0</version>
  90. </dependency>
  91. <!-- jwt -->
  92. <dependency>
  93. <groupId>com.auth0</groupId>
  94. <artifactId>java-jwt</artifactId>
  95. <version>3.2.0</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <!--需要这样配置才能打包-->
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-compiler-plugin</artifactId>
  104. <version>3.1</version>
  105. <configuration>
  106. <source>${java.version}</source>
  107. <target>${java.version}</target>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-surefire-plugin</artifactId>
  113. <version>${maven-surefire-plugin.version}</version>
  114. <configuration>
  115. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. <!--jar default name -->
  120. <finalName>cesium</finalName>
  121. </build>
  122. </project>