pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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 http://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.4.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jkcredit</groupId>
  12. <artifactId>car-credit</artifactId>
  13. <version>1.0</version>
  14. <name>car-credit</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. <optional>true</optional>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.alibaba</groupId>
  38. <artifactId>fastjson</artifactId>
  39. <version>1.2.58</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.httpcomponents</groupId>
  43. <artifactId>httpclient</artifactId>
  44. <version>4.5.3</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.commons</groupId>
  48. <artifactId>commons-lang3</artifactId>
  49. <version>3.9</version>
  50. </dependency>
  51. <!-- &lt;!&ndash;web 模块&ndash;&gt;-->
  52. <!-- <dependency>-->
  53. <!-- <groupId>org.springframework.boot</groupId>-->
  54. <!-- <artifactId>spring-boot-starter-web</artifactId>-->
  55. <!-- <exclusions>-->
  56. <!-- &lt;!&ndash;排除tomcat依赖&ndash;&gt;-->
  57. <!-- <exclusion>-->
  58. <!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
  59. <!-- <groupId>org.springframework.boot</groupId>-->
  60. <!-- </exclusion>-->
  61. <!-- </exclusions>-->
  62. <!-- </dependency>-->
  63. <!-- &lt;!&ndash;undertow容器&ndash;&gt;-->
  64. <!-- <dependency>-->
  65. <!-- <groupId>org.springframework.boot</groupId>-->
  66. <!-- <artifactId>spring-boot-starter-undertow</artifactId>-->
  67. <!-- </dependency>-->
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. <repositories><!-- 代码库 -->
  78. <repository>
  79. <id>maven-ali</id>
  80. <url>http://maven.aliyun.com/nexus/content/groups/public//</url>
  81. <releases>
  82. <enabled>true</enabled>
  83. </releases>
  84. <snapshots>
  85. <enabled>true</enabled>
  86. <updatePolicy>always</updatePolicy>
  87. <checksumPolicy>fail</checksumPolicy>
  88. </snapshots>
  89. </repository>
  90. </repositories>
  91. </project>