<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * 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 details.
 *
 * 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.xwiki.platform</groupId>
    <artifactId>xwiki</artifactId>
    <version>30</version>
    <relativePath>../pom</relativePath>
  </parent>
  <groupId>org.xwiki.platform.applications</groupId>
  <artifactId>xwiki-applications</artifactId>
  <version>27</version>
  <name>XWiki Platform - Applications - Parent POM</name>
  <packaging>pom</packaging>
  <description>XWiki Platform - Applications - Parent POM</description>
  <properties>
    <platform.tool.xar-handler.version>1.9</platform.tool.xar-handler.version>
    <platform.tool.xar-plugin.version>1.13</platform.tool.xar-plugin.version>
  </properties>
  <scm>
    <connection>scm:svn:http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/tags/xwiki-applications-27</connection>
    <developerConnection>scm:svn:https://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/tags/xwiki-applications-27</developerConnection>
    <url>http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/tags/xwiki-applications-27</url>
  </scm>
  <build>
    <extensions>
      <extension>
        <groupId>org.xwiki.platform.tools</groupId>
        <artifactId>xwiki-xar-handlers</artifactId>
        <version>${platform.tool.xar-handler.version}</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <groupId>org.xwiki.platform.tools</groupId>
        <artifactId>xwiki-xar-plugin</artifactId>
        <version>${platform.tool.xar-plugin.version}</version>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>default</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <modules>
        <module>panels</module>
        <module>administration</module>
        <module>application-manager</module>
        <module>wiki-manager</module>
        <module>scheduler</module>        
        <module>statistics</module>
        <module>watchlist</module>
        <module>blog</module>
        <module>officeimporter</module>
        <module>webdav</module>
        <module>tag</module>
        <module>wiki-macro-bridge</module>
      </modules>
    </profile>
    <profile>
      <!-- XWiki Enterprise -->
      <id>xe</id>
      <modules>
        <module>panels</module>
        <module>administration</module>
        <module>scheduler</module>        
        <module>statistics</module>
        <module>watchlist</module>
        <module>blog</module>
        <module>officeimporter</module>
        <module>webdav</module>
        <module>tag</module>
        <module>wiki-macro-bridge</module>
      </modules>
    </profile>
    <profile>
      <!-- XWiki Enterprise Manager -->
      <id>xem</id>
      <modules>
        <module>panels</module>
        <module>administration</module>
        <module>application-manager</module>
        <module>wiki-manager</module>
        <module>scheduler</module>        
        <module>statistics</module>
        <module>watchlist</module>
        <module>blog</module>
        <module>officeimporter</module>
        <module>webdav</module>
        <module>tag</module>
        <module>wiki-macro-bridge</module>
      </modules>
    </profile>
    <profile>
      <id>ci</id>
      <activation>
        <!-- This property is automatically defined by the Maven release plugin when executing
             a release. Thus this profile will be automatically enabled when releasing -->
        <property>
          <name>performRelease</name>
        </property>
      </activation>
      <modules>
        <module>selenium</module>
        <module>panels</module>
        <module>administration</module>
        <module>application-manager</module>
        <module>wiki-manager</module>
        <module>scheduler</module>        
        <module>s5</module>
        <module>statistics</module>
        <module>watchlist</module>
        <module>blog</module>
        <module>officeimporter</module>
        <module>webdav</module>
        <module>calendar</module>
        <module>photoalbum</module>
        <module>tag</module>
        <module>wiki-macro-bridge</module>
        <module>ircbot</module>
      </modules>
    </profile>
  </profiles>
</project>
