<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>cn.zvo.fileupload</groupId>
	<artifactId>fileupload-framework-ueditor</artifactId>
	<version>1.2</version>
	<packaging>jar</packaging>

    <name>fileupload-framework-ueditor</name>
	<description>java file upload</description>
	<url>https://github.com/xnx3/ueditor-fileupload</url>

	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<!-- 编译时的编码 -->
		<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
		<java.version>1.8</java.version>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
	</properties>

	<developers>
		<developer>
		<name>leiming guan</name>
		<email>mail@xnx3.com</email>
		<organization>Sonatype</organization>
		<organizationUrl>http://www.sonatype.com</organizationUrl>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:git://github.com/xnx3/ueditor-fileupload.git</connection>
		<developerConnection>scm:git:ssh://github.com/xnx3/ueditor-fileupload.git</developerConnection>
		<url>github.com/xnx3/ueditor-fileupload</url>
	</scm>

	<build>
		<plugins>
			<!-- Source -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<!-- <execution>
						<id>attach-sources</id>
						<phase>deploy</phase>
					</execution> -->
					<execution>
						<phase>package</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			
			<!-- Javadoc -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<additionalparam>-Xdoclint:none</additionalparam>
							<source>${java.version}</source>
						</configuration>
					</execution>
				</executions>
			</plugin>
			
			<!-- GPG -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
		<resources>  
            <!-- 打包时将jsp文件拷贝到META-INF目录下 -->  
            <resource>  
                <!-- 指定resources插件处理哪个目录下的资源文件 -->  
                <directory>src/main/webapp</directory>  
                <!-- 注意此次必须要放在此目录下才能被访问到 -->  
                <targetPath>META-INF/resources/</targetPath>  
                <includes>  
                    <include>module/**</include>  
                </includes>  
            </resource>
            
            <!-- 将 resource/static 下的配置文件拷贝到jar包  -->  
            <resource>  
                <!-- 指定resources插件处理哪个目录下的资源文件 -->  
                <directory>src/main/resources/static/</directory>  
                <!-- 注意此次必须要放在此目录下才能被访问到 -->  
                <targetPath>META-INF/resources/</targetPath>  
                <includes>  
                    <include>module/**</include>  
                </includes>
            </resource> 
            
        </resources>  
	</build>
	
	<dependencies>  
		<dependency> 
			<groupId>cn.zvo.fileupload</groupId>
			<artifactId>fileupload-core</artifactId>
			<version>1.1</version>
			<scope>provided</scope>
		</dependency>
		<dependency> 
	        <groupId>com.xnx3.util</groupId>
			<artifactId>xnx3-util</artifactId>
	        <version>1.13</version>  
	    </dependency>
		<!-- 在 SpringBoot 框架中的快速使用。 （在不同的框架中使用，这里artifactId引入的framework.xxx也不同） -->
		<dependency> 
			<groupId>cn.zvo.fileupload</groupId>
			<artifactId>fileupload-framework-springboot</artifactId>
			<version>1.1</version>
			<scope>provided</scope>
		</dependency> 
		
		<dependency>
		    <groupId>org.json</groupId>
		    <artifactId>json</artifactId>
		    <version>20180130</version>
		</dependency>
		
		<!-- springboot -->
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
			<version>2.6.1</version>
			<scope>provided</scope>
		</dependency>
		
		<dependency>
		  <groupId>com.xnx3.wangmarket.wm</groupId>
		  <artifactId>wm</artifactId>
		  <!-- <version>2.24</version>  -->
		  <scope>provided</scope>
		  <version>2.26.5</version>
		</dependency>
	</dependencies>
	
	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

</project>