| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to You 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>org.apache.hop</groupId> |
| <artifactId>hop-plugins-databases</artifactId> |
| <version>2.20.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>hop-databases-redshift</artifactId> |
| <packaging>jar</packaging> |
| <name>Hop Plugins Databases Redshift</name> |
| |
| <properties> |
| <hop.jdbc.driver1>com.amazon.redshift:redshift-jdbc42</hop.jdbc.driver1> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hop</groupId> |
| <artifactId>hop-libs</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hop</groupId> |
| <artifactId>hop-libs-jdbc</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hop</groupId> |
| <artifactId>hop-databases-postgresql</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.amazon.redshift</groupId> |
| <artifactId>redshift-jdbc42</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- |
| IAM authentication makes the driver ask AWS for temporary database credentials instead |
| of signing in with a Redshift password. It reaches for these to do so, but declares them |
| optional, so without them the connection fails with a NoClassDefFoundError on |
| software.amazon.awssdk.services.redshift.RedshiftClient. The rest of the AWS SDK they |
| need is already shared in lib/core. |
| --> |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>redshift</artifactId> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>redshiftserverless</artifactId> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>software.amazon.awssdk</groupId> |
| <artifactId>sts</artifactId> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| </project> |