<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>maven-parent-pom</artifactId>
    <groupId>io.meeds</groupId>
    <version>29-M02</version>
    <relativePath />
  </parent>
  <groupId>org.exoplatform</groupId>
  <artifactId>maven-exo-parent-pom</artifactId>
  <version>29-M02</version>
  <packaging>pom</packaging>
  <name>eXo PLF:: eXo Platform Parent POM</name>
  <description>Provides default project configuration for eXo projects</description>
  <url>${site.url}</url>
  <inceptionYear>2003</inceptionYear>
  <organization>
    <name>eXo Platform SAS</name>
    <url>http://www.exoplatform.com</url>
  </organization>
  <licenses>
    <license>
      <name>GNU Lesser General Public License, Version 3.0</name>
      <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>exoswf</id>
      <name>eXo Platform SAS</name>
    </developer>
  </developers>
  <prerequisites>
    <maven>${maven.min.version}</maven>
  </prerequisites>
  <scm>
    <connection>scm:git:git://github.com/exoplatform/maven-exo-parent-pom.git</connection>
    <developerConnection>scm:git:git@github.com:exoplatform/maven-exo-parent-pom.git</developerConnection>
    <tag>29-M02</tag>
    <url>https://fisheye.exoplatform.org/browse/maven-exo-parent-pom</url>
  </scm>
  <issueManagement>
    <system>jira</system>
    <url>${jira.base.url}/browse/${jira.project.key}/</url>
  </issueManagement>
  <ciManagement>
    <system>jenkins</system>
    <url>${jenkins.base.url}/job/${jenkins.job.name}/</url>
  </ciManagement>
  <distributionManagement>
    <repository>
      <id>repository.exoplatform.org</id>
      <url>${exo.releases.repo.url}</url>
    </repository>
    <snapshotRepository>
      <id>repository.exoplatform.org</id>
      <url>${exo.snapshots.repo.url}</url>
    </snapshotRepository>
    <site>
      <id>repository.exoplatform.org</id>
      <url>${site.deploy.url}</url>
    </site>
  </distributionManagement>
  <properties>
    <argLine />
    <exo.product.name>${project.name}</exo.product.name>
    <!-- **************************************** -->
    <!-- Jira Settings                            -->
    <!-- **************************************** -->
    <jira.base.url>https://jira.exoplatform.org</jira.base.url>
    <jira.project.key>PAR</jira.project.key>
    <!-- **************************************** -->
    <!-- Jenkins Settings                         -->
    <!-- **************************************** -->
    <jenkins.base.url>https://ci.exoplatform.org</jenkins.base.url>
    <jenkins.job.name>maven-exo-parent-pom-master-ci</jenkins.job.name>
    <!-- **************************************** -->
    <!-- Repositories URLs                        -->
    <!-- **************************************** -->
    <exo.releases.repo.url>https://repository.exoplatform.org/service/local/staging/deploy/maven2/</exo.releases.repo.url>
    <exo.snapshots.repo.url>https://repository.exoplatform.org/content/repositories/exo-snapshots</exo.snapshots.repo.url>
    <exo.public.repo.url>http://repository.exoplatform.org/public/</exo.public.repo.url>
    <!-- **************************************** -->
    <!-- Site URL                                 -->
    <!-- **************************************** -->
    <site.url>https://projects.exoplatform.org</site.url>
    <site.deploy.url>dav:${site.url}</site.deploy.url>
    <!-- **************** -->
    <!-- Plugins versions -->
    <!-- **************** -->
    <version.javacc.plugin>2.6</version.javacc.plugin>
    <version.rar.plugin>2.4</version.rar.plugin>
  </properties>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>javacc-maven-plugin</artifactId>
          <version>${version.javacc.plugin}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-rar-plugin</artifactId>
          <version>${version.rar.plugin}</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <profiles>
    <profile>
      <activation>
        <property>
          <name>packaging</name>
          <value>jar</value>
        </property>
        <file>
          <missing>src/main/resources/no-aop</missing>
        </file>
      </activation>
      <dependencies>
        <dependency>
          <groupId>io.meeds.social</groupId>
          <artifactId>social-component-api</artifactId>
          <scope>provided</scope>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>aspectj-maven-plugin</artifactId>
            <configuration>
              <aspectLibraries>
                <aspectLibrary>
                  <groupId>io.meeds.portal</groupId>
                  <artifactId>portal.component.common</artifactId>
                </aspectLibrary>
                <aspectLibrary>
                  <groupId>io.meeds.social</groupId>
                  <artifactId>social-component-api</artifactId>
                </aspectLibrary>
              </aspectLibraries>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
