pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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. <parent>
  5. <groupId>com.zd</groupId>
  6. <artifactId>zd</artifactId>
  7. <version>3.1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>zd-auth</artifactId>
  11. <packaging>jar</packaging>
  12. <description>认证中心</description>
  13. <dependencies>
  14. <!-- SpringCloud Alibaba Nacos -->
  15. <dependency>
  16. <groupId>com.alibaba.cloud</groupId>
  17. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  18. </dependency>
  19. <!-- SpringCloud Alibaba Nacos Config -->
  20. <dependency>
  21. <groupId>com.alibaba.cloud</groupId>
  22. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  23. </dependency>
  24. <!-- zd Common Swagger -->
  25. <!-- <dependency>
  26. <groupId>com.zd</groupId>
  27. <artifactId>zd-common-swagger</artifactId>
  28. </dependency>-->
  29. <!-- SpringCloud Alibaba Sentinel -->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  33. </dependency>
  34. <!-- SpringBoot Actuator -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-actuator</artifactId>
  38. </dependency>
  39. <!-- zd Common Security-->
  40. <dependency>
  41. <groupId>com.zd.core</groupId>
  42. <artifactId>common-core</artifactId>
  43. <version>3.1.0</version>
  44. <exclusions>
  45. <exclusion>
  46. <groupId>com.baomidou</groupId>
  47. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.hibernate</groupId>
  53. <artifactId>hibernate-validator</artifactId>
  54. <version>6.0.8.Final</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <finalName>${project.artifactId}</finalName>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-maven-plugin</artifactId>
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>repackage</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <!-- 打包时跳过test插件,不运行test测试用例 -->
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-surefire-plugin</artifactId>
  75. <version>${maven-surefire-plugin.version}</version>
  76. <configuration>
  77. <skipTests>true</skipTests>
  78. </configuration>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>