<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>com.vortex.cloud</groupId>
		<artifactId>hw-cloud-parent</artifactId>
		<version>1.0.0</version>
	</parent>

	<artifactId>hw-cloud-file-parent</artifactId>
	<packaging>pom</packaging>


	<properties>
		<!-- Plugin的属性定义 -->
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<jdk.version>1.8</jdk.version>

		<!-- vortex -->
		<hw-cloud-file-api.version>1.0.0</hw-cloud-file-api.version>
		<hw-cloud-file-lib.version>1.0.0</hw-cloud-file-lib.version>
		<hw-cloud-file-sdk.version>1.0.0</hw-cloud-file-sdk.version>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
	</properties>

	<!-- 预定义依赖项的version,scope与exclusions,子项目中只需定义groupId 和 artifactId 即可 -->
	<dependencyManagement>
		<dependencies>
			<!-- hw-begin -->

			<dependency>
				<groupId>com.vortex.cloud</groupId>
				<artifactId>hw-cloud-file-api</artifactId>
				<version>${hw-cloud-file-api.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vortex.cloud</groupId>
				<artifactId>hw-cloud-file-sdk</artifactId>
				<version>${hw-cloud-file-sdk.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vortex.cloud</groupId>
				<artifactId>hw-cloud-file-lib</artifactId>
				<version>${hw-cloud-file-lib.version}</version>
			</dependency>
			<dependency>
				<groupId>com.vortex</groupId>
				<artifactId>hw-core</artifactId>
				<version>3.0.6</version>
			</dependency>
			<!-- 图片缩略图 -->
			<dependency>
				<groupId>net.coobird</groupId>
				<artifactId>thumbnailator</artifactId>
				<version>0.4.3</version>
			</dependency>
			<dependency>
				<groupId>org.apache.poi</groupId>
				<artifactId>poi-ooxml</artifactId>
				<version>3.14</version>
			</dependency>
			<dependency>
				<groupId>org.apache.poi</groupId>
				<artifactId>poi-ooxml-schemas</artifactId>
				<version>3.14</version>
			</dependency>

		</dependencies>
	</dependencyManagement>

	<build>
		<plugins>
			<!-- eclipse plugin -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
			</plugin>

			<!-- source attach plugin -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

<!--			&lt;!&ndash; enforcer, 规则统一定义在parent &ndash;&gt;
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
			</plugin>-->
		</plugins>
	</build>
</project>