pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 1999-2019 Seata.io Group.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <groupId>org.dromara</groupId>
  22. <artifactId>ruoyi-visual</artifactId>
  23. <version>${revision}</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <artifactId>ruoyi-seata-server</artifactId>
  27. <packaging>jar</packaging>
  28. <properties>
  29. <seata.version>1.7.1</seata.version>
  30. <spring-boot.version>2.7.18</spring-boot.version>
  31. <logstash-logback-encoder.version>7.2</logstash-logback-encoder.version>
  32. <jedis.version>3.8.0</jedis.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <!-- SpringBoot 依赖配置 -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-dependencies</artifactId>
  40. <version>${spring-boot.version}</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. </dependencies>
  45. </dependencyManagement>
  46. <dependencies>
  47. <!-- SpringBoot Web容器 -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. <exclusions>
  52. <exclusion>
  53. <artifactId>*</artifactId>
  54. <groupId>org.apache.logging.log4j</groupId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.seata</groupId>
  60. <artifactId>seata-server</artifactId>
  61. <version>${seata.version}</version>
  62. <exclusions>
  63. <exclusion>
  64. <artifactId>slf4j-reload4j</artifactId>
  65. <groupId>org.slf4j</groupId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <!-- jedis -->
  70. <dependency>
  71. <groupId>redis.clients</groupId>
  72. <artifactId>jedis</artifactId>
  73. <version>${jedis.version}</version>
  74. </dependency>
  75. <!-- logback appenders -->
  76. <dependency>
  77. <groupId>net.logstash.logback</groupId>
  78. <artifactId>logstash-logback-encoder</artifactId>
  79. <version>${logstash-logback-encoder.version}</version>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <finalName>${project.artifactId}</finalName>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. <version>${spring-boot.version}</version>
  89. <executions>
  90. <execution>
  91. <goals>
  92. <goal>repackage</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>