<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.sf3jswing</groupId>
        <artifactId>AntBuildFiles</artifactId>
        <version>1.0.1</version>
        <packaging>pom</packaging>
        <url>http://www.sourceforge.net/projects/sf3jswing</url>
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
        <!-- Sonatype Deployment -->
        <distributionManagement>
                <snapshotRepository>
                        <id>ossrh</id>
                        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                </snapshotRepository>
        </distributionManagement>
        <profiles>
                <profile> 
                        <id>ossrh-release</id>
                        <build>              
                                <plugins>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-release-plugin</artifactId>
                                                <version>2.5.3</version>
                                                <configuration>
                                                        <autoVersionSubmodules>true</autoVersionSubmodules>
                                                        <useReleaseProfile>false</useReleaseProfile>
                                                        <releaseProfiles>ossrh-release</releaseProfiles>
                                                        <goals>deploy</goals>
                                                </configuration>
                                        </plugin>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-source-plugin</artifactId>
                                                <version>2.4</version>
                                        </plugin>
                                        <plugin>
                                                <groupId>org.apache.maven.plugins</groupId>
                                                <artifactId>maven-javadoc-plugin</artifactId>
                                                <version>2.10.3</version>
                                                <configuration>
                                                        <!-- JavaDoc configuration here for custom layout-->
                                                        <tags>
                                                                <tag>
                                                                        <name>default</name>
                                                                        <placement>m</placement>
                                                                        <head>Default value :</head>
                                                                </tag>
                                                                <tag>
                                                                        <name>discussion</name>
                                                                        <placement>a</placement>
                                                                        <head>More about :</head>
                                                                </tag>
                                                        </tags>
                                                        <failOnError>false</failOnError>
                                                </configuration>
                                                <executions>
                                                        <execution>
                                                                <id>attach-javadocs</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>
                                        </plugin>
                                </plugins>
                                <pluginManagement>
                                        <plugins>
                                                <plugin>
                                                        <groupId>org.apache.maven.plugins</groupId>
                                                        <artifactId>maven-source-plugin</artifactId>
                                                        <version>2.4</version>
                                                        <executions>
                                                                <execution>
                                                                        <id>attach-sources</id>
                                                                        <goals>
                                                                                <goal>jar-no-fork</goal>
                                                                        </goals>
                                                                </execution>
                                                        </executions>
                                                </plugin>
                                                <plugin>
                                                        <groupId>org.apache.maven.plugins</groupId>
                                                        <artifactId>maven-javadoc-plugin</artifactId>
                                                        <version>2.10.3</version>
                                                        <executions>
                                                                <execution>
                                                                        <id>attach-javadocs</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>
                                        </plugins>
                                </pluginManagement>
                        </build>
                </profile>
        </profiles>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>properties-maven-plugin</artifactId>
                                <version>1.0.0</version>
                        </plugin>
                        <plugin>
                                <!-- Sonatype Nexus Staging deployment -->
                                <groupId>org.sonatype.plugins</groupId>
                                <artifactId>nexus-staging-maven-plugin</artifactId>
                                <version>1.6.3</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <serverId>ossrh</serverId>
                                        <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                                        <autoReleaseAfterClose>true</autoReleaseAfterClose>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
        <name>SF3JSWING : AntBuildFiles</name>
        <description>This Pom project is supposed to collect Ant files configuration. No sensible information is collected, as of certificates and private keys mustn't be packaged.</description>
                
        <!-- sonatype required information -->
        <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>Tiana Rakoto</name>
                        <email>b23prodtm@gmail.com</email>
                        <organization>b23production GNU/GPL</organization>
                        <organizationUrl>http://www.b23prodtm.info</organizationUrl>
                </developer>
        </developers>
        <scm>
                <connection>scm:git:ssh://git@bitbucket.org/b23prodtm/sf3-afile.git</connection>
                <developerConnection>scm:git:ssh://git@bitbucket.org/b23prodtm/sf3-afile.git</developerConnection>
                <url>https://bitbucket.org/b23prodtm/sf3-afile</url>
                <tag>AntBuildFiles-1.0.0</tag>
        </scm>
</project>