pom.xml 4.4 KB

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