<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>
	<groupId>com.github.lailaik</groupId>
	<artifactId>halo-parent</artifactId>
	<version>1.1.1</version>
	<packaging>pom</packaging>
	<name>halo</name>
	<description>halo</description>
	<url>https://github.com/lailaik/xml2html</url>
	<licenses>
		<license>
			<name>The ApacheSoftware License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<developers>
		<developer>
			<name>HawkWang</name>
			<email>13767163727@139.com</email>
		</developer>
	</developers>
	<scm>
		<tag>master</tag>
		<connection>https://github.com/lailaik/xml2html.git</connection>
		<developerConnection>https://github.com/lailaik/</developerConnection>
		<url>https://github.com/lailaik/xml2html.git</url>
	</scm>
	<modules>
		<module>halo-util</module>
		<module>halo-config</module>
		<module>halo-core</module>
		<module>halo-api</module>
		<!-- <module>halo-webapp</module> <module>halo-app</module> -->

		<module>halo-exception</module>
		<module>halo-static</module>
	</modules>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.0.5.RELEASE</version>
		<relativePath />
	</parent>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<spring-boot-starter-parent.version>2.0.5.RELEASE</spring-boot-starter-parent.version>
		<hutoo-all.version>4.1.1</hutoo-all.version>
		<java.version>1.8</java.version>
		<xstream.version>1.4.2</xstream.version>
		<beetl.version>2.8.5</beetl.version>
		<fastjson.version>1.2.41</fastjson.version>
		<druid-spring-boot-starter.version>1.1.10</druid-spring-boot-starter.version>
		<dom4j.version>2.1.1</dom4j.version>
		<joda-time.version>2.9.9</joda-time.version>
		<lombok.version>1.16.22</lombok.version>
		<cache-api.version>1.1.0</cache-api.version>
		<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
		<mysql.version>5.1.47</mysql.version>
		<ehcache.version>3.5.2</ehcache.version>
		<shiro.version>1.4.0</shiro.version>
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<optional>true</optional>
		</dependency>
	</dependencies>
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-starter-web</artifactId>
				<version>${spring-boot-starter-parent.version}</version>
				<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-aop</artifactId>
				<version>${spring-boot-starter-parent.version}</version>
			</dependency>

			<dependency>
				<groupId>org.projectlombok</groupId>
				<artifactId>lombok</artifactId>
				<version>${lombok.version}</version>
				<optional>true</optional>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.rythmengine/spring-rythm -->

			<dependency>
				<groupId>cn.hutool</groupId>
				<artifactId>hutool-all</artifactId>
				<version>${hutoo-all.version}</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
			<dependency>
				<groupId>joda-time</groupId>
				<artifactId>joda-time</artifactId>
				<version>${joda-time.version}</version>
			</dependency>

			<dependency>
				<groupId>com.thoughtworks.xstream</groupId>
				<artifactId>xstream</artifactId>
				<version>${xstream.version}</version>
			</dependency>
			<dependency>
				<groupId>com.ibeetl</groupId>
				<artifactId>beetl</artifactId>
				<version>${beetl.version}</version>
			</dependency>
			<dependency>
				<groupId>com.alibaba</groupId>
				<artifactId>fastjson</artifactId>
				<version>${fastjson.version}</version>
			</dependency>
			<dependency>
				<groupId>com.alibaba</groupId>
				<artifactId>druid-spring-boot-starter</artifactId>
				<version>${druid-spring-boot-starter.version}</version>
				<exclusions>
					<exclusion>
						<groupId>org.springframework.boot</groupId>
						<artifactId>spring-boot-autoconfigure</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-configuration-processor</artifactId>
				<version>${spring-boot-starter-parent.version}</version>
				<optional>true</optional>
			</dependency>
			<dependency>
				<groupId>mysql</groupId>
				<artifactId>mysql-connector-java</artifactId>
				<version>${mysql.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-starter-jdbc</artifactId>
				<version>${spring-boot-starter-parent.version}</version>
			</dependency>
			<dependency>
				<groupId>javax.servlet</groupId>
				<artifactId>javax.servlet-api</artifactId>
				<version>${javax.servlet-api.version}</version>
				<scope>provided</scope>
			</dependency>

			<!-- https://mvnrepository.com/artifact/com.healthmarketscience.sqlbuilder/sqlbuilder -->

			<dependency>
				<groupId>org.dom4j</groupId>
				<artifactId>dom4j</artifactId>
				<version>${dom4j.version}</version>
			</dependency>

			<!-- 缓存 -->
			<dependency>
				<groupId>org.ehcache</groupId>
				<artifactId>ehcache</artifactId>
				<version>${ehcache.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-starter-cache</artifactId>
				<version>${spring-boot-starter-parent.version}</version>
			</dependency>
			<dependency>
				<groupId>javax.cache</groupId>
				<artifactId>cache-api</artifactId>
				<version>${cache-api.version}</version>
			</dependency>

			<!--Shiro核心框架 -->
			<dependency>
				<groupId>org.apache.shiro</groupId>
				<artifactId>shiro-core</artifactId>
				<version>${shiro.version}</version>
				<scope>provided</scope>
			</dependency>

			<!-- Shiro使用Srping框架 -->
			<dependency>
				<groupId>org.apache.shiro</groupId>
				<artifactId>shiro-spring</artifactId>
				<version>${shiro.version}</version>
				<scope>provided</scope>
			</dependency>

			<!-- 前端JS、CSS引用WebJar -->
			<!-- https://mvnrepository.com/artifact/org.webjars.bower/jquery -->
			<dependency>
				<groupId>org.webjars.bower</groupId>
				<artifactId>jquery</artifactId>
				<version>3.3.1</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.webjars.bower/jquery-ui -->
			<dependency>
				<groupId>org.webjars.bower</groupId>
				<artifactId>jquery-ui</artifactId>
				<version>1.12.1</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.webjars/lobipanel -->
			<dependency>
				<groupId>org.webjars</groupId>
				<artifactId>lobipanel</artifactId>
				<version>0.6</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.webjars/respond -->
			<dependency>
				<groupId>org.webjars</groupId>
				<artifactId>respond</artifactId>
				<version>1.4.2-1</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.webjars/html5shiv -->
			<dependency>
				<groupId>org.webjars</groupId>
				<artifactId>html5shiv</artifactId>
				<version>3.7.3-1</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.webjars.bower/bootstrap -->
			<dependency>
				<groupId>org.webjars.bower</groupId>
				<artifactId>bootstrap</artifactId>
				<version>4.1.3</version>
			</dependency>


			<!-- https://mvnrepository.com/artifact/org.webjars.bower/font-awesome -->
			<dependency>
				<groupId>org.webjars.bower</groupId>
				<artifactId>font-awesome</artifactId>
				<version>4.7.0</version>
			</dependency>


			<!-- https://mvnrepository.com/artifact/org.webjars/jquery-ui-touch-punch -->
			<dependency>
				<groupId>org.webjars</groupId>
				<artifactId>jquery-ui-touch-punch</artifactId>
				<version>0.2.3-2</version>
				<exclusions>
					<exclusion>
						<groupId>org.webjars</groupId>
						<artifactId>jquery</artifactId>
					</exclusion>
					<exclusion>
						<groupId>org.webjars</groupId>
						<artifactId>jquery-ui</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<!-- https://mvnrepository.com/artifact/org.webjars.bower/echarts -->
			<dependency>
				<groupId>org.webjars.bower</groupId>
				<artifactId>echarts</artifactId>
				<version>4.1.0-release</version>
			</dependency>

			<!-- https://mvnrepository.com/artifact/org.webjars/webjars-locator -->
			<dependency>
				<groupId>org.webjars</groupId>
				<artifactId>webjars-locator</artifactId>
				<version>0.34</version>
			</dependency>
		</dependencies>
	</dependencyManagement>


	<!-- 阿里云maven仓库 -->
	<repositories>
		<repository>
			<id>public</id>
			<name>aliyun nexus</name>
			<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>public</id>
			<name>aliyun nexus</name>
			<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>


	<build>
		<plugins>
			<!-- Compiler 插件, 设定JDK版本 -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>${java.version}</source>
					<target>${java.version}</target>
					<showWarnings>true</showWarnings>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<!-- Source -->
					<!-- --><plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> 
						<version>2.2.1</version> <executions> <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>
								</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>
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.3</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>sonatype</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-release-plugin</artifactId>
						<version>2.3.2</version>
						<configuration>
							<autoVersionSubmodules>true</autoVersionSubmodules>
							<useReleaseProfile>false</useReleaseProfile>
							<releaseProfiles>release</releaseProfiles>
							<goals>deploy</goals>
						</configuration>
					</plugin>
				</plugins>
			</build>
			<distributionManagement>
				<snapshotRepository>
					<id>sonatype</id>
					<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
				</snapshotRepository>
				<repository>
					<id>sonatype</id>
					<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
				</repository>
			</distributionManagement>
		</profile>
	</profiles>
</project>