<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>com.github.thiagonego</groupId>
	<artifactId>alfred</artifactId>
	<version>1.4.0</version>
	<packaging>jar</packaging>

	<name>Suite de utilitário para qualquer código Java/Groovy</name>
	<description>
   		 Reutilize ao máximo nossos códigos
  	</description>
	<inceptionYear>2009</inceptionYear>

	<properties>
		<skipSite>false</skipSite>
		<javadoc.opts>-Xdoclint:none</javadoc.opts>
		<github.global.server>github</github.global.server>
	</properties>

	<issueManagement>
		<system>Github</system>
		<url>https://github.com/thiagonego/alfred/issues</url>
	</issueManagement>

	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<developers>
		<developer>
			<id>1</id>
			<name>Marlon Carvalho</name>
			<email>marlon.carvalho@gmail.com</email>
		</developer>
		<developer>
			<id>2</id>
			<name>Thiago Sampaio</name>
			<email>thiagonego@gmail.com</email>
		</developer>
		<developer>
			<id>3</id>
			<name>Valber Carreiro</name>
			<email>valbercarreiro@gmail.com</email>
		</developer>
	</developers>

	<contributors>
		<contributor>
			<name>Marlon Carvalho</name>
		</contributor>
		<contributor>
			<name>Thiago Sampaio</name>
		</contributor>
		<contributor>
			<name>Valber Carreiro</name>
		</contributor>
	</contributors>

	<scm>
		<connection>scm:git:https://github.com/thiagonego/alfred</connection>
		<developerConnection>scm:git:https://github.com/thiagonego/alfred</developerConnection>
		<url>https://github.com/thiagonego/alfred.git</url>
	</scm>

	<distributionManagement>
		<snapshotRepository>
			<id>deploy</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>deploy</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<build>
		<plugins>
			<plugin>
				<groupId>com.github.github</groupId>
				<artifactId>site-maven-plugin</artifactId>
				<version>0.11</version>
				<configuration>
					<skip>${skipSite}</skip>
					<message>Maven artifacts for ${project.version}</message>  <!-- git commit message -->
					<noJekyll>true</noJekyll>                                  <!-- disable webpage processing -->
					<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
					<branch>refs/heads/mvn-repo</branch>                       <!-- remote branch name -->
					<includes>
						<include>**/*</include>
					</includes>
					<repositoryName>public_maven_repository</repositoryName>      <!-- github repo name -->
					<repositoryOwner>thiagonego</repositoryOwner>      <!-- github username -->
				</configuration>
				<executions>
					<!-- run site-maven-plugin's 'site' target as part of the build's normal 
						'deploy' phase -->
					<execution>
						<goals>
							<goal>site</goal>
						</goals>
						<phase>deploy</phase>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.8.0</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
					<encoding>ISO-8859-1</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>3.0.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-gpg-plugin</artifactId>
				<version>1.6</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</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>
						<configuration>
							<additionalparam>${javadoc.opts}</additionalparam>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.7</version>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.10</version>
		</dependency>
	</dependencies>

	<profiles>
		<profile>
			<id>release</id>
			<properties>
				<skipSite>true</skipSite>
			</properties>
		</profile>
	</profiles>

	<url>https://github.com/thiagonego/alfred</url>
</project>
