<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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.google.cloud.bigtable</groupId>
    <artifactId>bigtable-client-parent</artifactId>
    <version>2.12.0</version> <!-- {x-version-update:bigtable-client-parent:current} -->
  </parent>

  <artifactId>bigtable-hbase-1.x-parent</artifactId>
  <packaging>pom</packaging>
  <name>${project.groupId}:${project.artifactId}</name>
  <description>
    This project is a parent project for the hbase Cloud Bigtable java client
    projects.
  </description>

  <modules>
    <module>bigtable-hbase-1.x</module>
    <module>bigtable-hbase-1.x-integration-tests</module>
    <module>bigtable-hbase-1.x-mapreduce</module>
    <module>bigtable-hbase-1.x-tools</module>
  </modules>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <configuration>
            <windowtitle>
              HBase + Cloud Bigtable Connector API
            </windowtitle>
            <doctitle>
              HBase + Cloud Bigtable Connector API
            </doctitle>
            <overview>../overview.html</overview>
            <bottom><![CDATA[<br>]]></bottom>

            <detectLinks />
            <links>
              <link>https://hbase.apache.org/apidocs/</link>
              <link>http://www.grpc.io/grpc-java/javadoc/</link>
            </links>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <profiles>
    <profile>
      <!-- Shading workaround for IDEs:
          resolve these modules from the local maven repo -->
      <id>with-shaded</id>
      <activation>
        <property>
          <name>!skip-shaded</name>
        </property>
      </activation>
      <modules>
        <module>bigtable-hbase-1.x-shaded</module>
        <module>bigtable-hbase-1.x-hadoop</module>
      </modules>
    </profile>
  </profiles>
</project>
