pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.dayou</groupId>
  6. <artifactId>productivity-platform</artifactId>
  7. <packaging>pom</packaging>
  8. <version>1.0-PRODUCTIVITY-PLATFORM</version>
  9. <modules>
  10. <module>biz-base</module>
  11. <module>common</module>
  12. <module>dao</module>
  13. <module>domain</module>
  14. <module>service</module>
  15. <module>gen</module>
  16. </modules>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-boot.version>2.3.1.RELEASE</spring-boot.version>
  22. <druid.version>1.2.23</druid.version>
  23. <mysql-connector.version>8.0.16</mysql-connector.version>
  24. <mybatis-plus.version>3.3.2</mybatis-plus.version>
  25. <lombok.version>1.18.34</lombok.version>
  26. <hutool.version>5.8.32</hutool.version>
  27. <fastjson2.version>2.0.53</fastjson2.version>
  28. <pagehelper.version>2.1.0</pagehelper.version>
  29. <commons-fileupload.version>1.5</commons-fileupload.version>
  30. <sa-token.version>1.39.0</sa-token.version>
  31. <easyexcel.vsersion>4.0.3</easyexcel.vsersion>
  32. <poi.vsersion>5.2.3</poi.vsersion>
  33. <poi-ooxml.version>5.2.3</poi-ooxml.version>
  34. <commons-io.version>2.15.0</commons-io.version>
  35. </properties>
  36. <dependencyManagement>
  37. <dependencies>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-dependencies</artifactId>
  41. <version>${spring-boot.version}</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid-spring-boot-starter</artifactId>
  49. <version>${druid.version}</version>
  50. </dependency>
  51. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. <version>${mysql-connector.version}</version>
  56. </dependency>
  57. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  58. <dependency>
  59. <groupId>com.baomidou</groupId>
  60. <artifactId>mybatis-plus-boot-starter</artifactId>
  61. <version>${mybatis-plus.version}</version>
  62. </dependency>
  63. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  64. <dependency>
  65. <groupId>cn.hutool</groupId>
  66. <artifactId>hutool-all</artifactId>
  67. <version>${hutool.version}</version>
  68. </dependency>
  69. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  70. <dependency>
  71. <groupId>org.projectlombok</groupId>
  72. <artifactId>lombok</artifactId>
  73. <version>${lombok.version}</version>
  74. <scope>provided</scope>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  77. <dependency>
  78. <groupId>com.alibaba.fastjson2</groupId>
  79. <artifactId>fastjson2</artifactId>
  80. <version>${fastjson2.version}</version>
  81. </dependency>
  82. <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter -->
  83. <dependency>
  84. <groupId>com.github.pagehelper</groupId>
  85. <artifactId>pagehelper-spring-boot-starter</artifactId>
  86. <version>${pagehelper.version}</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  89. <dependency>
  90. <groupId>commons-fileupload</groupId>
  91. <artifactId>commons-fileupload</artifactId>
  92. <version>${commons-fileupload.version}</version>
  93. </dependency>
  94. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  95. <dependency>
  96. <groupId>cn.dev33</groupId>
  97. <artifactId>sa-token-spring-boot-starter</artifactId>
  98. <version>${sa-token.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.alibaba</groupId>
  102. <artifactId>easyexcel</artifactId>
  103. <version>${easyexcel.vsersion}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.poi</groupId>
  107. <artifactId>poi</artifactId>
  108. <version>${poi.vsersion}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>poi-ooxml</artifactId>
  113. <version>${poi-ooxml.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-io</groupId>
  117. <artifactId>commons-io</artifactId>
  118. <version>${commons-io.version}</version>
  119. </dependency>
  120. </dependencies>
  121. </dependencyManagement>
  122. <build>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-compiler-plugin</artifactId>
  127. <version>3.8.1</version>
  128. <configuration>
  129. <source>${java.version}</source>
  130. <target>${java.version}</target>
  131. <encoding>UTF-8</encoding>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. <version>${spring-boot.version}</version>
  138. <configuration>
  139. <mainClass>com.dayou.BaseApplication</mainClass>
  140. </configuration>
  141. <executions>
  142. <execution>
  143. <id>repackage</id>
  144. <goals>
  145. <goal>repackage</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>