Skip to content
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

Merged
merged 3 commits into from
Oct 5, 2021

Conversation

Vlatombe
Copy link
Member

@Vlatombe Vlatombe commented Oct 4, 2021

Downstream of

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@Vlatombe Vlatombe marked this pull request as draft October 4, 2021 16:16
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
@Vlatombe Vlatombe marked this pull request as ready for review October 5, 2021 06:57
@Vlatombe Vlatombe requested a review from jglick October 5, 2021 06:57
@jglick jglick added the enhancement New feature or request label Oct 5, 2021
@jglick jglick merged commit b557153 into jenkinsci:master Oct 5, 2021
@Vlatombe Vlatombe deleted the aws-java-sdk-components branch October 5, 2021 12:26
<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>
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jglick jglick mentioned this pull request Oct 5, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants