12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.yushu</groupId>
- <artifactId>iot</artifactId>
- <version>${revision}</version>
- <packaging>pom</packaging>
- <name>iot</name>
- <description>iot项目父工程</description>
- <properties>
- <revision>1.0.0</revision>
- <!-- Maven 相关 -->
- <java.version>1.8</java.version>
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <!-- Maven Plugin Versions -->
- <spring-boot-maven-plugin.version>2.4.2</spring-boot-maven-plugin.version>
- <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
- <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
- <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
- <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
- <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
- <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
- </properties>
- <modules>
- <module>iot-dependencies</module>
- <module>iot-framework</module>
- <module>iot-business</module>
- <module>iot-admin-server</module>
- <!-- <module>spring-cloud-alibaba-examples</module>-->
- <module>demo</module>
- </modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.yushu</groupId>
- <artifactId>iot-dependencies</artifactId>
- <version>${revision}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <!-- 使用 aliyun 的 Maven 源,提升下载速度 -->
- <repositories>
- <repository>
- <id>aliyun</id>
- <name>aliyun</name>
- <url>https://maven.aliyun.com/repository/public</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
- <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|