pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>blade-ops</artifactId>
  7. <groupId>org.springblade</groupId>
  8. <version>2.9.1.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>blade-admin</artifactId>
  12. <name>${project.artifactId}</name>
  13. <version>${bladex.project.version}</version>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <!--Blade-->
  17. <dependency>
  18. <groupId>org.springblade</groupId>
  19. <artifactId>blade-common</artifactId>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>org.springblade</groupId>
  23. <artifactId>blade-core-launch</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springblade</groupId>
  29. <artifactId>blade-core-launch</artifactId>
  30. <exclusions>
  31. <exclusion>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </exclusion>
  35. <exclusion>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-undertow</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springblade</groupId>
  43. <artifactId>blade-starter-prometheus</artifactId>
  44. </dependency>
  45. <!-- Hystrix -->
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  49. <exclusions>
  50. <exclusion>
  51. <groupId>commons-logging</groupId>
  52. <artifactId>commons-logging</artifactId>
  53. </exclusion>
  54. </exclusions>
  55. </dependency>
  56. <!-- Nacos -->
  57. <dependency>
  58. <groupId>com.alibaba.cloud</groupId>
  59. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>com.alibaba.nacos</groupId>
  63. <artifactId>nacos-client</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.alibaba.cloud</groupId>
  69. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>com.alibaba.nacos</groupId>
  73. <artifactId>nacos-client</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba.nacos</groupId>
  79. <artifactId>nacos-client</artifactId>
  80. </dependency>
  81. <!--Admin-Server-->
  82. <dependency>
  83. <groupId>de.codecentric</groupId>
  84. <artifactId>spring-boot-admin-starter-server</artifactId>
  85. </dependency>
  86. <!--Security-->
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-starter-security</artifactId>
  90. </dependency>
  91. <!--Taobao-Sdk-->
  92. <dependency>
  93. <groupId>com.taobao</groupId>
  94. <artifactId>taobao-sdk</artifactId>
  95. <version>20201116</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>com.spotify</groupId>
  102. <artifactId>dockerfile-maven-plugin</artifactId>
  103. <configuration>
  104. <username>${docker.username}</username>
  105. <password>${docker.password}</password>
  106. <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
  107. <tag>${project.version}</tag>
  108. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  109. <buildArgs>
  110. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  111. </buildArgs>
  112. <skip>false</skip>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-antrun-plugin</artifactId>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>