pom.xml 2.9 KB

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