<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>security-helper</artifactId>
	<version>1.2.5</version>
	<packaging>jar</packaging>

	<name>Certillion Security Helper</name>
	<description>This library is used to help with HTTP with SSL auth client and WS-Secutiry.</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>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:git@github.com:certillion/security-helper.git</connection>
		<developerConnection>scm:git:git@github.com:certillion/security-helper.git</developerConnection>
		<url>git@github.com:certillion/security-helper.git</url>
	</scm>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

		<compiler.source>1.6</compiler.source>
		<compiler.target>1.6</compiler.target>

		<cxf.version>2.7.3</cxf.version>
		<resteasy.version>3.0.2.Final</resteasy.version>
	</properties>

	<dependencies>
	
		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>javax.ws.rs-api</artifactId>
			<version>2.0.1</version>
		</dependency>

		<!-- Apache Commons -->
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.4</version>
		</dependency>

		<!-- Http Components -->
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>4.3.3</version>
		</dependency>

		<!-- Apache CXF -->
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-frontend-jaxws</artifactId>
			<version>${cxf.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-transports-http</artifactId>
			<version>${cxf.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-ws-security</artifactId>
			<version>${cxf.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-ws-policy</artifactId>
			<version>${cxf.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-api</artifactId>
			<version>${cxf.version}</version>
			<scope>compile</scope>
		</dependency>

		<!-- RESTeasy -->

		<!-- 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>
	</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>

			<!-- JAR PLUGIN -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.3.1</version>
			</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>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-jgitflow-plugin</artifactId>
				<version>1.0-alpha20</version>
				<configuration>
					<!-- Enable this to push to origin using SSH keys -->
					<enableSshAgent>true</enableSshAgent>
					<!-- Keep your maven submodules at the same version as the parent POM -->
					<autoVersionSubmodules>true</autoVersionSubmodules>
					<!-- Pusing in-development features to origin allows all devs to see what each other are working on -->
					<pushFeatures>true</pushFeatures>
					<!-- This allows the CI server (e.g. Jenkins) to automatically push new releases to origin; you can then either manually deploy them or, if you are doing Continuous Deployments, 
						auto-deploy them to prod -->
					<pushReleases>true</pushReleases>
					<!-- Hot Fixes should be pushed to origin as well so that any dev can pick them up -->
					<pushHotfixes>true</pushHotfixes>
					<!-- Prevents deployments from dev workstations so that they can be done by a CI server -->
					<noDeploy>true</noDeploy>
					<flowInitContext>
						<!-- You can customize your development branch name. Why? Because it's faster to type 'git push origin dvlp' than 'git push origin develop' ;-) -->
						<!-- <developBranchName>dvlp</developBranchName> -->
						<!-- You can also customize your tag prefixes -->
						<!-- <versionTagPrefix>rev-</versionTagPrefix> -->
					</flowInitContext>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<distributionManagement>
		<repository>
			<id>jcenter</id>
			<url>https://api.bintray.com/maven/e-sec/Certillion/security-helper/;publish=1</url>
		</repository>

		<snapshotRepository>
			<id>nexus</id>
			<url>http://esec-server:8080/nexus/content/repositories/snapshots/</url>
		</snapshotRepository>
	</distributionManagement>
</project>
