-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace heavyweight aws-java-sdk with fine-grained plugin #238
Conversation
<artifactId>aws-java-sdk</artifactId> | ||
<version>1.12.70</version> | ||
<groupId>org.jenkins-ci.plugins.aws-java-sdk</groupId> | ||
<artifactId>aws-java-sdk-minimal</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I am missing something. Why is this entry, without a version, even here in dependencyManagement
? It has no effect on Plugin-Dependencies
, which lists only aws-credentials
and aws-global-configuration
, so we are picking up the actual SDK plugin dep only transitively, right?
[INFO] io.jenkins.plugins:artifact-manager-s3:hpi:1.16-SNAPSHOT
[INFO] +- io.jenkins.plugins:aws-global-configuration:jar:1.7:compile
[INFO] | \- org.jenkins-ci.plugins.aws-java-sdk:aws-java-sdk-minimal:jar:1.12.70:compile
[INFO] | +- com.amazonaws:aws-java-sdk-core:jar:1.12.70:compile
[INFO] | | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.12.3:compile
[INFO] | | \- joda-time:joda-time:jar:2.10.12:compile
[INFO] | +- com.amazonaws:aws-java-sdk-s3:jar:1.12.70:compile
[INFO] | | +- com.amazonaws:aws-java-sdk-kms:jar:1.12.70:compile
[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.70:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sts:jar:1.12.70:compile
And why is S3 a dep of the “minimal” plugin? This is a specific service. I would have expected it to be bundled in some aws-java-sdk-s3
plugin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See jenkinsci/aws-java-sdk-plugin#540 for context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, it should be removed from depMgmt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downstream of