pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. <groupId>com.middle.platform</groupId>
  7. <artifactId>iot-middle-platform</artifactId>
  8. <version>${revision}</version>
  9. <packaging>pom</packaging>
  10. <description>物联中台</description>
  11. <name>${project.artifactId}</name>
  12. <properties>
  13. <revision>1.0.0</revision>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
  18. <spring.boot.version>3.1.4</spring.boot.version>
  19. </properties>
  20. <modules>
  21. <module>iot-common</module>
  22. <module>iot-dependencies</module>
  23. <module>iot-framework</module>
  24. <module>iot-gateway</module>
  25. <module>iot-module</module>
  26. </modules>
  27. <dependencyManagement>
  28. <dependencies>
  29. <dependency>
  30. <groupId>com.middle.platform</groupId>
  31. <artifactId>iot-dependencies</artifactId>
  32. <version>${revision}</version>
  33. <type>pom</type>
  34. <scope>import</scope>
  35. </dependency>
  36. </dependencies>
  37. </dependencyManagement>
  38. <build>
  39. <plugins>
  40. <!-- 统一 revision 版本 -->
  41. <plugin>
  42. <groupId>org.codehaus.mojo</groupId>
  43. <artifactId>flatten-maven-plugin</artifactId>
  44. <version>${flatten-maven-plugin.version}</version>
  45. <configuration>
  46. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  47. <updatePomFile>true</updatePomFile>
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>flatten</goal>
  53. </goals>
  54. <id>flatten</id>
  55. <phase>process-resources</phase>
  56. </execution>
  57. <execution>
  58. <goals>
  59. <goal>clean</goal>
  60. </goals>
  61. <id>flatten.clean</id>
  62. <phase>clean</phase>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. <repositories>
  69. <repository>
  70. <id>huaweicloud</id>
  71. <name>huawei</name>
  72. <url>https://mirrors.huaweicloud.com/repository/maven/</url>
  73. </repository>
  74. <repository>
  75. <id>aliyunmaven</id>
  76. <name>aliyun</name>
  77. <url>https://maven.aliyun.com/repository/public</url>
  78. </repository>
  79. </repositories>
  80. </project>