pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.jd.dt2</groupId>
  8. <artifactId>cgj-dt2-parent</artifactId>
  9. <version>0.0.1</version>
  10. </parent>
  11. <artifactId>server-basic</artifactId>
  12. <name>server-basic</name>
  13. <description>Demo project for Spring Boot</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-openfeign</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>mysql</groupId>
  25. <artifactId>mysql-connector-java</artifactId>
  26. </dependency>
  27. <!--<dependency>
  28. <groupId>org.mybatis.spring.boot</groupId>
  29. <artifactId>mybatis-spring-boot-starter</artifactId>
  30. <version>${mybatis-spring-boot-starter}</version>
  31. </dependency>-->
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-starter-oauth2</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-data-redis</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.commons</groupId>
  42. <artifactId>commons-pool2</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.github.xiaoymin</groupId>
  50. <artifactId>knife4j-spring-boot-autoconfigure</artifactId>
  51. <version>2.0.3</version>
  52. <scope>compile</scope>
  53. </dependency>
  54. <!-- Mybatis-Plus依赖 -->
  55. <dependency>
  56. <groupId>com.baomidou</groupId>
  57. <artifactId>mybatis-plus-boot-starter</artifactId>
  58. <version>3.4.2</version>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-maven-plugin</artifactId>
  66. </plugin>
  67. <!-- <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-jar-plugin</artifactId>
  70. <configuration>
  71. <archive>
  72. <manifest>
  73. <addClasspath>true</addClasspath>
  74. <classpathPrefix>lib/</classpathPrefix>
  75. <mainClass>com.jd.ServerBasicApplication</mainClass>
  76. </manifest>
  77. </archive>
  78. </configuration>
  79. </plugin> -->
  80. <!-- 添加配置跳过测试 -->
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-surefire-plugin</artifactId>
  84. <configuration>
  85. <skipTests>true</skipTests>
  86. </configuration>
  87. </plugin>
  88. </plugins>
  89. <resources>
  90. <resource>
  91. <directory>src/main/resources</directory>
  92. <!-- <excludes>
  93. <exclude>**/**</exclude>
  94. </excludes> -->
  95. </resource>
  96. </resources>
  97. </build>
  98. </project>