pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.7.RELEASE</version>
  10. <relativePath/>
  11. </parent>
  12. <groupId>org.example</groupId>
  13. <artifactId>runeconmy-nx</artifactId>
  14. <packaging>pom</packaging>
  15. <version>1.0-SNAPSHOT</version>
  16. <modules>
  17. <module>common</module>
  18. <module>runeconomy-xk</module>
  19. <module>data-adapter</module>
  20. <module>generationXK-service</module>
  21. </modules>
  22. <!-- 统一管理jar包版本 -->
  23. <properties>
  24. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  25. <maven.compiler.source>1.8</maven.compiler.source>
  26. <maven.compiler.target>1.8</maven.compiler.target>
  27. <junit.version>4.12</junit.version>
  28. <log4j.version>1.2.17</log4j.version>
  29. <lombok.version>1.18.16</lombok.version>
  30. <pgsql.version>42.2.5</pgsql.version>
  31. <druid.version>1.2.11</druid.version>
  32. <mybatis.plus.boot.starter.version>3.5.7</mybatis.plus.boot.starter.version>
  33. <mybatis.plus.generator.version>3.5.7</mybatis.plus.generator.version>
  34. <fastjson.version>1.2.17</fastjson.version>
  35. <tomcat.version>9.0.52</tomcat.version>
  36. </properties>
  37. <!-- 子模块继承之后,提供作用:锁定版本+子modlue不用写groupId和version -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>redis.clients</groupId>
  51. <artifactId>jedis</artifactId>
  52. <version>2.9.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.postgresql</groupId>
  56. <artifactId>postgresql</artifactId>
  57. <version>${pgsql.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>druid</artifactId>
  62. <version>${druid.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>mybatis-plus-generator</artifactId>
  67. <version>${mybatis.plus.generator.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>junit</groupId>
  71. <artifactId>junit</artifactId>
  72. <version>${junit.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>log4j</groupId>
  76. <artifactId>log4j</artifactId>
  77. <version>${log4j.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.projectlombok</groupId>
  81. <artifactId>lombok</artifactId>
  82. <version>${lombok.version}</version>
  83. <optional>true</optional>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>fastjson</artifactId>
  88. <version>${fastjson.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.tomcat.embed</groupId>
  92. <artifactId>tomcat-embed-core</artifactId>
  93. <version>${tomcat.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.tomcat.embed</groupId>
  97. <artifactId>tomcat-embed-websocket</artifactId>
  98. <version>${tomcat.version}</version>
  99. </dependency>
  100. </dependencies>
  101. </dependencyManagement>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. <version>2.3.7.RELEASE</version>
  108. <executions>
  109. <execution>
  110. <goals>
  111. <goal>repackage</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>