<?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.vaadin</groupId>
        <artifactId>flow-component-base</artifactId>
        <version>2.1.0</version>
    </parent>

    <artifactId>vaadin-context-menu-flow-parent</artifactId>
    <version>3.1.2</version>
    <packaging>pom</packaging>
    <name>Vaadin Context Menu Flow Parent</name>

   <repositories>
        <!-- repositories are configured in parent but still need this
             when parent is a snapshot -->
        <repository>
            <id>vaadin-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>
    </repositories>

    <modules>
        <module>vaadin-context-menu-flow</module>
        <module>vaadin-context-menu-flow-testbench</module>
        <module>vaadin-context-menu-flow-demo</module>
    </modules>

    <profiles>
        <profile>
            <id>default</id>
            <activation>
                <property>
                    <name>!release</name>
                </property>
            </activation>
            <modules>
                <module>vaadin-context-menu-flow-integration-tests</module>
                <module>vaadin-context-menu-flow-integration-tests/pom-bower-mode.xml</module>
            </modules>
        </profile>
    </profiles>
</project>
