<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>
    <groupId>com.griddynamics.qa</groupId>
    <artifactId>jbehave-framework</artifactId>
    <packaging>pom</packaging>
    <version>1.2.4</version>
    <name>JBehave Framework</name>
    <url>https://github.com/griddynamics/JBehave_framework</url>
    <description>JBehave_framework - set of methods, steps and utilities to test eCommenrce applications on desktop and mobile devices.</description>
    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>
    <organization>
        <name>Grid Dynamics, Inc.</name>
        <url>http://www.griddynamics.com</url>
    </organization>
    <developers>
        <developer>
            <id>budabum</id>
            <name>Alexey Lyanguzov</name>
            <email>budabum@gmail.com</email>
            <organization>Grid Dynamics, Inc</organization>
            <organizationUrl>http://www.griddynamics.com</organizationUrl>
            <roles>
                <role>curator</role>
            </roles>
        </developer>
    </developers>
    
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-core</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-integration</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>
        </dependencies>

    </dependencyManagement>
    <distributionManagement>
        <snapshotRepository>
            <id>sonatype-nexus-snapshots</id>
            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>sonatype-nexus-staging</id>
            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url> 
        </repository>
    </distributionManagement>
    <scm>
        <connection>scm:git:git@github.com:griddynamics/JBehave_framework.git</connection>
        <developerConnection>scm:git:git@github.com:griddynamics/JBehave_framework.git</developerConnection>
        <url>scm:git:git@github.com:griddynamics/JBehave_framework.git</url>
    </scm>
    <modules>
        <module>jbehave-web-fake</module>
        <module>common-resources-utils</module>
        <module>common-logger</module>
        <module>common-properties-utils</module>
        <module>common-tools</module>
        <module>core-framework</module>
        <module>common-ui-utils</module>
        <module>stubs-soap-common</module>
        <module>stubs-tools</module>
        <module>common-atg-utils</module>
        <module>common-hybris-utils</module>
        <module>mobile</module>
    </modules>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <ojdbc.version>11.2.0.3</ojdbc.version>
        <jbehave.core.version>3.9.4</jbehave.core.version>
        <selenium.version>2.53.0</selenium.version>
        <jbehave.site.version>3.1.1</jbehave.site.version>
        <junit.version>4.11</junit.version>
        <spring.version>3.2.4.RELEASE</spring.version>
        <log4j.version>1.2.17</log4j.version>
        <doxygen.path>/usr/bin/doxygen</doxygen.path>
        <hamcrest.version>1.3</hamcrest.version>
    </properties>
    <!--<profiles>
        <profile>
            <id>signJars</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jarsigner-plugin</artifactId>
                        <version>1.2</version>
                        <executions>
                            <execution>
                                <id>sign</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <storetype>JKS</storetype>
                            <keystore>${keystore.path}</keystore>
                            <alias>${keystore.alias}</alias>
                            <storepass>${keystore.store.password}</storepass>
                            <keypass>${keystore.key.password}</keypass>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>-->

    <profiles>
        <profile>
            <id>generateDocs</id>
            <activation>
                <activeByDefault>false</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>net.sf.doodleproject</groupId>
                        <artifactId>doxygen-maven-plugin</artifactId>
                        <configuration>
                            <alphabeticalIndex>true</alphabeticalIndex>
                            <generateHtml>true</generateHtml>
                            <inputDirectory>${basedir}</inputDirectory>
                            <projectNumber>${version}</projectNumber>
                            <outputDirectory>${project.build.directory}/doxygen/</outputDirectory>
                            <configurationFile>doxygen.config</configurationFile>
                            <filePatterns>*.java</filePatterns>
                            <recursive>true</recursive>
                            <executable>${doxygen.path}</executable>
                            <warnIfDocError>true</warnIfDocError>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>report</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>

            <pluginRepositories>
                <pluginRepository>
                    <id>doodleproject-repo</id>
                    <name>DoodleProject Maven 2 Repository</name>
                    <url>http://doodleproject.sourceforge.net/maven2/release</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-shade-plugin</artifactId>
                    <version>2.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>2.2</version>
                </plugin>
                <plugin>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.8</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>properties-maven-plugin</artifactId>
                    <version>1.0-alpha-2</version>
                </plugin>
                <plugin>
                    <groupId>net.sf.doodleproject</groupId>
                    <artifactId>doxygen-maven-plugin</artifactId>
                    <version>2.2</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.2.1</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-javadoc-plugin</artifactId>
                <version>2.9.1</version>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>1.5</version>
                <executions>
                    <execution>
                        <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
