Exclude older nastier version of AWS api jar
There is only one version of amazon-kinesis-deaggregator available in Maven Central, which is unfortunate because it brings in an older version of the AWS events API, which in turn has a very bad version range specification, causing the whole AWS internet to be downloaded for each build. I also made the deaggregator optional, which will help. Users that want to include it shoudl consider doing the same exlcusion. Fixes gh-171
This commit is contained in:
@@ -59,11 +59,19 @@
|
||||
<artifactId>aws-java-sdk-kinesis</artifactId>
|
||||
<version>${aws-java-sdk.version}</version>
|
||||
<scope>provided</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
<artifactId>amazon-kinesis-deaggregator</artifactId>
|
||||
<version>${aws-kinesis-deaggregator.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
<artifactId>aws-lambda-java-events</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.projectreactor</groupId>
|
||||
|
||||
Reference in New Issue
Block a user