<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>
    <artifactId>acs-community-packaging</artifactId>
    <name>Alfresco Content Services Community Packaging</name>
    <version>6.0.5-SNAPSHOT</version>
    <packaging>pom</packaging>

    <parent>
        <groupId>org.alfresco</groupId>
        <artifactId>alfresco-super-pom</artifactId>
        <version>9</version>
    </parent>

    <profiles>
        <profile>
            <id>community</id>
            <modules>
                <module>war</module>
            </modules>
        </profile>
        <profile>
            <id>communityDocker</id>
            <modules>
                <module>war</module>
                <module>docker-alfresco</module>
            </modules>
        </profile>
        <profile>
            <id>fullBuild</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
                <module>war</module>
                <module>distribution</module>
                <module>public-javadoc</module>
                <module>docker-alfresco</module>
            </modules>
        </profile>
    </profiles>

    <scm>
        <connection>scm:git:git@github.com:Alfresco/acs-community-packaging.git</connection>
        <developerConnection>scm:git:git@github.com:Alfresco/acs-community-packaging.git</developerConnection>
        <url>https://github.com/Alfresco/acs-community-packaging</url>
        <tag>HEAD</tag>
    </scm>

    <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>

    <properties>
        <!-- Set to "Community Early Access" to add to the version.edition property in version.properties -->
        <version.edition>Community</version.edition>
        <image.tag>latest</image.tag>

        <dependency.alfresco-core.version>7.1</dependency.alfresco-core.version>
        <dependency.alfresco-data-model.version>8.3</dependency.alfresco-data-model.version>
        <dependency.alfresco-repository.version>6.41</dependency.alfresco-repository.version>
        <dependency.alfresco-remote-api.version>6.27</dependency.alfresco-remote-api.version>
        <dependency.alfresco-hb-data-sender.version>1.0.7</dependency.alfresco-hb-data-sender.version>

        <dependency.alfresco-mmt.version>6.0</dependency.alfresco-mmt.version>
        <dependency.alfresco-pdf-renderer.version>1.1</dependency.alfresco-pdf-renderer.version>
        <dependency.alfresco-trashcan-cleaner.version>2.3</dependency.alfresco-trashcan-cleaner.version>
        <dependency.alfresco-jlan.version>7.0</dependency.alfresco-jlan.version>
        <dependency.alfresco-server-root.version>6.0</dependency.alfresco-server-root.version>
        <dependency.alfresco-messaging-repo.version>1.2.8</dependency.alfresco-messaging-repo.version>

        <dependency.spring.version>5.0.4.RELEASE</dependency.spring.version>
        <dependency.fabric8.version>3.5.37</dependency.fabric8.version>

        <!-- Alfresco Share version -->
        <alfresco.share.version>6.0.a</alfresco.share.version>
        <alfresco.alfresco-share-services.version>6.0.a</alfresco.alfresco-share-services.version>

        <!-- Alfresco GoogleDocs integration version -->
        <alfresco.googledocs.version>3.0.4.2</alfresco.googledocs.version>

        <!-- Alfresco Office Services Module -->
        <alfresco.aos-module.version>1.1.7</alfresco.aos-module.version>

        <!-- Deprecated SOLR4 app, still packaged for downward compatibility -->
        <alfresco.solr4.version>6.7</alfresco.solr4.version>

        <installer.version.name>${project.version}</installer.version.name>
        <alfresco.package.name>alfresco-community</alfresco.package.name>
        <alfresco.distribution.name>${alfresco.package.name}-distribution</alfresco.distribution.name>

        <dependency.postgresql.version>42.2.1</dependency.postgresql.version>

    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-core</artifactId>
                <version>${dependency.alfresco-core.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-core</artifactId>
                <version>${dependency.alfresco-core.version}</version>
                <classifier>tests</classifier>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-data-model</artifactId>
                <version>${dependency.alfresco-data-model.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-jlan-embed</artifactId>
                <version>${dependency.alfresco-jlan.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-remote-api</artifactId>
                <version>${dependency.alfresco-remote-api.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-remote-api</artifactId>
                <version>${dependency.alfresco-remote-api.version}</version>
                <classifier>tests</classifier>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-repository</artifactId>
                <version>${dependency.alfresco-repository.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-repository</artifactId>
                <version>${dependency.alfresco-repository.version}</version>
                <classifier>tests</classifier>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-trashcan-cleaner</artifactId>
                <version>${dependency.alfresco-trashcan-cleaner.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-heartbeat-data-sender</artifactId>
                <version>${dependency.alfresco-hb-data-sender.version}</version>
            </dependency>
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>xalan</artifactId>
                <version>2.7.2</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco.services</groupId>
                <artifactId>alfresco-messaging-repo</artifactId>
                <version>${dependency.alfresco-messaging-repo.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-mmt</artifactId>
                <version>${dependency.alfresco-mmt.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-pdf-renderer</artifactId>
                <version>${dependency.alfresco-pdf-renderer.version}</version>
                <classifier>linux</classifier>
                <type>tgz</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-pdf-renderer</artifactId>
                <version>${dependency.alfresco-pdf-renderer.version}</version>
                <classifier>win64</classifier>
                <type>tgz</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-pdf-renderer</artifactId>
                <version>${dependency.alfresco-pdf-renderer.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-server-root</artifactId>
                <version>${dependency.alfresco-server-root.version}</version>
                <type>war</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco.services</groupId>
                <artifactId>alfresco-events</artifactId>
                <version>1.2.5</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpcore</artifactId>
                <version>4.4.5</version>
            </dependency>
            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>2.9.4</version>
            </dependency>
            <dependency>
                <groupId>commons-httpclient</groupId>
                <artifactId>commons-httpclient</artifactId>
                <version>3.1-HTTPCLIENT-1265</version>
            </dependency>
            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.2</version>
            </dependency>
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>1.9.3</version>
            </dependency>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.11</version>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>3.2.2</version>
            </dependency>
            <!-- Use 2.1 version as a newer dependency for commons-validator -->
            <dependency>
                <groupId>commons-digester</groupId>
                <artifactId>commons-digester</artifactId>
                <version>2.1</version>
            </dependency>
            <dependency>
                <groupId>commons-lang</groupId>
                <artifactId>commons-lang</artifactId>
                <version>2.6</version>
            </dependency>
            <dependency>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-impl</artifactId>
                <version>2.3.0</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient</artifactId>
                <version>4.5.2</version>
            </dependency>
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient-cache</artifactId>
                <version>4.5.2</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context-support</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-expression</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jdbc</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-jms</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-webmvc</artifactId>
                <version>${dependency.spring.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-core</artifactId>
                <version>2.8.10</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
                <version>2.8.10</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-annotations</artifactId>
                <version>2.8.10</version>
            </dependency>
            <!-- Newer cxf libs, see REPO-3131 -->
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-frontend-jaxws</artifactId>
                <version>3.0.12</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-transports-http</artifactId>
                <version>3.0.12</version>
            </dependency>
            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-ws-policy</artifactId>
                <version>3.0.12</version>
            </dependency>
            <!-- newer version, see REPO-3133 -->
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-email</artifactId>
                <version>1.5</version>
            </dependency>
            <!-- Make sure JUnit is not packaged -->
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.12</version>
                <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>org.alfresco.aos-module</groupId>
                <artifactId>alfresco-aos-module</artifactId>
                <version>${alfresco.aos-module.version}</version>
                <type>amp</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco.aos-module</groupId>
                <artifactId>alfresco-aos-module-distributionzip</artifactId>
                <version>${alfresco.aos-module.version}</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco.aos-module</groupId>
                <artifactId>alfresco-vti-bin</artifactId>
                <version>${alfresco.aos-module.version}</version>
                <type>war</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-content-services-share-distribution</artifactId>
                <version>${alfresco.share.version}</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-share-services</artifactId>
                <version>${alfresco.alfresco-share-services.version}</version>
                <type>amp</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>share</artifactId>
                <version>${alfresco.share.version}</version>
                <type>war</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-solr4-distribution</artifactId>
                <version>${alfresco.solr4.version}</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-wcmqs-distribution</artifactId>
                <version>${alfresco.share.version}</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-wcmqs-web</artifactId>
                <version>${alfresco.share.version}</version>
                <classifier>classes</classifier>
            </dependency>
            <dependency>
                <groupId>org.alfresco</groupId>
                <artifactId>alfresco-wcmqs-client-api</artifactId>
                <version>${alfresco.share.version}</version>
            </dependency>
            <dependency>
                <groupId>org.alfresco.integrations</groupId>
                <artifactId>alfresco-googledocs-repo</artifactId>
                <version>${alfresco.googledocs.version}</version>
                <type>amp</type>
            </dependency>
            <dependency>
                <groupId>org.alfresco.integrations</groupId>
                <artifactId>alfresco-googledocs-share</artifactId>
                <version>${alfresco.googledocs.version}</version>
                <type>amp</type>
            </dependency>

        </dependencies>
    </dependencyManagement>
</project>
