<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>io.camunda.connector</groupId>
    <artifactId>connector-function-parent</artifactId>
    <version>0.22.0-alpha2</version>
    <relativePath>../pom.xml</relativePath>
  </parent>

  <artifactId>connector-aws-parent</artifactId>
  <packaging>pom</packaging>
  <name>aws-connector-parent</name>
  <description>Parent POM for AWS Connectors</description>
  <inceptionYear>2023</inceptionYear>

  <modules>
    <module>aws-base</module>
    <module>aws-dynamodb</module>
    <module>aws-eventbridge</module>
    <module>aws-lambda</module>
    <module>aws-sns</module>
    <module>aws-sqs</module>
  </modules>

  <properties>
    <license.inlineheader>Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
under one or more contributor license agreements. Licensed under a proprietary license.
See the License.txt file for more information. You may not use this file
except in compliance with the proprietary license.</license.inlineheader>
  </properties>

  <dependencies></dependencies>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-shade-plugin</artifactId>
          <executions>
            <execution>
              <!--This must be named-->
              <id>shade</id>
              <phase>package</phase>
              <goals>
                <goal>shade</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <skip>false</skip>
            <relocations>
              <!-- common relocation for all OOTB connectors -->
              <relocation>
                <pattern>com.fasterxml.jackson</pattern>
                <shadedPattern>connector.com.fasterxml.jackson</shadedPattern>
              </relocation>
            </relocations>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <!-- This declaration makes sure children get plugin in their lifecycle -->
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <!-- Configuration won't be propagated to children -->
        <inherited>false</inherited>
        <executions>
          <execution>
            <!--This matches and thus overrides execution defined above -->
            <id>shade</id>
            <!-- Unbind from lifecycle for this POM -->
            <phase>none</phase>
          </execution>
        </executions>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
