<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under 
the MIT License. See License.txt in the project root for license information. -->
<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>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-parent</artifactId>
		<version>1.2.1</version>
		<relativePath>../pom.xml</relativePath>
	</parent>

	<groupId>com.microsoft.azure</groupId>
	<artifactId>azure-keyvault</artifactId>
	<version>1.2.1</version>
	<packaging>jar</packaging>

	<name>Microsoft Azure SDK for Key Vault</name>
	<description>This package contains Microsoft Azure Key Vault SDK.</description>
	<url>https://github.com/Azure/azure-sdk-for-java</url>

	<distributionManagement>
		<site>
			<id>azure-java-build-docs</id>
			<url>${site.url}/site/${project.artifactId}</url>
		</site>
	</distributionManagement>

	<scm><url>https://github.com/Azure/azure-sdk-for-java</url></scm>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<legal><![CDATA[[INFO] Any downloads listed may be third party software.  Microsoft grants you no rights for third party software.]]></legal>
		<testMode>playback</testMode>
	</properties>

	<dependencies>
    <!-- COMPILE DEPENDENCIES -->
    <!-- Microsoft Azure KeyVault SDK Dependencies -->
    <dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-cryptography</artifactId>
	</dependency>

	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-keyvault-webkey</artifactId>
	</dependency>
    
    <!-- Other Microsoft Azure Dependencies -->
    <dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-client-runtime</artifactId>
	</dependency>
    
    <!-- Other Microsoft Dependencies -->
    <dependency>
      <groupId>com.microsoft.rest</groupId>
      <artifactId>client-runtime</artifactId>
    </dependency>
    
    <!-- TEST DEPENDENCIES -->
    <!-- Other Microsoft Azure Dependencies -->
    <dependency>
      <groupId>com.microsoft.azure</groupId>
      <artifactId>azure-mgmt-storage</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
	  <groupId>com.microsoft.azure</groupId>
	  <artifactId>azure-mgmt-graph-rbac</artifactId>
	  <scope>test</scope>
	</dependency>

    <dependency>
      <groupId>com.microsoft.azure</groupId>
       <artifactId>azure-mgmt-resources</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
	  <groupId>com.microsoft.azure</groupId>
	  <artifactId>azure-mgmt-keyvault</artifactId>
	  <scope>test</scope>
	  <exclusions>
		<exclusion>
			<groupId>com.microsoft.azure</groupId>
			<artifactId>azure-keyvault</artifactId>
		</exclusion>
	  </exclusions>
	</dependency>

    <dependency>
	  <groupId>com.microsoft.azure</groupId>
	  <artifactId>azure-mgmt-resources</artifactId>
	  <type>test-jar</type>
	  <scope>test</scope>
	</dependency>

    <dependency>
	  <groupId>com.microsoft.azure</groupId>
	  <artifactId>adal4j</artifactId>
	  <scope>test</scope>
	</dependency>

    <dependency>
      <groupId>com.microsoft.azure</groupId>
      <artifactId>azure-storage</artifactId>
      <scope>test</scope>
    </dependency>
    
    <!-- Other Dependencies -->

	<dependency>
		<groupId>com.microsoft.azure</groupId>
		<artifactId>azure-client-authentication</artifactId>
        <scope>test</scope>
	</dependency>

    <dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
		<scope>test</scope>
	</dependency>

	</dependencies>

	<build>
	  <plugins>

		<plugin>
		  <groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-jar-plugin</artifactId>
			  <configuration>
				<archive>
				  <manifest>
					<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
				    <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
				  </manifest>
				</archive>
			  </configuration>
		</plugin>

	    <plugin>
		  <groupId>org.codehaus.mojo</groupId>
		  <artifactId>build-helper-maven-plugin</artifactId>
		</plugin>

	    <plugin>
		  <groupId>org.apache.maven.plugins</groupId>
		  <artifactId>maven-failsafe-plugin</artifactId>
		  <configuration>
		    <additionalClasspathElements>
			<additionalClasspathElement>${basedir}/azure-keyvault/target/azure-keyvault-${project.version}.jar</additionalClasspathElement>
			</additionalClasspathElements>
		  </configuration>
		</plugin>
	  </plugins>

	</build>

</project>
