<?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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.1.4.RELEASE</version>
	</parent>
	<groupId>cn.51daxia</groupId>
	<artifactId>spring</artifactId>
	<version>1.0</version>
	<name>spring</name>
  <description>jfinal-websocket to develop websocket</description>
   <url>https://gitee.com/xxssyyyyssxx/jfinal-websocket</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>
  <developers>
    <developer>
      <id>xxssyyyyssxx</id>
      <name>xiongshiyan</name>
      <email>xxssyyyyssxx@126.com</email>
    </developer>
  </developers>
  <scm>
    <connection>https://gitee.com/xxssyyyyssxx/jfinal-websocket.git</connection>
    <developerConnection>https://gitee.com/xxssyyyyssxx/jfinal-websocket.git</developerConnection>
    <url>https://gitee.com/xxssyyyyssxx/jfinal-websocket</url>
  </scm>
	<properties>
		<java.version>1.8</java.version>
		<servlet-api.version>4.0.0</servlet-api.version>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>${java.version}</maven.compiler.source>
		<maven.compiler.target>${java.version}</maven.compiler.target>
		<spring-boot.version>2.1.7.RELEASE</spring-boot.version>
		<swagger.version>1.7.0.RELEASE</swagger.version>
		<jfinal.version>3.4</jfinal.version>
		<!--  <mysql.version>5.1.47</mysql.version>-->
		<mysql.version>8.0.17</mysql.version>
		<hikariCP.version>3.3.1</hikariCP.version>
		<shiro.version>1.3.2</shiro.version>
		<javajwt.version>3.2.0</javajwt.version>
		<fastjson.version>1.2.38</fastjson.version>
		<commonLang3.version>3.9</commonLang3.version>
		<okhttp3.version>3.11.0</okhttp3.version>
		<commonPool2.version>2.5.0</commonPool2.version>
		<jedis.version>2.9.0</jedis.version>
		<spingDataRedis.version>2.1.0.RELEASE</spingDataRedis.version>
		<maven.deploy.skip>true</maven.deploy.skip>
		<spring-boot-admin.version>2.1.6</spring-boot-admin.version>
	</properties>
    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <!-- Source -->
                   <plugin>
			        <groupId>org.apache.maven.plugins</groupId>
			        <artifactId>maven-source-plugin</artifactId>
			        <version>3.1.0</version>
			        <executions>
			          <execution>
			            <id>attach-sources</id>
			            <phase>verify</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.10.4</version>
				<configuration>
					<!-- 解决 java8  发布到 maven 异常 -->
					<additionalparam>-Xdoclint:none</additionalparam>
					<encoding>UTF-8</encoding>
				</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>
                    <!--Compiler-->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <version>3.8.0</version>
                        <configuration>
                            <source>1.8</source>
                            <target>1.8</target>
                            <fork>true</fork>
                            <verbose>true</verbose>
                            <encoding>UTF-8</encoding>
                            <showWarnings>false</showWarnings>
                        </configuration>
                    </plugin>
                    <!--Release-->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-release-plugin</artifactId>
                        <version>2.5.3</version>
                    </plugin>
                </plugins>
            </build>
            <distributionManagement>
                <snapshotRepository>
                    <id>zzz-releases</id>
                    <name>zzz-releases</name>
                    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
                </snapshotRepository>
                <repository>
                    <id>zzz-snapshots</id>
                    <name>zzz-snapshots</name>
                    <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
			<exclusions>
				<exclusion>
					<groupId>org.springframework.boot</groupId>
					<artifactId>spring-boot-starter-tomcat</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-undertow</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-cache</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-redis</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-mail</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-aop</artifactId>
		</dependency>
		<!-- spring boot admin start -->
       
        <dependency>
            <groupId>de.codecentric</groupId>
            <artifactId>spring-boot-admin-starter-client</artifactId>
            <version>${spring-boot-admin.version}</version>
        </dependency>
	</dependencies>

	

</project>