pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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.7.0</version>
  10. <relativePath/>
  11. </parent>
  12. <groupId>com.storlead.boot</groupId>
  13. <artifactId>storlead-centre-platform</artifactId>
  14. <version>${revision}</version>
  15. <packaging>pom</packaging>
  16. <name>storlead-centre-platform</name>
  17. <modules>
  18. <module>storlead-dependencies</module>
  19. <module>storlead-framework</module>
  20. <module>storlead-centre-api</module>
  21. <module>storlead-centre-service</module>
  22. <module>storlead-wx</module>
  23. <module>storlead-user</module>
  24. </modules>
  25. <properties>
  26. <revision>1.0</revision>
  27. <java.version>17</java.version>
  28. <maven.compiler.source>${java.version}</maven.compiler.source>
  29. <maven.compiler.target>${java.version}</maven.compiler.target>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <!--全局配置项目版本号-->
  32. <jwt.version>0.9.1</jwt.version>
  33. <commons.version>2.6</commons.version>
  34. <!-- 表示打包时跳过mvn test -->
  35. <maven.test.skip>true</maven.test.skip>
  36. <aviator.version>5.2.7</aviator.version>
  37. <io.jsonwebtoken.version>0.9.1</io.jsonwebtoken.version>
  38. <logstash-logback.version>6.6</logstash-logback.version>
  39. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  40. <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version>
  41. <flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
  42. <lombok.version>1.18.36</lombok.version>
  43. <spring.boot.version>2.7.0</spring.boot.version>
  44. <mapstruct.version>1.6.3</mapstruct.version>
  45. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  46. </properties>
  47. <dependencyManagement>
  48. <dependencies>
  49. <dependency>
  50. <groupId>com.storlead.boot</groupId>
  51. <artifactId>storlead-dependencies</artifactId>
  52. <version>${revision}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. </dependencies>
  57. </dependencyManagement>
  58. <build>
  59. <pluginManagement>
  60. <plugins>
  61. <!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
  62. <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-surefire-plugin</artifactId>
  66. <version>${maven-surefire-plugin.version}</version>
  67. </plugin>
  68. <!-- maven-compiler-plugin 插件,解决 spring-boot-configuration-processor + Lombok + MapStruct 组合 -->
  69. <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-compiler-plugin</artifactId>
  73. <version>${maven-compiler-plugin.version}</version>
  74. <configuration>
  75. <!-- <configuration>-->
  76. <!-- <source>17</source>-->
  77. <!-- <target>17</target>-->
  78. <!-- </configuration>-->
  79. <!-- <annotationProcessorPaths>-->
  80. <!-- <path>-->
  81. <!-- <groupId>org.springframework.boot</groupId>-->
  82. <!-- <artifactId>spring-boot-configuration-processor</artifactId>-->
  83. <!-- <version>${spring.boot.version}</version>-->
  84. <!-- </path>-->
  85. <!-- <path>-->
  86. <!-- <groupId>org.projectlombok</groupId>-->
  87. <!-- <artifactId>lombok</artifactId>-->
  88. <!-- <version>${lombok.version}</version>-->
  89. <!-- </path>-->
  90. <!-- <path>-->
  91. <!-- <groupId>org.mapstruct</groupId>-->
  92. <!-- <artifactId>mapstruct-processor</artifactId>-->
  93. <!-- <version>${mapstruct.version}</version>-->
  94. <!-- </path>-->
  95. <!-- </annotationProcessorPaths>-->
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </pluginManagement>
  100. </build>
  101. <repositories>
  102. <repository>
  103. <id>aliyunmaven</id>
  104. <name>aliyun</name>
  105. <url>https://maven.aliyun.com/repository/public</url>
  106. </repository>
  107. <repository>
  108. <id>spring-milestones</id>
  109. <name>Spring Milestones</name>
  110. <url>https://repo.spring.io/milestone</url>
  111. <snapshots>
  112. <enabled>false</enabled>
  113. </snapshots>
  114. </repository>
  115. <repository>
  116. <id>spring-snapshots</id>
  117. <name>Spring Snapshots</name>
  118. <url>https://repo.spring.io/snapshot</url>
  119. <releases>
  120. <enabled>false</enabled>
  121. </releases>
  122. </repository>
  123. </repositories>
  124. </project>