<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.bsc.maven</groupId>
    <artifactId>maven-processor-plugin</artifactId>
    <packaging>maven-plugin</packaging>
    <version>2.0.7.2-redhat</version>
    <name>maven-processor-plugin - ${project.version}</name>
    <description>A maven plugin to process annotation for jdk6 at compile time

        This plugin helps to use from maven the new annotation processing provided by JDK6 integrated in java compiler

        This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.codehaus.org/apt-maven-plugin/ </description>
    <url>http://code.google.com/p/maven-annotation-plugin/</url>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>2.5.1</version>
            </plugin>
        </plugins>
    </reporting>

    <!--distributionManagement>
        <repository>
            <id>${release.repo.id}</id>
            <url>${release.repo.url}</url>
        </repository>
        <snapshotRepository>
            <id>${snapshot.repo.id}</id>
            <url>${snapshot.repo.url}</url>
            <uniqueVersion>false</uniqueVersion>
        </snapshotRepository>
        <site>
            <id>${release.site.id}</id>
            <url>${release.site.url}</url>
        </site>
    </distributionManagement-->

    <properties>
        <!-- SONATYPE REPO -->
        <snapshot.repo.id>sonatype-repo</snapshot.repo.id>
        <snapshot.repo.url>https://oss.sonatype.org/content/repositories/snapshots</snapshot.repo.url>
        <release.repo.id>sonatype-repo</release.repo.id>
        <release.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2</release.repo.url>

        <!-- GOOGLE REPO
            <snapshot.repo.id>google-project</snapshot.repo.id>
            <snapshot.repo.url>svn:https://maven-annotation-plugin.googlecode.com/svn/trunk/mavenrepo</snapshot.repo.url>
        -->
        <!-- JAVA.NET
           <release.repo.id>java.net-m2-repository</release.repo.id>
           <release.repo.url>java-net:/maven2-repository/trunk/repository/</release.repo.url>
        -->
        <release.site.url>svn:https://maven-annotation-plugin.googlecode.com/svn/docs</release.site.url>
        <release.site.id>google-project</release.site.id>
        <maven.anno.version>1.3.1</maven.anno.version>
    </properties>


    <scm>
        <connection>scm:git:https://bartolomeo.sorrentino@code.google.com/p/maven-annotation-plugin/</connection>
        <developerConnection>scm:git:https://bartolomeo.sorrentino@code.google.com/p/maven-annotation-plugin/</developerConnection>
        <url>https://bartolomeo.sorrentino@code.google.com/p/maven-annotation-plugin/</url>
    </scm>

    <inceptionYear>2009</inceptionYear>

    <developers>
        <developer>
            <email>bartolomeo.sorrentino@gmail.com</email>
            <name>Bartolomeo Sorrentino</name>
            <timezone>GMT+1</timezone>
            <roles>
                <role>Owner</role>
            </roles>
        </developer>
        <developer>
            <email>igor.vay...@gmail.com</email>
            <name>Igor Vaynberg</name>
            <roles>
                <role>Committer</role>
            </roles>
        </developer>
    </developers>
    <licenses>
        <license>
            <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
            <url>http://www.gnu.org/licenses/lgpl.html</url>
        </license>
    </licenses>

    <dependencies>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-plugin-api</artifactId>
            <version>3.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-core</artifactId>
            <version>3.0.1</version>
        </dependency>



        <!--
         <dependency>
           <groupId>org.jfrog.maven.annomojo</groupId>
           <artifactId>maven-plugin-tools-anno</artifactId>
           <version>${maven.anno.version}</version>
         </dependency>
        -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <!--
    <repositories>
        <repository>
          <id>jfrog</id>
          <name>jfrog repository</name>
          <layout>default</layout>
          <url>http://repo.jfrog.org/artifactory/plugins-releases-local</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
          <id>jfrog</id>
          <name>jfrog repository</name>
          <layout>default</layout>
          <url>http://repo.jfrog.org/artifactory/plugins-releases-local</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
    </pluginRepositories>
    -->

    <build>

        <plugins>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>2.6</version>

                <dependencies>
                    <!--
                       <dependency>
                         <groupId>org.jfrog.maven.annomojo</groupId>
                         <artifactId>maven-plugin-tools-anno</artifactId>
                         <version>${maven.anno.version}</version>
                         <scope>runtime</scope>
                       </dependency>
                    -->
                </dependencies>


            </plugin>


        </plugins>

        <extensions>

            <extension>
                <groupId>org.jvnet.wagon-svn</groupId>
                <artifactId>wagon-svn</artifactId>
                <version>1.8</version>
            </extension>
            <!--

                 <extension>
                   <groupId>org.jfrog.maven.annomojo</groupId>
                   <artifactId>maven-plugin-tools-anno</artifactId>
                   <version>${maven.anno.version}</version>
                 </extension>
            -->
        </extensions>


    </build>

    <profiles>

        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <!-- 
                    ===================================================================== 
                    mvn -Prelease release:perform -Darguments=-Dgpg.passphrase=thephrase 
                    ===================================================================== 
                    -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.3</version>

                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>

                    </plugin>


                </plugins>
            </build>
        </profile>

        <profile>
            <id>twitter</id>

            <build>
                <plugins>
                    <plugin>
                        <groupId>com.vineetmanohar</groupId>
                        <artifactId>maven-twitter-plugin</artifactId>
                        <version>0.1</version>

                        <executions>
                            <!-- phase: deploy -->
                            <execution>
                                <configuration>
                                    <!-- Tell your users that the project is deployed -->
                                    <twitterStatus>New release ${project.version} of maven-annotation-plugin is available -	http://code.google.com/p/maven-annotation-plugin</twitterStatus>
                                </configuration>
                                <id>deploy</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>tweet</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>confluence</id>

            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <version>3.0</version>

                        <configuration>

                            <reportPlugins>

                                <plugin>
                                    <groupId>org.bsc.maven</groupId>
                                    <artifactId>maven-confluence-reporting-plugin</artifactId>
                                    <version>3.1.4-SNAPSHOT</version>
                                    <reportSets>
                                        <reportSet>
                                            <id>confluence</id>
                                            <configuration>
                                                <endPoint>http://localhost:8090/rpc/xmlrpc</endPoint>
                                                <spaceKey>ds</spaceKey>
                                                <parentPageTitle>Tutorial</parentPageTitle>
                                                <username>admin</username>
                                            </configuration>
                                            <reports>
                                                <report>plugin-confluence-summary</report>
                                            </reports>
                                        </reportSet>
                                    </reportSets>
                                </plugin>
                            </reportPlugins>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

    </profiles>

	 <!-- DistributionManagement -->
    <distributionManagement>
        <repository>
            <id>jboss-releases-repository</id>
            <name>JBoss Releases Repository</name>
            <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
        </repository>

        <snapshotRepository>
            <id>jboss-snapshots-repository</id>
            <name>JBoss Snapshots Repository</name>
            <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
        </snapshotRepository>

    </distributionManagement>
</project>
