<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>
  <groupId>com.xnx3.wangmarket.wm</groupId>
  <artifactId>parent</artifactId>
  <version>2.0</version>
  <packaging>pom</packaging>
  <name>parent</name>
  
  <!-- 定义公共资源版本 -->
  <parent>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-parent</artifactId>
	<version>2.5.2</version>
	<relativePath>../parent/pom.xml</relativePath>
  </parent>
  

  
  <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>
  </properties>
  
  <repositories>
	<repository>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
		<id>central</id>
		<name>bintray</name>
		<url>http://jcenter.bintray.com</url>
	</repository>
	<repository>
		<id>maven-ali</id>
		<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
		<releases>
			<enabled>true</enabled>
		</releases>
		<snapshots>
			<enabled>true</enabled>
			<updatePolicy>always</updatePolicy>
			<checksumPolicy>fail</checksumPolicy>
		</snapshots>
	</repository>
  </repositories>
  
  <dependencies>
	
  	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-web</artifactId>
		<exclusions>
	        <exclusion>
	            <groupId>org.springframework.boot</groupId>
	            <artifactId>spring-boot-starter-logging</artifactId>
	        </exclusion>
		</exclusions>
	</dependency>
	<dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-freemarker</artifactId>
        <scope>provided</scope>
	</dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-tomcat</artifactId>
        <scope>provided</scope>
    </dependency>
  	
  	<dependency>
	    <groupId>org.springframework.boot</groupId>
	    <artifactId>spring-boot-starter-log4j2</artifactId>
	</dependency>
	<dependency>
		<groupId>mysql</groupId>
		<artifactId>mysql-connector-java</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-data-jpa</artifactId>
	</dependency>
  	
  	<!-- 热部署 -->
	<dependency>
	    <groupId>org.springframework.boot</groupId>
	    <artifactId>spring-boot-devtools</artifactId>
	    <optional>true</optional>
	</dependency>
  	
  	
	<dependency>
        <groupId>commons-configuration</groupId>
        <artifactId>commons-configuration</artifactId>
        <version>1.7</version>
    </dependency>
    <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
    </dependency>
    <dependency>
	    <groupId>org.apache.directory.studio</groupId>
	    <artifactId>org.apache.commons.io</artifactId>
	    <version>2.4</version>
	</dependency>
  	<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
	<dependency>
	    <groupId>commons-fileupload</groupId>
	    <artifactId>commons-fileupload</artifactId>
	    <version>1.3.3</version>
	</dependency>
	
	<!-- 使用 jsp 必要依赖 -->  
	<dependency>  
        <groupId>org.apache.tomcat.embed</groupId>  
        <artifactId>tomcat-embed-jasper</artifactId>  
        <scope>provided</scope>  
    </dependency>  
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <scope>provided</scope>
    </dependency>
    <dependency>  
        <groupId>javax.servlet</groupId>  
        <artifactId>jstl</artifactId>  
        <type>jar</type>  
    </dependency>  
    <dependency>
        <groupId>org.apache.tomcat</groupId>
        <artifactId>tomcat-jsp-api</artifactId>
        <scope>provided</scope>
    </dependency>
    
    <!-- https://mvnrepository.com/artifact/eu.bitwalker/UserAgentUtils -->
	<dependency>
	    <groupId>eu.bitwalker</groupId>
	    <artifactId>UserAgentUtils</artifactId>
	    <version>1.14</version>
	</dependency>
  	
  	<!-- 华为云依赖 -->
	<dependency>
		<groupId>com.huaweicloud</groupId>
		<artifactId>esdk-obs-java</artifactId>
		<version>3.19.5</version>
	</dependency>
  	
  	<!-- Aliyun -->
	<dependency>
           <groupId>com.aliyun</groupId>
           <artifactId>aliyun-java-sdk-core</artifactId>
           <version>3.0.7</version>
       </dependency>
       <dependency>
           <groupId>com.aliyun</groupId>
           <artifactId>aliyun-java-sdk-green</artifactId>
           <version>1.4.0</version>
       </dependency>
	<dependency>
	    <groupId>com.aliyun.openservices</groupId>
	    <artifactId>aliyun-openservices</artifactId>
	    <version>OTS-2.0.4</version>
	</dependency>
	<dependency>
	    <groupId>com.aliyun.oss</groupId>
	    <artifactId>aliyun-sdk-oss</artifactId>
	    <version>2.8.2</version>
	</dependency>
	<!-- https://mvnrepository.com/artifact/com.aliyun.mns/aliyun-sdk-mns -->
	<dependency>
	    <groupId>com.aliyun.mns</groupId>
	    <artifactId>aliyun-sdk-mns</artifactId>
	    <version>1.1.8</version>
	</dependency>
	<!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-dysmsapi -->
	<dependency>
	    <groupId>com.aliyun</groupId>
	    <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
	    <version>1.0.0</version>
	</dependency>
	<dependency>
	    <groupId>com.aliyun</groupId>
	    <artifactId>aliyun-java-sdk-sts</artifactId>
	    <version>2.1.6</version>
	</dependency>
    <dependency>
         <groupId>com.google.protobuf</groupId>
         <artifactId>protobuf-java</artifactId>
         <version>2.5.0</version>
	</dependency>
	<dependency>
		<groupId>com.aliyun.openservices</groupId>
		<artifactId>aliyun-log</artifactId>
		<version>0.6.66</version>
		<exclusions>
		        <exclusion>
		            <groupId>com.google.protobuf</groupId>
		            <artifactId>protobuf-java</artifactId>
		       </exclusion>
		</exclusions>
	</dependency>
  	
	<!-- Shiro -->
	<dependency>
	  <groupId>org.apache.shiro</groupId>
	  <artifactId>shiro-spring</artifactId>
	  <version>1.8.0</version>
	</dependency>
	<dependency>
	  <groupId>org.apache.shiro</groupId>
	  <artifactId>shiro-web</artifactId>
	  <version>1.8.0</version>
	</dependency>
	
	<dependency>
		<artifactId>ehcache-core</artifactId>
		<groupId>net.sf.ehcache</groupId>
		<version>2.5.0</version>
	</dependency>
	<dependency>
		<groupId>org.apache.shiro</groupId>
		<artifactId>shiro-ehcache</artifactId>
		<version>1.8.0</version>
	</dependency>
	<!-- shiro redis -->
	<dependency>
        <groupId>org.crazycake</groupId>
        <artifactId>shiro-redis</artifactId>
        <version>3.3.1</version>
    </dependency>
       
	<dependency>
	    <groupId>org.json</groupId>
	    <artifactId>json</artifactId>
	    <version>20180130</version>
	</dependency>
  	
  	<!-- sqlite -->
    <dependency>
		<groupId>org.xerial</groupId>
		<artifactId>sqlite-jdbc</artifactId>
	</dependency>
	
	<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
	<dependency>
	    <groupId>javax.mail</groupId>
	    <artifactId>mail</artifactId>
	    <version>1.4</version>
	</dependency>
	
	<!-- http请求 https://mvnrepository.com/artifact/commons-httpclient/commons-httpclient -->
	<dependency>
	    <groupId>commons-httpclient</groupId>
	    <artifactId>commons-httpclient</artifactId>
	    <version>3.1</version>
	</dependency>
  	
  	<!-- RabbitMQ -->
	<dependency>
	     <groupId>org.springframework.boot</groupId>
	     <artifactId>spring-boot-starter-amqp</artifactId>
	</dependency>
	
  	<dependency>
		<groupId>com.xnx3.json</groupId>
		<artifactId>json</artifactId>
		<version>1.0</version>
	</dependency>
  	<!-- 支付宝支付 -->
	<dependency>
	    <groupId>com.alipay.sdk</groupId>
	    <artifactId>alipay-sdk-java</artifactId>
	    <version>4.16.54.ALL</version>
	    <exclusions>
		        <exclusion>
		        	<groupId>com.alibaba</groupId>
           			<artifactId>fastjson</artifactId>
		       </exclusion>
		</exclusions>
	</dependency>
 	
 	<dependency> 
        <groupId>com.xnx3.cache</groupId>  
        <artifactId>xnx3-cache</artifactId>  
        <version>1.1.1</version>  
    </dependency>
    <dependency> 
        <groupId>com.xnx3.util</groupId>
		<artifactId>xnx3-util</artifactId>
        <version>1.3</version>  
    </dependency>
    <dependency> 
        <groupId>com.xnx3.rabbitmq</groupId>  
        <artifactId>rabbitmq</artifactId>  
        <version>1.1</version>  
    </dependency>
    <dependency> 
        <groupId>com.xnx3.weixin</groupId>  
        <artifactId>xnx3-weixin</artifactId>  
        <version>1.3</version>  
    </dependency>
 	
 	<dependency>
		<groupId>org.elasticsearch</groupId>
		<artifactId>elasticsearch</artifactId>
		<version>7.10.1</version>
	</dependency>
	<dependency>
		<groupId>org.elasticsearch.client</groupId>
		<artifactId>elasticsearch-rest-high-level-client</artifactId>
		<version>7.10.1</version>
		<exclusions>
               <exclusion>
                   <groupId>org.elasticsearch</groupId>
                   <artifactId>elasticsearch</artifactId>
               </exclusion>
           </exclusions>
	</dependency>
	<dependency>
	  <groupId>com.xnx3.elasticsearch</groupId>
	  <artifactId>elasticsearch</artifactId>
	  <version>1.1.2</version>
	</dependency>
 	
	<dependency>
       <groupId>com.xnx3</groupId>  
       <artifactId>xnx3</artifactId>  
       <version>2.3</version>  
	</dependency>
	
	<!-- javadoc - 生成 接口文档 -->
	<dependency>
	  <groupId>com.xnx3.doc.javadoc</groupId>
	  <artifactId>javadoc</artifactId>
	  <version>1.2</version>
	  <scope>provided</scope>
	</dependency>
	<dependency>
	  <groupId>com.perfma.wrapped</groupId>
	  <artifactId>com.sun.tools</artifactId>
	  <version>1.8.0_jdk8u275-b01_linux_x64</version>
	  <scope>provided</scope>
	</dependency>
	
  </dependencies>
  
  <developers>
		<developer>
		<name>leiming guan</name>
		<email>mail@xnx3.com</email>
		<organization>Sonatype</organization>
		<organizationUrl>http://www.sonatype.com</organizationUrl>
		</developer>
	</developers>
	
	<profiles>
        <profile>
	
            <id>release</id>
            <build>
                <plugins>
                
                	<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-jar-plugin</artifactId>
						<version>2.4</version>
					</plugin>
                
                    <!-- Source -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>2.4</version>
                        <executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
                        </executions>
                    </plugin>
                    <!-- Javadoc -->
                    
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>3.0.0</version>
						<configuration>
							<doclint>none</doclint>
							<additionalparam>-Xdoclint:none</additionalparam>
							<!--指定编码为UTF-8-->
							<!-- <encoding>UTF-8</encoding>
							<aggregate>true</aggregate>
							<charset>UTF-8</charset>
							<docencoding>UTF-8</docencoding> -->
						</configuration>
                        <executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</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>
            </build>
            <distributionManagement>
                <snapshotRepository>
                    <id>oss</id>
                    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
                </snapshotRepository>
                <repository>
                    <id>oss</id>
                    <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>
    
</project>