pom.xml 4.1 KB

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