<?xml version="1.0" encoding="UTF-8"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<modelVersion>4.0.0</modelVersion>

	<groupId>com.sap.cloud.servicesdk</groupId>
	<artifactId>parent</artifactId>
	<version>1.1.3</version>
	<packaging>pom</packaging>
	<name>com.sap.cloud.servicesdk.parent</name>
	<description>SAP Cloud Platform SDK for service development</description>
	<url>http://www.sap.com</url>
	<scm>
		<connection />
		<url />
	</scm>
	<developers>
		<developer>
			<name>SAP SE</name>
			<organization>SAP SE</organization>
			<organizationUrl>http://www.sap.com</organizationUrl>
		</developer>
	</developers>
	<licenses>
		<license>
			<name>SAP DEVELOPER LICENSE AGREEMENT</name>
			<url>https://tools.hana.ondemand.com/developer-license-3_1.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<!-- Dependencies version -->
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<javax.version>3.1.0</javax.version>
		<olingo.std.version>4.3.0</olingo.std.version>
		<olingo.sap.patch.version>sap-04</olingo.sap.patch.version>
		<odata.version>${olingo.std.version}-${olingo.sap.patch.version}</odata.version>
		<slf4j.version>1.7.7</slf4j.version>
		<mockito.version>1.9.5</mockito.version>
		<guava.version>21.0</guava.version>
		<junit.version>4.8.1</junit.version>
		<junitaddons.version>1.4</junitaddons.version>
		<cxs.rt.version>1.7.4</cxs.rt.version>
		<cxs.rt.api>${cxs.rt.version}</cxs.rt.api>
		<cxs.rt.core>${cxs.rt.version}</cxs.rt.core>
		<cxs.hana.connectivity.cds>${cxs.rt.version}</cxs.hana.connectivity.cds>
		<gateway.v4.rt.cds.version>${cxs.rt.version}</gateway.v4.rt.cds.version>
		<gateway.core.version>1.35.3</gateway.core.version>

		<!-- Olingo version -->
		<odata.version>4.3.0-sap-04</odata.version>
		<olingo.v2.prov.version>2.0.6-sap-12</olingo.v2.prov.version>
		<olingo.v2.version>2.0.8-sap-04</olingo.v2.version>

		<sfin.sdk.version>0.0.9</sfin.sdk.version>

		<httpclient.version>4.2.6</httpclient.version>
		<httpcore.version>4.2.5</httpcore.version>
		<javax.version>3.1.0</javax.version>
		<javax.servlet.version>2.5</javax.servlet.version>

		<!-- org.apache jars -->
		<org.apache.derby.version>10.8.3.0</org.apache.derby.version>
		<org.apache.commons.version>1.4</org.apache.commons.version>
		<org.apache.commons.io.version>1.3.2</org.apache.commons.io.version>
		<org.apache.commons.lang.version>3.3.2</org.apache.commons.lang.version>
		<guava.version>21.0</guava.version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<org.eclipse.jetty.version>9.2.7.v20150116</org.eclipse.jetty.version>
		<org.eclipse.persistence.version>2.5.0</org.eclipse.persistence.version>

		<!-- Hystrix Versions -->
		<hystrix.core.version>1.5.9</hystrix.core.version>
		<archaius.core.version>0.4.1</archaius.core.version>
	</properties>

	<modules>
		<module>../cloudplatform</module>
		<module>../core</module>
		<module>../archetype</module>
		<module>../datasource</module>
		<module>../documentation</module>
		<!-- <module>../csnparser</module> <module>../codegenerator</module> -->
	</modules>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.felix</groupId>
					<artifactId>maven-bundle-plugin</artifactId>
					<version>2.3.7</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jar-plugin</artifactId>
					<version>2.5</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.12.4</version>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<wtpversion>2.0</wtpversion>
					<downloadSources>true</downloadSources>
					<downloadJavadocs>true</downloadJavadocs>
					<projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<!-- for internal teams since we cannot ship sources in sources jar -->
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<classifier>internal-sources</classifier>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<executions>
					<execution>
						<id>empty-source-jar</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<classifier>sources</classifier>
							<forceCreation>true</forceCreation>
							<includePom>true</includePom>
							<includes>
								<include>README</include>
							</includes>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<!-- additionalparam>-Xdoclint:none</additionalparam -->
					<show>public</show>
					<nohelp>true</nohelp>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<show>public</show>
				</configuration>
			</plugin>
		</plugins>
	</reporting>

	<distributionManagement>
		<snapshotRepository>
			<id>deploy.snapshots</id>
			<url>${deploy.snapshot.repository.url}</url>
		</snapshotRepository>
		<repository>
			<id>deploy.release</id>
			<url>${deploy.release.repository.url}</url>
		</repository>
	</distributionManagement>
	<organization>
		<name>SAP</name>
	</organization>

	<profiles>
		<profile>
			<id>release.build</id>
			<activation>
				<property>
					<name>ldi.releaseBuild</name>
				</property>
			</activation>
			<properties>
				<maven.test.skip>true</maven.test.skip>
			</properties>
		</profile>
	</profiles>
</project>