<?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>

	<groupId>com.github.developframework</groupId>
	<artifactId>expression</artifactId>
	<version>1.2.0</version>

	<name>Expression Framework</name>
	<url>https://github.com/developframework/expression</url>
	<description>Easy to get value from Object, Array or Map.</description>
	<inceptionYear>2017</inceptionYear>

	<developers>
		<developer>
			<name>qiuzhenhao</name>
			<email>408000511@qq.com</email>
			<organization>developframework</organization>
			<organizationUrl>http://blog.qiushuicloud.xyz</organizationUrl>
		</developer>
	</developers>

	<issueManagement>
		<system>GitHub Issues</system>
		<url>https://github.com/developframework/expression</url>
	</issueManagement>

	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<scm>
		<connection>scm:git:git@github.com:developframework/expression.git</connection>
		<developerConnection>scm:git:git@github.com:developframework/expression.git</developerConnection>
		<url>https://github.com/developframework/expression</url>
		<tag>1.2.0</tag>
	</scm>

	<properties>
		<version.develop-framework>0.2</version.develop-framework>
	</properties>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.github.developframework</groupId>
				<artifactId>develop-framework-platform</artifactId>
				<version>${version.develop-framework}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<dependencies>
		<dependency>
			<groupId>com.github.developframework</groupId>
			<artifactId>develop-framework-commons</artifactId>
			<exclusions>
				<exclusion>
					<groupId>com.github.developframework</groupId>
					<artifactId>develop-framework-components</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.fasterxml.jackson.core</groupId>
					<artifactId>jackson-databind</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
				<version>3.0.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<!-- 设置git 打tag的名称 -->
					<tagNameFormat>@{project.version}</tagNameFormat>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<profiles>
		<profile>
			<id>release</id>

			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>

			<build>
				<plugins>
					<plugin>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

</project>