<?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.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>6</version>
    </parent>
    <groupId>com.pojosontheweb</groupId>
    <version>2.0.1</version>
    <artifactId>selenium-utils</artifactId>
    <packaging>pom</packaging>
    <name>Selenium Utils</name>
    <modules>
        <!--module>monte</module-->
        <module>test-app</module>
        <module>core</module>
        <module>groovy</module>
        <!--<module>gridvideo</module>-->
    </modules>
    <url>https://github.com/pojosontheweb/selenium-utils</url>
    <description>Utilities for selenium testing</description>
    <licenses>
        <license>
            <name>Apache 2</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <scm>
	    <url>https://github.com/pojosontheweb/selenium-utils</url>
    </scm>
    <issueManagement>
	    <url>https://github.com/pojosontheweb/selenium-utils/issues</url>
    </issueManagement>
    <developers>
        <developer>
            <id>vankeisb</id>
            <name>Remi VANKEISBELCK</name>
            <email>remi@rvkb.com</email>
            <url>http://www.rvkb.com</url>
        </developer>
    </developers>
    <properties>
        <gmavenVersion>1.5</gmavenVersion>
        <gmavenProviderSelection>2.0</gmavenProviderSelection>
        <groovyVersion>2.3.9</groovyVersion>
        <seleniumVersion>3.141.59</seleniumVersion>
    </properties>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.16</version>
			<configuration>
				<systemPropertyVariables>
				    <webtests.verbose>${webtests.verbose}</webtests.verbose>
				    <webdriver.chrome.driver>${webdriver.chrome.driver}</webdriver.chrome.driver>
				    <webtests.video.enabled>${webtests.video.enabled}</webtests.video.enabled>
				    <webtests.video.dir>${webtests.video.dir}</webtests.video.dir>
				</systemPropertyVariables>
			</configuration>
                </plugin>
                <plugin>
                    <groupId>com.spotify</groupId>
                    <artifactId>docker-maven-plugin</artifactId>
                    <version>0.2.6</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>2.7</version>
                        <executions>
                            <execution>
                                <id>generate-javadoc</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                                <configuration>
                                    <author>true</author>
                                    <use>true</use>
                                    <version>true</version>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>2.1.2</version>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.1</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>taste</id>
            <modules>
                <module>taste</module>
                <module>taste-cloud</module>
            </modules>
        </profile>
    </profiles>
</project>
