pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>BladeX</artifactId>
  8. <groupId>org.springblade</groupId>
  9. <version>2.9.1.RELEASE</version>
  10. </parent>
  11. <artifactId>blade-auth</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-scope-api</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springblade</groupId>
  29. <artifactId>blade-core-db</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springblade</groupId>
  33. <artifactId>blade-core-cloud</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springblade</groupId>
  37. <artifactId>blade-starter-metrics</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springblade</groupId>
  41. <artifactId>blade-starter-redis</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springblade</groupId>
  45. <artifactId>blade-starter-swagger</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springblade</groupId>
  49. <artifactId>blade-starter-social</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springblade</groupId>
  53. <artifactId>blade-user-api</artifactId>
  54. <version>${bladex.project.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springblade</groupId>
  58. <artifactId>blade-system-api</artifactId>
  59. <version>${bladex.project.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-starter-security</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.security.oauth</groupId>
  67. <artifactId>spring-security-oauth2</artifactId>
  68. <version>2.3.5.RELEASE</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-data-redis</artifactId>
  73. <version>2.2.0.RELEASE</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.security</groupId>
  77. <artifactId>spring-security-jwt</artifactId>
  78. </dependency>
  79. <!-- 验证码 -->
  80. <dependency>
  81. <groupId>com.github.whvcse</groupId>
  82. <artifactId>easy-captcha</artifactId>
  83. </dependency>
  84. <!-- 链路追踪、服务监控 -->
  85. <!--<dependency>
  86. <groupId>org.springblade</groupId>
  87. <artifactId>blade-starter-trace</artifactId>
  88. </dependency>-->
  89. <!-- 解决Java11无法运行的问题 -->
  90. <!--<dependency>
  91. <groupId>javax.xml.bind</groupId>
  92. <artifactId>jaxb-api</artifactId>
  93. <version>2.2.11</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.sun.xml.bind</groupId>
  97. <artifactId>jaxb-core</artifactId>
  98. <version>2.2.11</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.sun.xml.bind</groupId>
  102. <artifactId>jaxb-impl</artifactId>
  103. <version>2.2.11</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>javax.activation</groupId>
  107. <artifactId>activation</artifactId>
  108. <version>1.1.1</version>
  109. </dependency>-->
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>com.spotify</groupId>
  115. <artifactId>dockerfile-maven-plugin</artifactId>
  116. <configuration>
  117. <username>${docker.username}</username>
  118. <password>${docker.password}</password>
  119. <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
  120. <tag>${project.version}</tag>
  121. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  122. <buildArgs>
  123. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  124. </buildArgs>
  125. <skip>false</skip>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-antrun-plugin</artifactId>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>