pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. </properties>
  32. <dependencyManagement>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-dependencies</artifactId>
  37. <version>${spring-boot.version}</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>druid-spring-boot-starter</artifactId>
  45. <version>${druid.version}</version>
  46. </dependency>
  47. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  48. <dependency>
  49. <groupId>mysql</groupId>
  50. <artifactId>mysql-connector-java</artifactId>
  51. <version>${mysql-connector.version}</version>
  52. </dependency>
  53. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  54. <dependency>
  55. <groupId>com.baomidou</groupId>
  56. <artifactId>mybatis-plus-boot-starter</artifactId>
  57. <version>${mybatis-plus.version}</version>
  58. </dependency>
  59. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  60. <dependency>
  61. <groupId>cn.hutool</groupId>
  62. <artifactId>hutool-all</artifactId>
  63. <version>${hutool.version}</version>
  64. </dependency>
  65. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <version>${lombok.version}</version>
  70. <scope>provided</scope>
  71. </dependency>
  72. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  73. <dependency>
  74. <groupId>com.alibaba.fastjson2</groupId>
  75. <artifactId>fastjson2</artifactId>
  76. <version>${fastjson2.version}</version>
  77. </dependency>
  78. <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter -->
  79. <dependency>
  80. <groupId>com.github.pagehelper</groupId>
  81. <artifactId>pagehelper-spring-boot-starter</artifactId>
  82. <version>${pagehelper.version}</version>
  83. </dependency>
  84. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  85. <dependency>
  86. <groupId>commons-fileupload</groupId>
  87. <artifactId>commons-fileupload</artifactId>
  88. <version>${commons-fileupload.version}</version>
  89. </dependency>
  90. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  91. <dependency>
  92. <groupId>cn.dev33</groupId>
  93. <artifactId>sa-token-spring-boot-starter</artifactId>
  94. <version>${sa-token.version}</version>
  95. </dependency>
  96. </dependencies>
  97. </dependencyManagement>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <version>3.8.1</version>
  104. <configuration>
  105. <source>${java.version}</source>
  106. <target>${java.version}</target>
  107. <encoding>UTF-8</encoding>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <version>${spring-boot.version}</version>
  114. <configuration>
  115. <mainClass>com.dayou.BaseApplication</mainClass>
  116. </configuration>
  117. <executions>
  118. <execution>
  119. <id>repackage</id>
  120. <goals>
  121. <goal>repackage</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. </project>