<?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>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>atlassian-public-pom</artifactId>
        <version>24</version>
    </parent>

    <groupId>com.atlassian.browsers</groupId>
    <artifactId>atlassian-browsers</artifactId>
    <packaging>pom</packaging>

    <version>2.3.1</version>

    <name>${project.artifactId}</name>

    <modules>
        <module>atlassian-browsers-auto</module>
        <module>atlassian-browsers-osx</module>
        <module>atlassian-browsers-windows</module>
        <module>atlassian-browsers-linux</module>
        <module>atlassian-browsers-linux64</module>
    </modules>

    <properties>
        <browser.resources.path>${project.build.directory}/resources</browser.resources.path>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>1.0.1</version>
                <executions>
                    <execution>
                        <id>ban-conflicting-dependencies</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <phase>validate</phase>
                        <configuration>
                            <rules>
                                <!--We only do guava from now on -->
                                <bannedDependencies>
                                    <searchTransitive>true</searchTransitive>
                                    <message>make sure google-collections is not accidentally included as transitive dependency. Use guava instead</message>                                        <excludes>
                                    <exclude>com.google.collections:google-collections</exclude>
                                </excludes>
                                </bannedDependencies>
                                <bannedDependencies>
                                    <searchTransitive>true</searchTransitive>
                                    <message>make sure junit, hamcrest-all and mockito-all are not accidentally included as transitive dependency. Use junit-dep, hamcrest-core, hamcrest-library or mockito-core instead</message>
                                    <excludes>
                                        <exclude>junit:junit</exclude>
                                        <exclude>org.mockito:mockito-all</exclude>
                                        <exclude>org.hamcrest:hamcrest-all</exclude>
                                    </excludes>
                                </bannedDependencies>
                            </rules>
                            <fail>true</fail>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

  <scm>
    <connection>scm:svn:https://studio.atlassian.com/svn/ATLBROWSERS/tags/atlassian-browsers-2.3.1</connection>
    <developerConnection>scm:svn:https://studio.atlassian.com/svn/ATLBROWSERS/tags/atlassian-browsers-2.3.1</developerConnection>
    <url>https://studio.atlassian.com/svn/ATLBROWSERS/tags/atlassian-browsers-2.3.1</url>
  </scm>
</project>
