pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. <!-- SpringCloud Alibaba Sentinel -->
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  28. </dependency>
  29. <!-- SpringBoot Actuator -->
  30. <!--<dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-actuator</artifactId>
  33. </dependency>-->
  34. <!-- zd Common Security-->
  35. <dependency>
  36. <groupId>com.zd.core</groupId>
  37. <artifactId>common-core</artifactId>
  38. <version>${zd.version}</version>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>com.baomidou</groupId>
  42. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  43. </exclusion>
  44. <exclusion>
  45. <artifactId>poi-ooxml-schemas</artifactId>
  46. <groupId>org.apache.poi</groupId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.zd.chemical</groupId>
  52. <artifactId>zd-chemical-api</artifactId>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <finalName>${project.artifactId}</finalName>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. <executions>
  62. <execution>
  63. <goals>
  64. <goal>repackage</goal>
  65. </goals>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <!-- 打包时跳过test插件,不运行test测试用例 -->
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-surefire-plugin</artifactId>
  73. <version>${maven-surefire-plugin.version}</version>
  74. <configuration>
  75. <skipTests>true</skipTests>
  76. </configuration>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </project>