<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>
    <groupId>com.manydesigns</groupId>
    <artifactId>portofino</artifactId>
    <packaging>pom</packaging>
    <version>4.1.beta5</version>
    <name>manydesigns-portofino</name>
    <description>
        Portofino is a web application framework written in Java and
        extensible using Groovy, distributed under the LGPL open source license.
        The framework can be used to create interactive database-driven web
        applications. The creation process includes automatic generation through
        a &quot;wizard&quot; tool, manual configuration through a web-based
        administration interface, and customization through scripting languages.
        The framework combines features that are typical of Content Management
        Systems and of Rapid application development tools. Portofino is mainly
        intended for Java developers of enterprise applications and of dynamic
        web sites. It can connect to an existing database and generate a working
        web application based on an automatic analysis of the database's
        structure.
    </description>
    <url>http://www.manydesigns.com/</url>
    <licenses>
        <license>
            <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
            <url>http://www.gnu.org/licenses/lgpl.html</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>
    <organization>
        <name>MANYDESIGNS s.r.l.</name>
        <url>http://www.manydesigns.com/</url>
    </organization>
    <mailingLists>
        <mailingList>
            <name>Portofino mailing list in English</name>
            <archive>http://groups.google.com/group/manydesigns-portofino</archive>
        </mailingList>
        <mailingList>
            <name>Portofino mailing list in Italian</name>
            <archive>http://groups.google.com/group/manydesigns-portofino-it</archive>
        </mailingList>
    </mailingLists>
    <scm>
        <connection>scm:hg:http://hg.code.sf.net/p/portofino/mercurial</connection>
        <developerConnection>scm:hg:https://hg.code.sf.net/p/portofino/mercurial</developerConnection>
        <url>http://sourceforge.net/p/portofino/mercurial/</url>
        <tag>HEAD</tag>
    </scm>
    <developers>
        <developer>
            <name>Paolo Predonzani</name>
            <email>paolo.predonzani@manydesigns.com</email>
        </developer>
        <developer>
            <name>Angelo Lupo</name>
            <email>angelo.lupo@manydesigns.com</email>
        </developer>
        <developer>
            <name>Giampiero Granatella</name>
            <email>giampiero.granatella@manydesigns.com</email>
        </developer>
        <developer>
            <name>Alessio Stalla</name>
            <email>alessio.stalla@manydesigns.com</email>
        </developer>
    </developers>
    <properties>
        <antlr.version>2.7.7</antlr.version><!-- Groovy uses 2.7.7, Hibernate uses 2.7.6 -->
        <c3p0.version>0.9.1.2</c3p0.version> <!-- Hibernate uses 0.9.1, Quartz uses 0.9.1.1 -->
        <commons.collections.version>3.1</commons.collections.version><!--Hibernate uses 3.1, Commons-configuration uses 3.2.1-->
        <commons.configuration.version>1.10</commons.configuration.version>
        <commons.dbutils.version>1.3</commons.dbutils.version>
        <commons.email.version>1.2</commons.email.version>
        <commons.fileupload.version>1.3</commons.fileupload.version>
        <commons.io.version>2.0.1</commons.io.version>
        <commons.lang.version>2.5</commons.lang.version>
        <commons.logging.version>1.1.1</commons.logging.version>
        <ehcache.version>2.5.2</ehcache.version>
        <fop.version>1.0</fop.version>
        <google.appengine.sdk.version>1.7.7.1</google.appengine.sdk.version> <!-- Last version supporting Java 6 -->
        <groovy.version>2.0.6</groovy.version>
        <guava.version>14.0.1</guava.version> <!-- Following GAE dependency -->
        <hibernate.version>3.6.9.Final</hibernate.version>
        <itext.version>2.1.7</itext.version>
        <jasperreports.version>3.5.0</jasperreports.version>
        <javaee-web-api.version>6.0</javaee-web-api.version>
        <javassist.version>3.8.0.GA</javassist.version>
        <javax.mail.version>1.4.1</javax.mail.version> <!-- According to commons-email -->
        <jfreechart.version>1.0.12</jfreechart.version>
        <joda-time.version>1.6.2</joda-time.version>
        <json.version>20090211</json.version>
        <jsoup.version>1.7.1</jsoup.version>
        <jstl.version>1.1.2</jstl.version>
        <jxl.version>2.6.12</jxl.version>
        <liquibase.version>2.0.5</liquibase.version>
        <logback.version>0.9.26</logback.version>
        <ognl.version>3.0</ognl.version>
        <shiro.version>1.2.2</shiro.version>
        <slf4j.version>1.6.1</slf4j.version><!--Hibernate uses 1.5.8-->
        <stax.version>1.2.0</stax.version>
        <stripes.version>1.5.7</stripes.version>
        <quartz.version>2.1.6</quartz.version>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    <modules>
        <!-- Core stuff -->
        <module>elements</module>
        <module>portofino-base</module>
        <module>portofino-stripes</module>
        <!-- Database persistence -->
        <module>portofino-database</module>
        <module>portofino-db2</module>
        <module>portofino-derby</module>
        <module>portofino-googlecloudsql</module>
        <module>portofino-h2</module>
        <module>portofino-mssql</module>
        <module>portofino-mysql</module>
        <module>portofino-oracle</module>
        <module>portofino-postgresql</module>
        <!-- Pages -->
        <module>portofino-pageactions</module>
        <module>portofino-calendar</module>
        <module>portofino-chart</module>
        <module>portofino-crud</module>
        <module>portofino-admin</module>
        <module>portofino-theme</module>
        <!-- Optional services -->
        <module>portofino-mail</module>
        <module>portofino-openid</module>
        <module>portofino-quartz</module>
        <!-- Applications -->
        <module>portofino-war-archetype</module>
        <module>portofino-war-gae</module>
        <module>demo-tt</module>
    </modules>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <encoding>UTF8</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <archive>
                        <index>true</index>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                        <manifestEntries>
                            <mode>development</mode>
                            <url>${project.url}</url>
                            <key>value</key>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.3</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2.1</version>
                <configuration>
                    <descriptors>
                        <descriptor>assembly-src.xml</descriptor>
                        <descriptor>assembly-gae-bin.xml</descriptor>
                    </descriptors>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.8.1</version>
                <configuration>
                    <links>
                        <link>http://shiro.apache.org/static/1.2.2/apidocs/</link>
                        <link>http://stripes.sourceforge.net/docs/current/javadoc/</link>
                        <link>http://commons.apache.org/configuration/apidocs/</link>
                        <link>http://docs.jboss.org/hibernate/core/3.6/javadocs/</link>
                        <link>http://groovy.codehaus.org/api/</link>
                        <link>http://tomcat.apache.org/tomcat-7.0-doc/servletapi/</link>
                    </links>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.3</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.4.1</version>
                    <configuration>
                        <mavenExecutorId>forked-path</mavenExecutorId>
                        <useReleaseProfile>false</useReleaseProfile>
                        <arguments>-Psonatype-oss-release</arguments>
                        <localCheckout>true</localCheckout>
                        <pushChanges>false</pushChanges>
                        <tagNameFormat>@{project.version}</tagNameFormat>
                        <autoVersionSubmodules>true</autoVersionSubmodules>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <profiles>
      <profile>
	<activation>
	  <property>
	    <name>performRelease</name>
	    <value>true</value>
	  </property>
	</activation>
	<build>
	  <plugins>
	    <plugin>
	      <groupId>org.apache.maven.plugins</groupId>
	      <artifactId>maven-gpg-plugin</artifactId>
	      <version>1.4</version>
	      <executions>
		<execution>
		  <phase>verify</phase>
		  <goals>
		    <goal>sign</goal>
		  </goals>
		</execution>
	      </executions>
	    </plugin>
	  </plugins>
	</build>
      </profile>
    </profiles>

</project>
