<?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.alfresco</groupId>
        <artifactId>alfresco-super-pom</artifactId>
        <version>8</version>
    </parent>
    <artifactId>alfresco-search-parent</artifactId>
    <version>1.1.0</version>
    <packaging>pom</packaging>
    <name>Alfresco Solr Search parent</name>
    <properties>
        <solr.version>6.3.0</solr.version>
        <alfresco-solr.version>5.2.1</alfresco-solr.version>
    </properties>
    <distributionManagement>
        <repository>
            <id>alfresco-internal</id>
            <url>https://artifacts.alfresco.com/nexus/content/repositories/releases</url>
        </repository>
        <snapshotRepository>
            <id>alfresco-internal-snapshots</id>
            <url>https://artifacts.alfresco.com/nexus/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>
    <scm>
        <connection>scm:git:https://git.alfresco.com/search_discovery/searchservices.git</connection>
        <developerConnection>scm:git:https://git.alfresco.com/search_discovery/searchservices.git</developerConnection>
        <url>https://git.alfresco.com/search_discovery/searchservices.git</url>
        <tag>1.1.0</tag>
    </scm>
    <repositories>
      <repository>
          <id>internal-staging</id>
          <url>https://artifacts.alfresco.com/nexus/content/groups/staging</url>
      </repository>
    </repositories>
    <build>
        <plugins>
            <!-- Configure deployment of releases to Staging area of Nexus -->
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.7</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>alfresco-internal-staging</serverId>
                    <nexusUrl>https://artifacts.alfresco.com/nexus</nexusUrl>
                    <stagingProfileId>${publicrelease.staging.profile}</stagingProfileId>
                    <stagingDescription>Staging Search Services ${project.version} (${bamboo_buildResultKey} ${bamboo_planRepository_revision})</stagingDescription>
                    <tags>
                        <build.number>${bamboo_buildNumber}</build.number>
                        <build.key>${bamboo_buildKey}</build.key>
                        <build.revision>${bamboo_planRepository_revision}</build.revision>
                    </tags>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <modules>
      <module>alfresco-search</module>
      <module>packaging</module>
    </modules>
</project>
