<?xml version="1.0"?>
<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>com.jgeppert.struts2.jquery</groupId>
    <artifactId>struts2-jquery</artifactId>
    <version>3.7.0</version>
    <name>Struts 2 jQuery Plugin Parent Module</name>
    <packaging>pom</packaging>
    <url>http://code.google.com/p/struts2-jquery</url>
    <description>Parent project for Struts2 jQuery integration.</description>

    <issueManagement>
        <system>Google Code</system>
        <url>http://code.google.com/p/struts2-jquery/issues/list</url>
    </issueManagement>

    <developers>
        <developer>
            <id>johgep</id>
            <name>Johannes Geppert</name>
            <url>http://www.jgeppert.com</url>
            <email>http://www.jgeppert.com/kontakt</email>
        </developer>
        <developer>
            <id>jyoshiriro</id>
            <name>Jose Yoshiriro</name>
            <url>http://jyoshiriro.blogspot.com/</url>
        </developer>
        <developer>
            <id>rene.gielen</id>
            <name>Rene Gielen</name>
            <url>http://twitter.com/rgielen</url>
        </developer>
    </developers>

    <mailingLists>
        <mailingList>
            <name>User Group</name>
            <post>http://groups.google.com/group/struts2-jquery/post</post>
            <subscribe>http://groups.google.com/group/struts2-jquery</subscribe>
            <unsubscribe>http://groups.google.com/group/struts2-jquery</unsubscribe>
            <archive>http://struts2-jquery-plugin.109969.n3.nabble.com</archive>
        </mailingList>
    </mailingLists>

    <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>

    <scm>
        <connection>scm:svn:http://struts2-jquery.googlecode.com/svn/trunk/</connection>
        <developerConnection>scm:svn:https://struts2-jquery.googlecode.com/svn/trunk/</developerConnection>
        <url>http://code.google.com/p/struts2-jquery/source/browse/</url>
    </scm>

    <distributionManagement>
        <repository>
            <id>struts2-jquery.staging</id>
            <name>Struts 2 jQuery Plugin Staging Repository</name>
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
        <snapshotRepository>
            <id>struts2-jquery.snapshots</id>
            <uniqueVersion>false</uniqueVersion>
            <name>Struts 2 jQuery Plugin Snapshots and Test Builds Repository</name>
            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>

    <properties>
        <currentVersion>${project.version}</currentVersion>
        <struts2.version>2.3.16</struts2.version>
        <tlib.version>2.2</tlib.version>
    </properties>

    <modules>
        <module>struts2-jquery-plugin</module>
        <module>struts2-jquery-grid-plugin</module>
        <module>struts2-jquery-richtext-plugin</module>
        <module>struts2-jquery-chart-plugin</module>
        <module>struts2-jquery-tree-plugin</module>
        <module>struts2-jquery-mobile-plugin</module>
        <module>struts2-jquery-showcase</module>
        <module>struts2-jquery-grid-showcase</module>
        <module>struts2-jquery-mobile-showcase</module>
        <module>struts2-jquery-archetypes</module>
    </modules>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.6</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <!-- Attach javadoc jar to builds -->
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.9</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-source</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <!-- Attach source jar to builds -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.2.1</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-source</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <defaultGoal>install</defaultGoal>
    </build>

    <profiles>
        <profile>
            <id>release</id>
            <activation>
                <property>
                    <name>release</name>
                </property>
            </activation>
            <build>
                <defaultGoal>deploy</defaultGoal>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.4</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>
