<?xml version="1.0"?>
<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>
	<parent>
		<groupId>br.com.grosz</groupId>
		<artifactId>jobresources</artifactId>
		<version>0.0.2-SNAPSHOT</version>
	</parent>


	<groupId>br.com.grosz</groupId>
	<artifactId>jdbc-resources</artifactId>
	<version>0.0.2</version>
	<packaging>bundle</packaging>


	<name>jdbc-resources</name>
	<description>
		Permite abstrair a conexao e mantem consulta SQL e a geracao de sua
		representacao em uma unica classe.
	</description>
	<url>http://maven.apache.org</url>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.exec.skip>true</maven.exec.skip> <!-- default -->
	</properties>




	<dependencies>


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

	</dependencies>


	<build>
	
	<extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-webdav-jackrabbit</artifactId>
        <version>2.2</version>
      </extension>
    </extensions>
	
	
		<plugins>


 
			<plugin>
				<groupId>org.sonatype.central</groupId>
				<artifactId>central-publishing-maven-plugin</artifactId>
				<version>0.6.0</version>
				<extensions>true</extensions>
				<configuration>					
					<publishingServerId>central</publishingServerId>
					<tokenAuth>true</tokenAuth>
				</configuration>
			</plugin>

 
 
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>3.3.0</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.8.1</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>

 
 
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>3.2.5</version>							
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
						<configuration>
							
							<gpgArguments>
								<arg>--pinentry-mode</arg>
								<arg>loopback</arg>
								
							</gpgArguments>
						</configuration>
					</execution>
				</executions>
			</plugin>


			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
						<Bundle-Description>${project.description}</Bundle-Description>
						<Import-Package>
						</Import-Package>
						<Export-Package>
							br.com.grosz.jdbcresources,
							br.com.grosz.jdbcresources.formaters
						</Export-Package>
						<Bundle-ClassPath>
							.
						</Bundle-ClassPath>
					</instructions>
				</configuration>
			</plugin>

		</plugins>
	</build>

<!-- 
	<distributionManagement>
		<repository>
			<id>develop</id>
			<name>Internal Release Repository</name>
			<url>http://localhost:8080/repository/develop/</url>			
		</repository>

		<snapshotRepository>
			<id>develop</id>
			<name>Internal Snapshot Repository</name>
			<url>http://localhost:8080/repository/develop/</url>
		</snapshotRepository>
	</distributionManagement>
 -->
 
	<developers>
		<developer>
			<id>rgrosz</id>
			<name>Renato Alves Grosz</name>
			<email>renatogrosz@gmail.com</email>
			<roles>
				<role>architect</role>
				<role>>developer</role>
			</roles>
		</developer>
	</developers>

	<licenses>
		<license>
			<name>GPLv3</name>
			<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
			<distribution>repo</distribution>
			<comments>Este software foi criado inteiramente por Renato Alves
				Grosz e não faz uso de software GPL3 mas o distribui sobre a
				mesma licenca</comments>
		</license>
	</licenses>
	
	<scm>
		<connection>git@bitbucket.org:renatogrosz/jobresources.git</connection>
		<url>https://bitbucket.org/renatogrosz/jobresources</url>
	</scm>

</project>
