pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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>web/benchmarking</module>
  13. </modules>
  14. <packaging>pom</packaging>
  15. <!-- 统一管理jar包版本 -->
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. <junit.version>4.12</junit.version>
  21. <log4j.version>1.2.17</log4j.version>
  22. <lombok.version>1.18.16</lombok.version>
  23. <mysql.version>5.1.45</mysql.version>
  24. <druid.version>1.2.5</druid.version>
  25. <mybatis.spring.boot.version>1.3.2</mybatis.spring.boot.version>
  26. <mybatis-plus.boot.starter.version>3.2.0</mybatis-plus.boot.starter.version>
  27. <mybatis-plus.generator.version>3.3.2</mybatis-plus.generator.version>
  28. </properties>
  29. <!-- 子模块继承之后,提供作用:锁定版本+子modlue不用写groupId和version -->
  30. <dependencyManagement>
  31. <dependencies>
  32. <!--spring boot 2.2.2-->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-dependencies</artifactId>
  36. <version>2.2.2.RELEASE</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. <!-- &lt;!&ndash;spring cloud Hoxton.SR1&ndash;&gt;-->
  41. <!-- <dependency>-->
  42. <!-- <groupId>org.springframework.cloud</groupId>-->
  43. <!-- <artifactId>spring-cloud-dependencies</artifactId>-->
  44. <!-- <version>Hoxton.SR1</version>-->
  45. <!-- <type>pom</type>-->
  46. <!-- <scope>import</scope>-->
  47. <!-- </dependency>-->
  48. <!-- &lt;!&ndash;spring cloud alibaba 2.1.0.RELEASE&ndash;&gt;-->
  49. <!-- <dependency>-->
  50. <!-- <groupId>com.alibaba.cloud</groupId>-->
  51. <!-- <artifactId>spring-cloud-alibaba-dependencies</artifactId>-->
  52. <!-- <version>2.1.0.RELEASE</version>-->
  53. <!-- <type>pom</type>-->
  54. <!-- <scope>import</scope>-->
  55. <!-- </dependency>-->
  56. <dependency>
  57. <groupId>mysql</groupId>
  58. <artifactId>mysql-connector-java</artifactId>
  59. <version>${mysql.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba</groupId>
  63. <artifactId>druid</artifactId>
  64. <version>${druid.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.mybatis.spring.boot</groupId>
  68. <artifactId>mybatis-spring-boot-starter</artifactId>
  69. <version>${mybatis.spring.boot.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.baomidou</groupId>
  89. <artifactId>mybatis-plus-boot-starter</artifactId>
  90. <version>${mybatis-plus.boot.starter.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.baomidou</groupId>
  94. <artifactId>mybatis-plus-generator</artifactId>
  95. <version>${mybatis-plus.generator.version}</version>
  96. </dependency>
  97. </dependencies>
  98. </dependencyManagement>
  99. <build>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-maven-plugin</artifactId>
  104. <configuration>
  105. <fork>true</fork>
  106. <addResources>true</addResources>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>