<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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>com.kiuwan</groupId>
	<artifactId>kiuwan-rest-client</artifactId>
	<packaging>jar</packaging>
	<version>2.8.2004.5</version>

	<name>Kiuwan Java REST Client</name>
	<description>A client to invoke Kiuwan's REST API from Java code</description>
	<url>https://www.kiuwan.com/docs/display/K5/REST+API</url>

	<properties>
		<developer.connection />
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<okhttp-version>2.7.5</okhttp-version>
		<gson-fire-version>1.8.0</gson-fire-version>
	</properties>
	
	<organization>
		<name>Kiuwan Software S.L.</name>
		<url>https://www.kiuwan.com</url>
	</organization>

	<developers>
		<developer>
		<name>Kiuwan development team</name>
		<email>contact@kiuwan.com</email>
		<organization>Kiuwan Software S.L.</organization>
		<organizationUrl>https://www.kiuwan.com</organizationUrl>
		</developer>
	</developers>
	
	<scm>
		<developerConnection>${developer.connection}</developerConnection>
		<url />
		<tag>kiuwan-rest-client-2.8.2004.5</tag>
	</scm>

	<licenses>
		<license>
			<name>MIT</name>
			<url>https://opensource.org/licenses/MIT</url>
			<distribution>repo</distribution>
		</license>
	</licenses>


	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-clean-plugin</artifactId>
				<version>2.4.1</version>
				<configuration>
					<excludeDefaultDirectories>true</excludeDefaultDirectories>
					<filesets>
						<fileset>
							<directory>${project.build.directory}</directory>
							<includes>
								<include>${project.artifactId}-${project.version}*.*</include>
								<include>maven-archiver/pom.properties</include>
							</includes>
							<followSymlinks>false</followSymlinks>
						</fileset>
					</filesets>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<excludes>
						<exclude>META-INF/**</exclude>
					</excludes>
					<archive>
						<manifestEntries>
							<Implementation-version>${project.version}</Implementation-version>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.10.4</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<version>3.0.0</version>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>add-source</goal>
						</goals>
						<configuration>
							<sources>
								<source>${project.build.directory}/generated-sources/swagger/src/main/java</source>
							</sources>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.3</version>
				<configuration>
					<goals>install</goals>
				</configuration>
				<executions>
					<execution>
						<id>default</id>
						<goals>
							<goal>prepare</goal>
							<goal>perform</goal>
						</goals>
						<configuration>
							<pomFileName>client/pom-kiuwan-rest-client.xml</pomFileName>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>com.squareup.okhttp</groupId>
			<artifactId>okhttp</artifactId>
			<version>${okhttp-version}</version>
		</dependency>
		<dependency>
			<groupId>com.squareup.okhttp</groupId>
			<artifactId>logging-interceptor</artifactId>
			<version>${okhttp-version}</version>
		</dependency>
		<dependency>
			<groupId>io.gsonfire</groupId>
			<artifactId>gson-fire</artifactId>
			<version>${gson-fire-version}</version>
		</dependency>
	</dependencies>

</project>
