pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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.7.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.sooka</groupId>
  12. <artifactId>test-api</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <name>test-api</name>
  16. <description>testAPI</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. <!-- 编译时的编码 -->
  22. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>com.sooka.jersey</groupId>
  27. <artifactId>sooka-jersey</artifactId>
  28. <version>0.0.1-SNAPSHOT</version>
  29. <!--<groupId>com.sun.jersey</groupId>-->
  30. <!--<artifactId>jersey-client</artifactId>-->
  31. <!--<version>1.19</version>-->
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.baomidou</groupId>
  44. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  45. <!--<version>RELEASE</version>-->
  46. <!--<groupId>com.baomidou</groupId>-->
  47. <!--<artifactId>mybatis-plus-boot-starter</artifactId>-->
  48. <version>3.3.1</version>
  49. </dependency>
  50. <!--war-->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-tomcat</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>javax.servlet</groupId>
  63. <artifactId>javax.servlet-api</artifactId>
  64. <scope>provided</scope>
  65. </dependency>
  66. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>httpcore</artifactId>
  70. <version>4.4.10</version>
  71. </dependency>
  72. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  73. <dependency>
  74. <groupId>org.apache.httpcomponents</groupId>
  75. <artifactId>httpclient</artifactId>
  76. <version>4.5.6</version>
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-compiler-plugin</artifactId>
  88. <configuration>
  89. <source>8</source>
  90. <target>8</target>
  91. </configuration>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>