<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>br.com.esec.icpm</groupId>
	<artifactId>certillion-client-library</artifactId>
	<version>1.1.3</version>
	<packaging>jar</packaging>
	<name>Certillion Client Library</name>
	<description>This library is used to make integration with Certillion server, so our Clients can easily ask for signatures or generate certificates.</description>
	<url>http://www.certillion.com/index.php/desenvolvedor</url>
	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<name>Alex Oliveira</name>
			<email>aoliveira@esec.com.br</email>
			<organization>E-Sec Segurança de Dados</organization>
			<organizationUrl>http://www.esec.com.br</organizationUrl>
		</developer>
		<developer>
			<name>Caio Cristo</name>
			<email>caiocristo@esec.com.br</email>
			<organization>E-Sec Segurança de Dados</organization>
			<organizationUrl>http://www.esec.com.br</organizationUrl>
		</developer>
		<developer>
			<name>Cristiano Cristo</name>
			<email>ccristo@esec.com.br</email>
			<organization>E-Sec Segurança de Dados</organization>
			<organizationUrl>http://www.esec.com.br</organizationUrl>
		</developer>
		<developer>
			<name>Eduardo Sampaio</name>
			<email>esampaio@esec.com.br</email>
			<organization>E-Sec Segurança de Dados</organization>
			<organizationUrl>http://www.esec.com.br</organizationUrl>
		</developer>
		<developer>
			<name>Marcos Gordinho</name>
			<email>mgodinho@esec.com.br</email>
			<organization>E-Sec Segurança de Dados</organization>
			<organizationUrl>http://www.esec.com.br</organizationUrl>
		</developer>
		<developer>
			<name>Tales Porto</name>
			<email>tporto@esec.com.br</email>
			<organization>E-Sec Segurança de Dados</organization>
			<organizationUrl>http://www.esec.com.br</organizationUrl>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:certillion@github.com:example/client-library.git</connection>
		<developerConnection>scm:git:certillion@github.com:example/client-library.git</developerConnection>
		<url>certillion@github.com:certillion/client-library.git</url>
	</scm>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

		<compiler.source>1.6</compiler.source>
		<compiler.target>1.6</compiler.target>

		<!-- Certillion Server Version -->
		<!-- <certillion.server.version>${project.version}</certillion.server.version> -->
		<certillion.server.version>1.8.1</certillion.server.version>
	</properties>

	<dependencies>

		<!-- MSS-WS-CLIENT -->
		<dependency>
			<groupId>br.com.esec.icpm</groupId>
			<artifactId>mss-ws-client</artifactId>
			<version>${certillion.server.version}</version>
		</dependency>

		<!-- Security Helper -->
		<dependency>
			<groupId>br.com.esec.icpm</groupId>
			<artifactId>icpm-security-helper</artifactId>
			<version>1.2.3-SNAPSHOT</version>
			<exclusions>
				<exclusion>
					<artifactId>resteasy-jaxrs</artifactId>
					<groupId>org.jboss.resteasy</groupId>
				</exclusion>
				<exclusion>
					<artifactId>resteasy-client</artifactId>
					<groupId>org.jboss.resteasy</groupId>
				</exclusion>
			</exclusions>
		</dependency>

		<!-- Esec Itext -->
		<dependency>
			<groupId>br.com.esec</groupId>
			<artifactId>esec-itext</artifactId>
			<version>1.0.0</version>
		</dependency>

		<!-- Guava -->
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>18.0</version>
		</dependency>

		<!-- JUnit 4 -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>

		<!-- SL4J -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>1.5.8</version>
			<scope>test</scope>
		</dependency>

		<!-- Mockito -->
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.9.5</version>
			<scope>test</scope>
		</dependency>

	</dependencies>
	<build>
		<plugins>
			<!-- COMPILER PLUGIN -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<source>${compiler.source}</source>
					<target>${compiler.target}</target>
				</configuration>
			</plugin>

			<!-- SOURCE PLUGIN -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<!-- JAVADOC PLUGIN -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<configuration>
					<quiet>true</quiet>
					<failOnError>false</failOnError>
					<verbose>false</verbose>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.5.5</version>
				<configuration>
					<descriptorRefs>
						<descriptorRef>jar-with-dependencies</descriptorRef>
					</descriptorRefs>
				</configuration>
				<executions>
					<execution>
						<id>make-assembly</id> <!-- this is used for inheritance merges -->
						<phase>package</phase> <!-- bind to the packaging phase -->
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<distributionManagement>
		<repository>
			<id>nexus</id>
			<url>http://esec-server:8080/nexus/content/repositories/releases/</url>
		</repository>

		<snapshotRepository>
			<id>nexus</id>
			<url>http://esec-server:8080/nexus/content/repositories/snapshots/</url>
		</snapshotRepository>
	</distributionManagement>
</project>