Skip to content

Commit 758a37d

Browse files
committed
Avoid to relocate AWS classes which generate runtime NoDefClassError
1 parent ce7d80a commit 758a37d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

iam-aws-uber/build.gradle

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,6 @@ java {
2525
tasks.named('shadowJar', com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar) {
2626
archiveBaseName = 'aws-msk-iam-auth'
2727
archiveClassifier = 'uber'
28-
// archiveVersion = ''
29-
30-
// enableRelocation = true
31-
// relocationPrefix = 'org.logstash'
32-
33-
// relocate('software.amazon', 'org.logstash.software.amazon') {
34-
// // these are classes explicitly referred into the Kafka plugin configuration, so need to keep
35-
// // original name
36-
// exclude 'software.amazon.msk.auth.iam.IAMLoginModule'
37-
// exclude 'software.amazon.msk.auth.iam.IAMClientCallbackHandler'
38-
//
39-
// // This provider is used during KafkaConsumer creation
40-
// exclude 'software.amazon.awssdk.auth.credentials.AwsCredentialsProvider'
41-
// exclude 'software.amazon.awssdk.core.exception.SdkException'
42-
// exclude 'software.amazon.awssdk.core.exception.SdkException$Builder'
43-
// exclude 'software.amazon.awssdk.core.exception.SdkException$BuilderImpl'
44-
// exclude 'software.amazon.awssdk.core.exception.SdkClientException'
45-
// exclude 'software.amazon.awssdk.core.exception.SdkClientException$Builder'
46-
// exclude 'software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl'
47-
// }
4828

4929
relocate('org.apache.http', 'org.logstash.org.apache.http')
5030
relocate('com.fasterxml.jackson', 'org.logstash.com.fasterxml.jackson')

0 commit comments

Comments
 (0)