<!--

    Copyright (C) 2009 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more detail

    You should have received a copy of the GNU Lesser General Public/
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->

<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.gatein</groupId>
    <artifactId>gatein-parent</artifactId>
    <version>1.2.0.Final</version>
  </parent>

  <groupId>org.gatein.portal</groupId>
  <artifactId>exo.portal.parent</artifactId>
  <version>3.5.3.Final</version>
  <packaging>pom</packaging>

  <name>GateIn - Portal</name>

  <properties>
    <org.exoplatform.kernel.version>2.4.1-GA</org.exoplatform.kernel.version>
    <org.exoplatform.core.version>2.5.1-CP01</org.exoplatform.core.version>
    <org.exoplatform.ws.version>2.3.1-GA</org.exoplatform.ws.version>
    <org.exoplatform.jcr.version>1.15.1-CP01</org.exoplatform.jcr.version>
    <org.shindig.version>2.0.2.Final-gatein-4</org.shindig.version>
    <nl.captcha.simplecaptcha.version>1.1.1.Final-gatein-3</nl.captcha.simplecaptcha.version>
    <org.gatein.common.version>2.1.0.Final</org.gatein.common.version>
    <org.gatein.wci.version>2.3.0.Final</org.gatein.wci.version>
    <org.gatein.pc.version>2.4.0.Final</org.gatein.pc.version>
    <org.gatein.sso.version>1.3.1.Final</org.gatein.sso.version>
    <org.picketlink.idm>1.4.1.Final</org.picketlink.idm>
    <org.gatein.wsrp.version>2.2.2.Final</org.gatein.wsrp.version>
    <org.gatein.mop.version>1.2.0.Final</org.gatein.mop.version>
    <org.gatein.mgmt.version>1.1.0.Final</org.gatein.mgmt.version>
    <org.slf4j.version>1.6.1</org.slf4j.version>
    <commons-pool.version>1.5.5</commons-pool.version>
    <rhino.version>1.6R5</rhino.version>
    <org.codehaus.groovy.version>1.7.6</org.codehaus.groovy.version>
    <javax.servlet.version>2.5</javax.servlet.version>
    <version.chromattic>1.2.0</version.chromattic>
    <version.reflext>1.1.0</version.reflext>
    <org.staxnav.version>0.9.6</org.staxnav.version>
    <jcip.version>1.0</jcip.version>
    <commons-dbcp.version>1.2.2</commons-dbcp.version>
    <com.google.javascript.version>r1592</com.google.javascript.version>
    <org.jboss.portletbridge.version>3.1.2.Final</org.jboss.portletbridge.version>

    <!-- TODO: Move to gatein dep -->
    <org.infinispan.version>5.1.7.Final</org.infinispan.version>
    <org.jboss.marshalling.version>1.3.15.GA</org.jboss.marshalling.version>

    <!-- TODO: replace version.apache.commons-httpclient in gatein-dep with this: -->
    <version.org.apache.httpcomponents>4.1.2</version.org.apache.httpcomponents>
    <version.org.apache.httpcomponents.httpcore>4.1.4</version.org.apache.httpcomponents.httpcore>

    <!-- SSO deps -->
    <version.cas.client>3.2.1</version.cas.client>
    <version.picketlink.fed>2.1.4.Final</version.picketlink.fed>

    <!--
    Various log4j properties for unit tests, examples:
    -Dlog4j.debug=true : show log4j bootstrap (useful for debugging resolution to configuration property file)
    -Dlog4j.level=all : very verbose logging (slow down though)
    -->
    <log4j.debug>false</log4j.debug>
    <log4j.level>info</log4j.level>

    <!-- ************** -->
    <!-- Build settings -->
    <!-- ************** -->

    <!-- maven-enforcer-plugin -->
    <jdk.min.version>1.6</jdk.min.version>

    <!-- maven-release-plugin -->
    <useReleaseProfile>false</useReleaseProfile>
    <version.release.plugin>2.2.1</version.release.plugin>
    <pushChanges>false</pushChanges>

    <!-- checkstyle -->
    <version.checkstyle.plugin>2.9.1</version.checkstyle.plugin>
    <linkXRef>false</linkXRef>

    <!-- buildnumber-maven-plugin : needs 1.0 for git -->
    <version.buildnumber.plugin>1.0</version.buildnumber.plugin>

    <!-- -->
    <surefire.exo.profiles>hsqldb</surefire.exo.profiles>

    <version.plugin.gwt>2.1.0</version.plugin.gwt>
    <version.plugin.clean>2.4.1</version.plugin.clean>
    <version.yuicompressor-maven-plugin>0.7.1</version.yuicompressor-maven-plugin>
    <version.plugin.japex>1.2.3</version.plugin.japex>


  </properties>

  <scm>
    <connection>scm:git:git://github.com/gatein/gatein-portal.git</connection>
    <developerConnection>scm:git:ssh://git@github.com/gatein/gatein-portal.git</developerConnection>
    <url>https://github.com/gatein/gatein-portal</url>
  </scm>

  <modules>
    <module>build-config</module>
    <module>component</module>
    <module>gadgets</module>
    <module>webui</module>
    <module>portlet</module>
    <module>web</module>
    <module>examples</module>
    <module>starter</module>
    <module>wsrp-integration</module>
    <module>packaging</module>
    <module>testsuite</module>
  </modules>

  <dependencyManagement>
    <dependencies>
      <!-- Needed becuase of a Maven bug. Components depend on gatein-dep and for some
           reasons with Maven 2.2.1 it can't find that dependency anymore
      -->
      <dependency>
        <groupId>org.gatein</groupId>
        <artifactId>gatein-dep</artifactId>
        <version>1.2.0.Final</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>

      <!-- to move to gatein-dep -->
      <dependency>
        <groupId>com.google.javascript</groupId>
        <artifactId>closure-compiler</artifactId>
        <version>${com.google.javascript.version}</version>
      </dependency>

      <!-- eXo JCR stack -->
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.commons</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.component.cache</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.component.command</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.component.common</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.container</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.component.ext.cache.impl.jboss.v3</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.logging</groupId>
            <artifactId>jboss-logging-spi</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.mc-int</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.kernel</groupId>
        <artifactId>exo.kernel.mc-kernel-extras</artifactId>
        <version>${org.exoplatform.kernel.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.organization.api</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.xml-processing</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.database</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.ldap</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.organization.jdbc</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.organization.ldap</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.security.core</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.core</groupId>
        <artifactId>exo.core.component.document</artifactId>
        <version>${org.exoplatform.core.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.component.core</artifactId>
        <version>${org.exoplatform.jcr.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.framework.command</artifactId>
        <version>${org.exoplatform.jcr.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.component.ext</artifactId>
        <version>${org.exoplatform.jcr.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.jboss.logging</groupId>
            <artifactId>jboss-logging-spi</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.component.webdav</artifactId>
        <version>${org.exoplatform.jcr.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.framework.web</artifactId>
        <version>${org.exoplatform.jcr.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.component.ftp</artifactId>
        <version>${org.exoplatform.jcr.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.ws</groupId>
        <artifactId>exo.ws.commons</artifactId>
        <version>${org.exoplatform.ws.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.ws</groupId>
        <artifactId>exo.ws.frameworks.servlet</artifactId>
        <version>${org.exoplatform.ws.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.ws</groupId>
        <artifactId>exo.ws.rest.ext</artifactId>
        <version>${org.exoplatform.ws.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.ws</groupId>
        <artifactId>exo.ws.rest.core</artifactId>
        <version>${org.exoplatform.ws.version}</version>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.ws</groupId>
        <artifactId>exo.ws.frameworks.json</artifactId>
        <version>${org.exoplatform.ws.version}</version>
      </dependency>

      <!-- GateIn components -->
      <dependency>
        <groupId>org.gatein.common</groupId>
        <artifactId>common-logging</artifactId>
        <version>${org.gatein.common.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.common</groupId>
        <artifactId>common-common</artifactId>
        <version>${org.gatein.common.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wci</groupId>
        <artifactId>wci-wci</artifactId>
        <version>${org.gatein.wci.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wci</groupId>
        <artifactId>wci-tomcat7</artifactId>
        <version>${org.gatein.wci.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wci</groupId>
        <artifactId>wci-jboss7</artifactId>
        <version>${org.gatein.wci.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.pc</groupId>
        <artifactId>pc-bridge</artifactId>
        <version>${org.gatein.pc.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.pc</groupId>
        <artifactId>pc-federation</artifactId>
        <version>${org.gatein.pc.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.pc</groupId>
        <artifactId>pc-portlet</artifactId>
        <version>${org.gatein.pc.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.pc</groupId>
        <artifactId>pc-api</artifactId>
        <version>${org.gatein.pc.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.pc</groupId>
        <artifactId>pc-controller</artifactId>
        <version>${org.gatein.pc.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.mop</groupId>
        <artifactId>mop-api</artifactId>
        <version>${org.gatein.mop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.mop</groupId>
        <artifactId>mop-spi</artifactId>
        <version>${org.gatein.mop.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.mop</groupId>
        <artifactId>mop-core</artifactId>
        <version>${org.gatein.mop.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.chromattic</groupId>
            <artifactId>chromattic.testgenerator</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- Gatein Mgmt -->
      <dependency>
        <groupId>org.gatein.management</groupId>
        <artifactId>gatein-management-api</artifactId>
        <version>${org.gatein.mgmt.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.management</groupId>
        <artifactId>gatein-management-spi</artifactId>
        <version>${org.gatein.mgmt.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.management</groupId>
        <artifactId>gatein-management-core</artifactId>
        <version>${org.gatein.mgmt.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.management</groupId>
        <artifactId>gatein-management-rest</artifactId>
        <version>${org.gatein.mgmt.version}</version>
      </dependency>
      <!-- WSRP -->
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-producer-lib</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-consumer</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-jcr-impl</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-integration-api</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-common</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-wsrp1-ws</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-wsrp2-ws</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-wss</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-cxf-integration</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-wss-jboss5</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-wss-jboss7</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.wsrp</groupId>
        <artifactId>wsrp-catalog</artifactId>
        <scope>provided</scope>
        <version>${org.gatein.wsrp.version}</version>
      </dependency>

      <!-- Needed by WSRP, here so that it can be picked up by module generation build.xml -->
      <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
      </dependency>

      <!-- GateIn -->
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.common</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.web</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.web.controller</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.web.security</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.web.server</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.web.api</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.web.resources</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.portal</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.portal</artifactId>
        <version>3.5.3.Final</version>
        <type>test-jar</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.pc</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.identity</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.identity</artifactId>
        <version>3.5.3.Final</version>
        <type>test-jar</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.resources</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.application-registry</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.scripting</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.management</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.webui.framework</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.webui.portlet</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.webui.portal</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.webui.eXo</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.webui.core</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.webui.dashboard</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.gadgets-core</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.test.core</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.test.core</artifactId>
        <version>3.5.3.Final</version>
        <type>test-jar</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.test.jcr</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.test.jcr</artifactId>
        <version>3.5.3.Final</version>
        <type>test-jar</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.test.web</artifactId>
        <version>3.5.3.Final</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.component.test.web</artifactId>
        <version>3.5.3.Final</version>
        <type>test-jar</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.packaging.common</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.web.portal</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.gadgets-server</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.eXoGadgets</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.gwtGadgets</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.portlet.web</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.web.rest</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.portlet.exoadmin</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.web.eXoResources</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal.examples.skins</groupId>
        <artifactId>gatein-sample-skin</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.portlet.dashboard</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal</groupId>
        <artifactId>exo.portal.starter.war</artifactId>
        <version>3.5.3.Final</version>
        <type>war</type>
      </dependency>

      <!-- GateIn Redirect -->
      <dependency>
        <groupId>org.gatein.web</groupId>
        <artifactId>redirect</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.portal.portlet</groupId>
        <artifactId>redirect</artifactId>
        <version>${project.version}</version>
        <type>war</type>
      </dependency>

      <!-- Reflext -->
      <dependency>
        <groupId>org.reflext</groupId>
        <artifactId>reflext.api</artifactId>
        <version>${version.reflext}</version>
      </dependency>
      <dependency>
        <groupId>org.reflext</groupId>
        <artifactId>reflext.apt</artifactId>
        <version>${version.reflext}</version>
      </dependency>
      <dependency>
        <groupId>org.reflext</groupId>
        <artifactId>reflext.core</artifactId>
        <version>${version.reflext}</version>
      </dependency>
      <dependency>
        <groupId>org.reflext</groupId>
        <artifactId>reflext.jlr</artifactId>
        <version>${version.reflext}</version>
      </dependency>
      <dependency>
        <groupId>org.reflext</groupId>
        <artifactId>reflext.spi</artifactId>
        <version>${version.reflext}</version>
      </dependency>

      <!-- Chromattic -->
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.apt</artifactId>
        <version>${version.chromattic}</version>
        <scope>compile</scope>
        <exclusions>
          <exclusion>
            <groupId>org.chromattic</groupId>
            <artifactId>chromattic.testgenerator</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.api</artifactId>
        <version>${version.chromattic}</version>
      </dependency>
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.spi</artifactId>
        <version>${version.chromattic}</version>
      </dependency>
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.core</artifactId>
        <version>${version.chromattic}</version>
        <!-- GTNPORTAL-2095: temporary exclusion for missing dependency -->
        <exclusions>
          <exclusion>
            <groupId>com.google.code.javaparser</groupId>
            <artifactId>javaparser</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.ext</artifactId>
        <version>${version.chromattic}</version>
      </dependency>
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.common</artifactId>
        <version>${version.chromattic}</version>
      </dependency>
      <dependency>
        <groupId>org.chromattic</groupId>
        <artifactId>chromattic.metamodel</artifactId>
        <version>${version.chromattic}</version>
        <exclusions>
          <exclusion>
            <groupId>org.chromattic</groupId>
            <artifactId>chromattic.testgenerator</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <!-- Picketlink -->
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-api</artifactId>
        <version>${org.picketlink.idm}</version>
      </dependency>
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-core</artifactId>
        <version>${org.picketlink.idm}</version>
      </dependency>
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-hibernate</artifactId>
        <version>${org.picketlink.idm}</version>
        <exclusions>
          <exclusion>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
          </exclusion>
          <exclusion>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-ldap</artifactId>
        <version>${org.picketlink.idm}</version>
      </dependency>
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-common</artifactId>
        <version>${org.picketlink.idm}</version>
      </dependency>
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-cache</artifactId>
        <version>${org.picketlink.idm}</version>
      </dependency>
      <dependency>
        <groupId>org.picketlink.idm</groupId>
        <artifactId>picketlink-idm-spi</artifactId>
        <version>${org.picketlink.idm}</version>
      </dependency>

      <dependency>
        <groupId>org.gatein.shindig</groupId>
        <artifactId>shindig-gadgets</artifactId>
        <exclusions>
          <exclusion>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache-core</artifactId>
          </exclusion>
        </exclusions>
        <version>${org.shindig.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.shindig</groupId>
        <artifactId>shindig-features</artifactId>
        <version>${org.shindig.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.shindig</groupId>
        <artifactId>shindig-common</artifactId>
        <version>${org.shindig.version}</version>
        <exclusions>
          <exclusion>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache-core</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>org.gatein.shindig</groupId>
        <artifactId>shindig-common</artifactId>
        <classifier>tests</classifier>
        <version>${org.shindig.version}</version>
        <exclusions>
          <exclusion>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache-core</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <dependency>
        <groupId>org.gatein.shindig</groupId>
        <artifactId>shindig-social-api</artifactId>
        <version>${org.shindig.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.captcha</groupId>
        <artifactId>simplecaptcha</artifactId>
        <version>${nl.captcha.simplecaptcha.version}</version>
      </dependency>

      <!-- Staxnav -->
      <dependency>
        <groupId>org.staxnav</groupId>
        <artifactId>staxnav.core</artifactId>
        <version>${org.staxnav.version}</version>
      </dependency>

      <dependency>
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>${commons-dbcp.version}</version>
        <exclusions>
          <exclusion>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <!-- Portlet Bridge -->
      <dependency>
        <groupId>org.jboss.portletbridge</groupId>
        <artifactId>portletbridge-api</artifactId>
        <version>${org.jboss.portletbridge.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.portletbridge</groupId>
        <artifactId>portletbridge-impl</artifactId>
        <version>${org.jboss.portletbridge.version}</version>
      </dependency>

      <!-- needed for the IBM jdk, should be remove in the future when IBM fixes its jdk (see GTNPORTAL-636) -->
      <dependency>
        <groupId>net.jcip</groupId>
        <artifactId>jcip-annotations</artifactId>
        <version>${jcip.version}</version>
      </dependency>

      <dependency>
        <groupId>org.gatein.shindig</groupId>
        <artifactId>shindig-common</artifactId>
        <version>${org.shindig.version}</version>
        <type>test-jar</type>
        <scope>test</scope>
      </dependency>

      <!-- SSO -->
      <dependency>
        <groupId>org.gatein.sso</groupId>
        <artifactId>sso-auth-callback</artifactId>
        <version>${org.gatein.sso.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.sso</groupId>
        <artifactId>sso-agent</artifactId>
        <version>${org.gatein.sso.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.sso</groupId>
        <artifactId>spnego</artifactId>
        <version>${org.gatein.sso.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.sso</groupId>
        <artifactId>sso-integration</artifactId>
        <version>${org.gatein.sso.version}</version>
      </dependency>
      <dependency>
        <groupId>org.gatein.sso</groupId>
        <artifactId>sso-saml-plugin</artifactId>
        <version>${org.gatein.sso.version}</version>
      </dependency>

      <!-- SSO 3rd party deps -->
      <dependency>
        <groupId>org.jasig.cas.client</groupId>
        <artifactId>cas-client-core</artifactId>
        <version>${version.cas.client}</version>
      </dependency>
      <!-- Picketlink federation (SAML). It's needed only because we need newer version on JBoss AS 7.1.1. It could be removed when drop support for AS 7.1.1 -->
      <dependency>
        <groupId>org.picketlink</groupId>
        <artifactId>picketlink-core</artifactId>
        <version>${version.picketlink.fed}</version>
      </dependency>
      <dependency>
        <groupId>org.picketlink.distribution</groupId>
        <artifactId>picketlink-jbas7</artifactId>
        <version>${version.picketlink.fed}</version>
      </dependency>

      <!-- TODO: Move to gatein-dep -->
      <dependency>
        <groupId>org.infinispan</groupId>
        <artifactId>infinispan-core</artifactId>
        <version>${org.infinispan.version}</version>
      </dependency>
      <dependency>
        <groupId>org.infinispan</groupId>
        <artifactId>infinispan-tree</artifactId>
        <version>${org.infinispan.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.marshalling</groupId>
        <artifactId>jboss-marshalling</artifactId>
        <version>${org.jboss.marshalling.version}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.marshalling</groupId>
        <artifactId>jboss-marshalling-river</artifactId>
        <version>${org.jboss.marshalling.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>${version.org.apache.httpcomponents}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpcore</artifactId>
        <version>${version.org.apache.httpcomponents.httpcore}</version>
      </dependency>

    </dependencies>

  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>${org.slf4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jul-to-slf4j</artifactId>
      <version>${org.slf4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <resources>
      <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.properties</include>
          <include>**/*.xml</include>
          <include>**/*.xsd</include>
        </includes>
      </resource>
      <resource>
        <directory>src/main/resources</directory>
        <includes>
          <include>**/*.*</include>
        </includes>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>src/test/java</directory>
        <includes>
          <include>**/*.properties</include>
          <include>**/*.xml</include>
        </includes>
      </testResource>
      <testResource>
        <directory>src/test/resources</directory>
      </testResource>
    </testResources>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>exec-maven-plugin</artifactId>
          <version>1.1.1</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
          <version>1.4</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <argLine>-Xms512m -Xmx512m</argLine>
            <systemProperties>
              <property>
                <name>log4j.configuration</name>
                <value>gatein-log4j.properties</value>
              </property>
              <property>
                <name>log4j.debug</name>
                <value>${log4j.debug}</value>
              </property>
              <property>
                <name>log4j.level</name>
                <value>${log4j.level}</value>
              </property>
              <property>
                <name>gatein.test.output.path</name>
                <value>${project.build.directory}</value>
              </property>
              <property>
                <name>org.apache.commons.logging.Log</name>
                <value>org.apache.commons.logging.impl.Log4JLogger</value>
              </property>
              <property>
                <name>org.apache.commons.logging.simplelog.defaultlog</name>
                <value>info</value>
              </property>
              <property>
                <name>org.apache.commons.logging.simplelog.log.[eXo]</name>
                <value>debug</value>
              </property>
              <property>
                <name>org.apache.commons.logging.simplelog.log.net.hibernate</name>
                <value>warn</value>
              </property>
              <property>
                <name>java.naming.factory.initial</name>
                <value>org.exoplatform.services.naming.SimpleContextFactory</value>
              </property>
              <property>
                <name>com.arjuna.ats.arjuna.objectstore.objectStoreDir</name>
                <value>${project.build.directory}/com.arjuna.ats.arjuna.objectstore.objectStoreDir</value>
              </property>
              <property>
                <name>ObjectStoreEnvironmentBean.objectStoreDir</name>
                <value>${project.build.directory}/ObjectStoreEnvironmentBean.objectStoreDir</value>
              </property>
              <property>
                <name>exo.profiles</name>
                <value>${surefire.exo.profiles}</value>
              </property>
            </systemProperties>
          </configuration>
        </plugin>
        <!-- we shouldn't need to specify this plugin here, but the maven compiler plugin is not accepting its
memory option properties. This should be removed when we can just set the compiler properties -->
        <!-- we need to specify this as building GateIn can cause memory problems with some JDKs (ie IBM) -->
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <configuration>
            <fork>true</fork>
            <meminitial>256m</meminitial>
            <maxmem>1024m</maxmem>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.jibx</groupId>
          <artifactId>maven-jibx-plugin</artifactId>
          <version>1.2.2</version>
        </plugin>
        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
            <lifecycleMappingMetadata>
              <pluginExecutions>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>
                      org.apache.maven.plugins
                    </groupId>
                    <artifactId>
                      maven-antrun-plugin
                    </artifactId>
                    <versionRange>[1.4,)</versionRange>
                    <goals>
                      <goal>run</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>
                      org.jboss.maven.plugins
                    </groupId>
                    <artifactId>
                      maven-jdocbook-plugin
                    </artifactId>
                    <versionRange>[2.3.4,)</versionRange>
                    <goals>
                      <goal>generate</goal>
                      <goal>resources</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>
                      org.apache.maven.plugins
                    </groupId>
                    <artifactId>
                      maven-checkstyle-plugin
                    </artifactId>
                    <versionRange>[2.5,)</versionRange>
                    <goals>
                      <goal>checkstyle</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>xml-maven-plugin</artifactId>
                    <versionRange>[1.0,)</versionRange>
                    <goals>
                      <goal>generate</goal>
                      <goal>resources</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>org.jibx</groupId>
                    <artifactId>
                      maven-jibx-plugin
                    </artifactId>
                    <versionRange>[1.2.2,)</versionRange>
                    <goals>
                      <goal>bind</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <versionRange>[1.0.0,)</versionRange>
                    <goals>
                      <goal>copy-dependencies</goal>
                      <goal>unpack</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
              </pluginExecutions>
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>
        <plugin>
          <groupId>com.sun.japex</groupId>
          <artifactId>japex-maven-plugin</artifactId>
          <version>${version.plugin.japex}</version>
        </plugin>
        <plugin>
          <!-- Use to compress javascript gadget features -->
          <groupId>net.sf.alchim</groupId>
          <artifactId>yuicompressor-maven-plugin</artifactId>
          <version>${version.yuicompressor-maven-plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>gwt-maven-plugin</artifactId>
          <version>${version.plugin.gwt}</version>
        </plugin>

        <!-- Checkstyle -->
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <version>${version.checkstyle.plugin}</version>
          <configuration>
            <configLocation>gatein-portal-checkstyle/checkstyle.xml</configLocation>
            <consoleOutput>true</consoleOutput>
            <failsOnError>true</failsOnError>
            <useFile />
          </configuration>
          <dependencies>
            <dependency>
              <groupId>org.gatein.portal</groupId>
              <artifactId>gatein-portal-build-config</artifactId>
              <version>${project.version}</version>
            </dependency>
          </dependencies>
          <executions>
            <execution>
              <id>check-style</id>
              <phase>compile</phase>
              <goals>
                <goal>checkstyle</goal>
              </goals>
            </execution>
          </executions>
        </plugin>

      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>compile</id>
            <phase>compile</phase>
            <configuration>
              <tasks>
                <copy failonerror="false" todir="${project.build.directory}/${project.build.finalName}/WEB-INF/classes">
                  <fileset dir="${basedir}/src/main/webapp/WEB-INF/classes">
                    <include name="**/*_en.properties" />
                  </fileset>
                  <globmapper from="*_en.properties" to="*.properties" />
                </copy>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>${version.plugin.clean}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
      </plugin>
    </plugins>
  </build>

  <profiles>
    <profile>
      <id>mysql5</id>
      <dependencies>
        <dependency>
          <groupId>mysql</groupId>
          <artifactId>mysql-connector-java</artifactId>
          <version>5.1.6</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>log4j</groupId>
          <artifactId>log4j</artifactId>
          <version>1.2.16</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <properties>
        <surefire.exo.profiles>mysql</surefire.exo.profiles>
      </properties>
    </profile>
    <profile>
      <id>h2</id>
      <dependencies>
        <dependency>
          <groupId>com.h2database</groupId>
          <artifactId>h2</artifactId>
          <version>1.3.165</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <properties>
        <surefire.exo.profiles>h2</surefire.exo.profiles>
      </properties>
    </profile>
    <profile>
      <id>pkg-jbossas710</id>
      <activation>
        <property>
          <name>gatein.dev</name>
          <value>jbossas710</value>
        </property>
      </activation>

      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
            <executions>
              <execution>
                <id>check-servers-dir-specified</id>
                <goals>
                  <goal>enforce</goal>
                </goals>
                <configuration>
                  <rules>
                    <requireProperty>
                      <message>"

                        Build profile 'jbossas710' is no longer supported. You may want to use: 'jbossas711'.

                        "
                      </message>
                    </requireProperty>
                  </rules>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>pkg-jbossas712</id>
      <activation>
        <property>
          <name>gatein.dev</name>
          <value>jbossas712</value>
        </property>
      </activation>

      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
            <executions>
              <execution>
                <id>check-servers-dir-specified</id>
                <goals>
                  <goal>enforce</goal>
                </goals>
                <configuration>
                  <rules>
                    <requireProperty>
                      <message>"

                        Build profile 'jbossas712' is no longer supported. You may want to use: 'jbossas713'.

                        "
                      </message>
                    </requireProperty>
                  </rules>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <!-- To be removed and replaced by settings in user config -->
  <repositories>
    <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </repository>
    <repository>
      <id>caja</id>
      <url>http://google-caja.googlecode.com/svn/maven</url>
    </repository>
    <repository>
      <id>oauth</id>
      <url>http://oauth.googlecode.com/svn/code/maven</url>
    </repository>

    <!-- Redefine legacy jboss repository to go to JBoss Nexus instead to http://repository.jboss.org/maven2 -->
    <repository>
      <id>jboss</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </repository>
    <repository>
      <id>repository.jboss.org</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </repository>
    <!--<repository>-->
    <!--<releases>-->
    <!--<enabled>false</enabled>-->
    <!--</releases>-->
    <!--<snapshots>-->
    <!--<enabled>true</enabled>-->
    <!--</snapshots>-->
    <!--<id>snapshots.jboss.org</id>-->
    <!--<url>https://repository.jboss.org/nexus/content/groups/public/</url>-->
    <!--</repository>-->
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>
</project>
