pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.gyee</groupId>
  6. <artifactId>sis</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <modules>
  9. <module>realtime</module>
  10. <module>histroy</module>
  11. <module>web</module>
  12. <module>common</module>
  13. <module>cache</module>
  14. </modules>
  15. <packaging>pom</packaging>
  16. <!-- 统一管理jar包版本 -->
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <junit.version>4.12</junit.version>
  22. <log4j.version>2.15.0</log4j.version>
  23. <lombok.version>1.18.16</lombok.version>
  24. <mysql.version>5.1.45</mysql.version>
  25. <druid.version>1.2.5</druid.version>
  26. <mybatis.spring.boot.version>1.3.2</mybatis.spring.boot.version>
  27. <mybatis-plus.boot.starter.version>3.2.0</mybatis-plus.boot.starter.version>
  28. <mybatis-plus.generator.version>3.3.2</mybatis-plus.generator.version>
  29. <pgsql.version>42.2.5</pgsql.version>
  30. <groovy.version>3.0.8</groovy.version>
  31. </properties>
  32. <!-- 子模块继承之后,提供作用:锁定版本+子modlue不用写groupId和version -->
  33. <dependencyManagement>
  34. <dependencies>
  35. <!--spring boot 2.2.2-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-dependencies</artifactId>
  39. <version>2.2.2.RELEASE</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. <!--spring cloud Hoxton.SR1-->
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-dependencies</artifactId>
  47. <version>Hoxton.SR1</version>
  48. <type>pom</type>
  49. <scope>import</scope>
  50. </dependency>
  51. <!--spring cloud alibaba 2.1.0.RELEASE-->
  52. <dependency>
  53. <groupId>com.alibaba.cloud</groupId>
  54. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  55. <version>2.1.0.RELEASE</version>
  56. <type>pom</type>
  57. <scope>import</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>mysql</groupId>
  61. <artifactId>mysql-connector-java</artifactId>
  62. <version>${mysql.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid</artifactId>
  67. <version>${druid.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.mybatis.spring.boot</groupId>
  71. <artifactId>mybatis-spring-boot-starter</artifactId>
  72. <version>${mybatis.spring.boot.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <version>${junit.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.logging.log4j</groupId>
  81. <artifactId>log4j-core</artifactId>
  82. <version>${log4j.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.projectlombok</groupId>
  86. <artifactId>lombok</artifactId>
  87. <version>${lombok.version}</version>
  88. <optional>true</optional>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.codehaus.groovy</groupId>
  92. <artifactId>groovy</artifactId>
  93. <version>${groovy.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.baomidou</groupId>
  97. <artifactId>mybatis-plus-boot-starter</artifactId>
  98. <version>${mybatis-plus.boot.starter.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.baomidou</groupId>
  102. <artifactId>mybatis-plus-generator</artifactId>
  103. <version>${mybatis-plus.generator.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.postgresql</groupId>
  107. <artifactId>postgresql</artifactId>
  108. <version>${pgsql.version}</version>
  109. </dependency>
  110. </dependencies>
  111. </dependencyManagement>
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <configuration>
  118. <addResources>true</addResources>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>