<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
	  <groupId>com.ovopark</groupId>
	  <artifactId>component-file</artifactId>
	  <version>1.0</version>
	</parent>
	<artifactId>component-file-sdk</artifactId>
	
	<dependencies>
		<dependency>
			<groupId>com.ovopark</groupId>
			<artifactId>component-file-common</artifactId>
		</dependency>		

        <dependency>
		    <groupId>org.springframework.cloud</groupId>
		    <artifactId>spring-cloud-openfeign-core</artifactId>
		    <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <scope>provided</scope>
        </dependency>
		<!-- 支持feign上传文件 -->
		<dependency>
			<groupId>io.github.openfeign</groupId>
			<artifactId>feign-core</artifactId>
		</dependency>
	</dependencies>
	
	<build>
		<finalName>component-file-sdk</finalName>	
		<plugins>
		   <plugin>
		      <artifactId>maven-assembly-plugin</artifactId>
		      <configuration>
		         <appendAssemblyId>false</appendAssemblyId>
		         <descriptorRefs>
		            <descriptorRef>jar-with-dependencies</descriptorRef>
		         </descriptorRefs>
		      </configuration>
		      <executions>
		         <execution>
		            <id>make-assembly</id>
		            <!-- bind to the packaging phase -->
		            <phase>package</phase>
		            <goals>
		               <goal>single</goal>
		            </goals>
		         </execution>
		      </executions>
		   </plugin>
		</plugins>
	</build>	  		
</project>