From 2fe2fe29b2d953aa599bb3ccb1d48d8d92f94ad9 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 27 Feb 2025 12:45:03 +0000 Subject: [PATCH 01/45] chore(automation): Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 132 ++++++++++----- .github/ISSUE_TEMPLATE/maintenance.yml | 4 +- .github/ISSUE_TEMPLATE/rfc.md | 159 ++++++++++++------ .github/ISSUE_TEMPLATE/share_your_work.yml | 2 +- .github/ISSUE_TEMPLATE/support_powertools.yml | 8 +- .github/ISSUE_TEMPLATE/tech_debt.yml | 60 +++++++ 6 files changed, 263 insertions(+), 102 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/tech_debt.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index abd8faa56..5b6b801c5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,46 +1,92 @@ ---- name: Bug report -about: Create a report to help us improve -title: '' -labels: bug, triage -assignees: '' +description: Report a reproducible bug to help us improve +title: "Bug: TITLE" +labels: ["bug", "triage"] +body: + - type: markdown + attributes: + value: | + Thank you for submitting a bug report. Please add as much information as possible to help us reproduce, and remove any potential sensitive data. ---- + Please become familiar with [our definition of bug](https://docs.powertools.aws.dev/lambda/java/processes/maintainers/#is-that-a-bug). + - type: textarea + id: expected_behaviour + attributes: + label: Expected Behaviour + description: Please share details on the behaviour you expected + validations: + required: true + - type: textarea + id: current_behaviour + attributes: + label: Current Behaviour + description: Please share details on the current issue + validations: + required: true + - type: textarea + id: code_snippet + attributes: + label: Code snippet + description: Please share a code snippet to help us reproduce the issue + render: java + validations: + required: true + - type: textarea + id: solution + attributes: + label: Possible Solution + description: If known, please suggest a potential resolution + validations: + required: false + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: Please share how we might be able to reproduce this issue + validations: + required: true + - type: input + id: version + attributes: + label: Powertools for AWS Lambda (Java) version + placeholder: "latest, 1.19.0" + value: latest + validations: + required: true + - type: dropdown + id: runtime + attributes: + label: AWS Lambda function runtime + options: + - "Java 8" + - "Java 11" + - "Java 17" + - "Java 21" + - "provided.al2023" + validations: + required: true + - type: dropdown + id: packaging + attributes: + label: Packaging format used + options: + - Lambda Layers + - Serverless Application Repository (SAR) App + - PyPi + multiple: true + validations: + required: true + - type: textarea + id: logs + attributes: + label: Debugging logs + description: If available, please share [debugging logs](https://docs.powertools.aws.dev/lambda/lambda/#debug-mode) + render: java + validations: + required: false + - type: markdown + attributes: + value: | + --- - - - -**What were you trying to accomplish?** - -## Expected Behavior - - - -## Current Behavior - - - -## Possible Solution - - - -## Steps to Reproduce (for bugs) - - -1. -2. -3. -4. - -## Environment - -* **Powertools for AWS Lambda (Java) version used**: -* **Packaging format (Layers, Maven/Gradle)**: -* **AWS Lambda function runtime:** -* **Debugging logs** - -> [How to enable debug mode](https://docs.powertools.aws.dev/lambda-java/#debug-mode)** - -```text -# paste logs here -``` + **Disclaimer**: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/maintenance.yml b/.github/ISSUE_TEMPLATE/maintenance.yml index 843f5103c..1a84ed7ef 100644 --- a/.github/ISSUE_TEMPLATE/maintenance.yml +++ b/.github/ISSUE_TEMPLATE/maintenance.yml @@ -57,11 +57,11 @@ body: options: - label: This request meets [Powertools for AWS Lambda (Java) Tenets](https://docs.powertools.aws.dev/lambda-java/#tenets) required: true - - label: Should this be considered in other Powertools for AWS Lambda (Java) languages? i.e. [Python](https://github.com/aws-powertools/powertools-lambda-python/), [TypeScript](https://github.com/aws-powertools/powertools-lambda-typescript/) + - label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Python](https://github.com/aws-powertools/powertools-lambda-python/), [TypeScript](https://github.com/aws-powertools/powertools-lambda-typescript/) required: false - type: markdown attributes: value: | --- - **Disclaimer**: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful. + **Disclaimer**: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/rfc.md b/.github/ISSUE_TEMPLATE/rfc.md index 84fce71df..ae2337402 100644 --- a/.github/ISSUE_TEMPLATE/rfc.md +++ b/.github/ISSUE_TEMPLATE/rfc.md @@ -1,52 +1,107 @@ ---- -name: RFC -about: Feature design and proposals -title: 'RFC: ' -labels: RFC, triage -assignees: '' - ---- - -## Key information - -* RFC PR: (leave this empty) -* Related issue(s), if known: -* Area: (i.e. Tracer, Metrics, Logger, etc.) -* Meet [tenets](https://docs.powertools.aws.dev/lambda-java/#tenets): (Yes/no) - -## Summary -[summary]: #summary - -> One paragraph explanation of the feature. - -## Motivation -[motivation]: #motivation - -> Why are we doing this? What use cases does it support? What is the expected outcome? - -## Proposal -[proposal]: #proposal - -> This is the bulk of the RFC. - -> Explain the design in enough detail for somebody familiar with Powertools for AWS Lambda (Java) to understand it, and for somebody familiar with the implementation to implement it. - -> This should get into specifics and corner-cases, and include examples of how the feature is used. Any new terminology should be defined here. - -## Drawbacks -[drawbacks]: #drawbacks - -> Why should we *not* do this? - -> Do we need additional dependencies? Impact performance/package size? - -## Rationale and alternatives -[rationale-and-alternatives]: #rationale-and-alternatives - -* **What other designs have been considered? Why not them?** -* **What is the impact of not doing this?** - -## Unresolved questions -[unresolved-questions]: #unresolved-questions - -> Optional, stash area for topics that need further development e.g. TBD +name: Request for Comments (RFC) +description: Feature design and detailed proposals +title: "RFC: TITLE" +labels: ["RFC", "triage"] +body: + - type: markdown + attributes: + value: | + Thank you for submitting a RFC. Please add as many details as possible to help further enrich this design. + - type: input + id: relation + attributes: + label: Is this related to an existing feature request or issue? + description: Please share a link, if applicable + - type: dropdown + id: area + attributes: + label: Which Powertools for AWS Lambda (Java) utility does this relate to? + options: + - Tracer + - Logger + - Metrics + - Middleware factory + - Parameters + - Batch processing + - Typing + - Validation + - Event Source Data Classes + - Parser + - Idempotency + - Feature flags + - JMESPath functions + - Other + validations: + required: true + - type: textarea + id: summary + attributes: + label: Summary + description: Please provide an overview in one or two paragraphs + validations: + required: true + - type: textarea + id: problem + attributes: + label: Use case + description: Please share the use case and motivation behind this proposal + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposal + description: Please explain the design in detail, so anyone familiar with the project could implement it + placeholder: What the user experience looks like before and after this design? + validations: + required: true + - type: textarea + id: scope + attributes: + label: Out of scope + description: Please explain what should be considered out of scope in your proposal + validations: + required: true + - type: textarea + id: challenges + attributes: + label: Potential challenges + description: Nothing is perfect. Please share what common challenges, edge cases, unresolved areas, and suggestions on how to mitigate them + validations: + required: true + - type: textarea + id: integrations + attributes: + label: Dependencies and Integrations + description: If applicable, please share whether this feature has additional dependencies, and how it might integrate with other utilities available + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: Alternative solutions + description: Please describe what alternative solutions to this use case, if any + render: markdown + validations: + required: false + - type: checkboxes + id: acknowledgment + attributes: + label: Acknowledgment + options: + - label: This feature request meets [Powertools for AWS Lambda (Java) Tenets](https://docs.powertools.aws.dev/lambda/Java/#tenets) + required: true + - label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Python](https://github.com/aws-powertools/powertools-lambda-python/), [TypeScript](https://github.com/aws-powertools/powertools-lambda-typescript/), and [.NET](https://github.com/aws-powertools/powertools-lambda-dotnet/) + required: false + - type: markdown + attributes: + value: | + --- + + **Disclaimer**: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful. + + Metadata information for admin purposes, please leave them empty. + + * RFC PR: + * Approved by: '' + * Reviewed by: '' \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/share_your_work.yml b/.github/ISSUE_TEMPLATE/share_your_work.yml index 228ee8281..01dae4fdf 100644 --- a/.github/ISSUE_TEMPLATE/share_your_work.yml +++ b/.github/ISSUE_TEMPLATE/share_your_work.yml @@ -53,4 +53,4 @@ body: label: Acknowledgment options: - label: I understand this content may be removed from Powertools for AWS Lambda (Java) documentation if it doesn't conform with the [Code of Conduct](https://aws.github.io/code-of-conduct) - required: true + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/support_powertools.yml b/.github/ISSUE_TEMPLATE/support_powertools.yml index 2b66d830d..8623c2b73 100644 --- a/.github/ISSUE_TEMPLATE/support_powertools.yml +++ b/.github/ISSUE_TEMPLATE/support_powertools.yml @@ -1,7 +1,7 @@ name: Support Powertools for AWS Lambda (Java) (become a reference) description: Add your organization's name or logo to the Powertools for AWS Lambda (Java) documentation title: "[Support Powertools for AWS Lambda (Java)]: " -labels: ["customer_reference"] +labels: ["customer-reference"] body: - type: markdown attributes: @@ -48,9 +48,9 @@ body: - type: checkboxes id: other_languages attributes: - label: Also using other Powertools for AWS Lambda (Java) languages? + label: Also using other Powertools for AWS Lambda languages? options: - - label: Python + - label: Java required: false - label: TypeScript required: false @@ -59,6 +59,6 @@ body: - type: markdown attributes: value: | - *By raising a Support Powertools for AWS Lambda (Java) issue, you are granting AWS permission to use your company's name (and/or logo) for the limited purpose described here. You are also confirming that you have authority to grant such permission.* + *By raising a Support Powertools for AWS Lambda (Python) issue, you are granting AWS permission to use your company's name (and/or logo) for the limited purpose described here. You are also confirming that you have authority to grant such permission.* *You can opt-out at any time by commenting or reopening this issue.* \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/tech_debt.yml b/.github/ISSUE_TEMPLATE/tech_debt.yml new file mode 100644 index 000000000..56cd4b8c7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tech_debt.yml @@ -0,0 +1,60 @@ +name: Technical debt +description: Suggest an activity to help address technical debt. +title: "Tech debt: TITLE" +labels: ["tech-debt", "triage"] +body: + - type: markdown + attributes: + value: Thank you for taking the time to help us proactively improve delivery velocity, safely. + - type: textarea + id: importance + attributes: + label: Why is this needed? + description: Please help us understand the value so we can prioritize it accordingly + validations: + required: true + - type: dropdown + id: area + attributes: + label: Which area does this relate to? + multiple: true + options: + - Tests + - Static typing + - Tracer + - Logger + - Metrics + - Middleware factory + - Parameters + - Batch processing + - Validation + - Event Source Data Classes + - Parser + - Idempotency + - Feature flags + - JMESPath functions + - Streaming + - Automation + - Other + - type: textarea + id: suggestion + attributes: + label: Suggestion + description: If available, please share what a good solution would look like + validations: + required: false + - type: checkboxes + id: acknowledgment + attributes: + label: Acknowledgment + options: + - label: This request meets [Powertools for AWS Lambda (Python) Tenets](https://docs.powertools.aws.dev/lambda/python/latest/#tenets) + required: true + - label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Python](https://github.com/aws-powertools/powertools-lambda-python/), [TypeScript](https://github.com/aws-powertools/powertools-lambda-typescript/), and [.NET](https://github.com/aws-powertools/powertools-lambda-dotnet/) + required: false + - type: markdown + attributes: + value: | + --- + + **Disclaimer**: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful. \ No newline at end of file From 5249879b9127ffa2cbb0f3f566d519add41d7c27 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Tue, 4 Mar 2025 15:39:36 +0000 Subject: [PATCH 02/45] delete file --- tree.txt | 1723 ------------------------------------------------------ 1 file changed, 1723 deletions(-) delete mode 100644 tree.txt diff --git a/tree.txt b/tree.txt deleted file mode 100644 index f801275c9..000000000 --- a/tree.txt +++ /dev/null @@ -1,1723 +0,0 @@ -[INFO] Scanning for projects... -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda:powertools-test-suite:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 175, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda:powertools-e2e-tests:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 184, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-core-sam:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 126, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-core-cdk:jar:1.17.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 125, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:cdk:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 34, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-core-serverless:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 127, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-core-terraform:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 125, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-idempotency:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 171, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-parameters:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 89, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-serialization:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 41, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-sqs:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 142, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-batch:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 149, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-validation:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 73, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda.examples:powertools-examples-cloudformation:jar:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 149, column 19 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for software.amazon.lambda:powertools-examples:pom:1.18.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 49, column 21 -[WARNING] -[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. -[WARNING] -[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. -[WARNING] -[INFO] Inspecting build with total of 28 modules... -[INFO] Installing Nexus Staging features: -[INFO] ... total of 15 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin -[INFO] ------------------------------------------------------------------------ -[INFO] Reactor Build Order: -[INFO] -[INFO] Powertools for AWS Lambda (Java) library Parent [pom] -[INFO] Powertools for AWS Lambda (Java) library Core [jar] -[INFO] Powertools for AWS Lambda (Java) library Serialization Utilities [jar] -[INFO] Powertools for AWS Lambda (Java) library Logging [jar] -[INFO] Powertools for AWS Lambda (Java) library Tracing [jar] -[INFO] Powertools for AWS Lambda (Java) library SQS [jar] -[INFO] Powertools for AWS Lambda (Java) library Metrics [jar] -[INFO] Powertools for AWS Lambda (Java) library Parameters [jar] -[INFO] Powertools for AWS Lambda (Java) validation library [jar] -[INFO] Powertools for AWS Lambda (Java) library Test Suite [jar] -[INFO] Powertools for AWS Lambda (Java)library Cloudformation [jar] -[INFO] Powertools for AWS Lambda (Java) library Idempotency [jar] -[INFO] Powertools for AWS Lambda (Java) library Large messages [jar] -[INFO] Powertools for AWS Lambda (Java)library End-to-end tests [jar] -[INFO] Powertools for AWS Lambda (Java) batch messages [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core [jar] -[INFO] cdk [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Idempotency [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Parameters [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Serialization [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - SQS [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Batch [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples - Validation [jar] -[INFO] AWS Lambda Powertools for Java library Examples - CloudFormation [jar] -[INFO] Powertools for AWS Lambda (Java) library Examples [pom] -[INFO] -[INFO] --------------< software.amazon.lambda:powertools-parent >-------------- -[INFO] Building Powertools for AWS Lambda (Java) library Parent 1.18.0 [1/28] -[INFO] --------------------------------[ pom ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-parent --- -[INFO] software.amazon.lambda:powertools-parent:pom:1.18.0 -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ---------------< software.amazon.lambda:powertools-core >--------------- -[INFO] Building Powertools for AWS Lambda (Java) library Core 1.18.0 [2/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-core --- -[INFO] software.amazon.lambda:powertools-core:jar:1.18.0 -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | +- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ----------< software.amazon.lambda:powertools-serialization >----------- -[INFO] Building Powertools for AWS Lambda (Java) library Serialization Utilities 1.18.0 [3/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-serialization --- -[INFO] software.amazon.lambda:powertools-serialization:jar:1.18.0 -[INFO] +- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | +- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- com.amazonaws:aws-lambda-java-tests:jar:1.1.1:test -[INFO] | +- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:test -[INFO] | +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] | \- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] -------------< software.amazon.lambda:powertools-logging >-------------- -[INFO] Building Powertools for AWS Lambda (Java) library Logging 1.18.0 [4/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-logging --- -[INFO] software.amazon.lambda:powertools-logging:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:test -[INFO] | \- joda-time:joda-time:jar:2.10.8:test -[INFO] +- com.amazonaws:aws-lambda-java-tests:jar:1.1.1:test -[INFO] | +- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:test -[INFO] | \- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] +- org.skyscreamer:jsonassert:jar:1.5.1:test -[INFO] | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] -------------< software.amazon.lambda:powertools-tracing >-------------- -[INFO] Building Powertools for AWS Lambda (Java) library Tracing 1.18.0 [5/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-tracing --- -[INFO] software.amazon.lambda:powertools-tracing:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | +- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] | | +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] | | +- commons-codec:commons-codec:jar:1.15:compile -[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | | | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] | | \- joda-time:joda-time:jar:2.12.7:compile -[INFO] | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ---------------< software.amazon.lambda:powertools-sqs >---------------- -[INFO] Building Powertools for AWS Lambda (Java) library SQS 1.18.0 [6/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-sqs --- -[INFO] software.amazon.lambda:powertools-sqs:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | +- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- com.amazonaws:aws-lambda-java-tests:jar:1.1.1:test -[INFO] | \- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:test -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- software.amazon.payloadoffloading:payloadoffloading-common:jar:2.2.0:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- software.amazon.awssdk:sqs:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:apache-client:jar:2.30.19:runtime -[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:runtime -[INFO] | | | \- commons-logging:commons-logging:jar:1.2:runtime -[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.16:runtime -[INFO] | | \- commons-codec:commons-codec:jar:1.17.1:runtime -[INFO] | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:runtime -[INFO] | +- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:runtime -[INFO] | \- io.netty:netty-resolver:jar:4.1.118.Final:compile -[INFO] +- software.amazon.awssdk:s3:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-xml-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:aws-query-protocol:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:arns:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:crt-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- io.netty:netty-codec-http:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-buffer:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-transport:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-codec:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-base:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-compression:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-protobuf:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-codec-marshalling:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-handler:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-transport-native-unix-common:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-codec-http2:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-common:jar:4.2.0.RC3:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] -------------< software.amazon.lambda:powertools-metrics >-------------- -[INFO] Building Powertools for AWS Lambda (Java) library Metrics 1.18.0 [7/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-metrics --- -[INFO] software.amazon.lambda:powertools-metrics:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- software.amazon.cloudwatchlogs:aws-embedded-metrics:jar:1.0.6:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.17.2:runtime -[INFO] | +- org.slf4j:slf4j-api:jar:1.7.30:compile -[INFO] | \- org.javatuples:javatuples:jar:1.2:runtime -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ------------< software.amazon.lambda:powertools-parameters >------------ -[INFO] Building Powertools for AWS Lambda (Java) library Parameters 1.18.0 [8/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-parameters --- -[INFO] software.amazon.lambda:powertools-parameters:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | +- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- software.amazon.awssdk:ssm:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:secretsmanager:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:dynamodb:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:apache-client:jar:2.30.19:runtime -[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:runtime -[INFO] | | | \- commons-logging:commons-logging:jar:1.2:runtime -[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.16:runtime -[INFO] | | \- commons-codec:commons-codec:jar:1.17.1:runtime -[INFO] | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:runtime -[INFO] | +- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:runtime -[INFO] | \- io.netty:netty-resolver:jar:4.1.118.Final:compile -[INFO] +- software.amazon.awssdk:appconfigdata:jar:2.30.19:compile -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- io.netty:netty-codec-http:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-buffer:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-transport:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-codec:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-base:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-compression:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-protobuf:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-codec-marshalling:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-handler:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-transport-native-unix-common:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-codec-http2:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-common:jar:4.2.0.RC3:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ------------< software.amazon.lambda:powertools-validation >------------ -[INFO] Building Powertools for AWS Lambda (Java) validation library 1.18.0 [9/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-validation --- -[INFO] software.amazon.lambda:powertools-validation:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] +- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- com.networknt:json-schema-validator:jar:1.0.87:compile -[INFO] | +- com.ethlo.time:itu:jar:1.7.0:compile -[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.15.2:compile -[INFO] | | \- org.yaml:snakeyaml:jar:2.0:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.7:compile -[INFO] +- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ------------< software.amazon.lambda:powertools-test-suite >------------ -[INFO] Building Powertools for AWS Lambda (Java) library Test Suite 1.18.0 [10/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-test-suite --- -[INFO] software.amazon.lambda:powertools-test-suite:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- org.apache.logging.log4j:log4j-jcl:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | \- commons-logging:commons-logging:jar:1.3.0:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | +- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- software.amazon.lambda:powertools-sqs:jar:1.18.0:compile -[INFO] | +- software.amazon.payloadoffloading:payloadoffloading-common:jar:2.2.0:compile -[INFO] | +- software.amazon.awssdk:sqs:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:apache-client:jar:2.30.19:runtime -[INFO] | | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.16:compile -[INFO] | | | \- commons-codec:commons-codec:jar:1.17.1:compile -[INFO] | | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:runtime -[INFO] | | \- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:runtime -[INFO] | \- software.amazon.awssdk:s3:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-xml-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:aws-query-protocol:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:arns:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:crt-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] +- io.netty:netty-codec-http:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-buffer:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-transport:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-resolver:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-codec:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-base:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-compression:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-protobuf:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-codec-marshalling:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-handler:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-transport-native-unix-common:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-codec-http2:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-common:jar:4.2.0.RC3:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- org.skyscreamer:jsonassert:jar:1.5.1:test -[INFO] | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ----------< software.amazon.lambda:powertools-cloudformation >---------- -[INFO] Building Powertools for AWS Lambda (Java)library Cloudformation 1.18.0 [11/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-cloudformation --- -[INFO] software.amazon.lambda:powertools-cloudformation:jar:1.18.0 -[INFO] +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- com.github.tomakehurst:wiremock-jre8:jar:2.35.1:test -[INFO] | +- org.eclipse.jetty:jetty-server:jar:9.4.49.v20220914:test -[INFO] | | +- javax.servlet:javax.servlet-api:jar:3.1.0:test -[INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-servlet:jar:9.4.49.v20220914:test -[INFO] | | +- org.eclipse.jetty:jetty-security:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-servlets:jar:9.4.49.v20220914:test -[INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty:jetty-util:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty:jetty-xml:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-proxy:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty:jetty-client:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty.http2:http2-server:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty.http2:http2-common:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty.http2:http2-hpack:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-alpn-server:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-alpn-java-server:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-alpn-openjdk8-server:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.49.v20220914:test -[INFO] | | \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.49.v20220914:test -[INFO] | +- org.eclipse.jetty:jetty-alpn-openjdk8-client:jar:9.4.49.v20220914:test -[INFO] | +- com.google.guava:guava:jar:31.1-jre:test -[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:test -[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test -[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:test -[INFO] | | +- org.checkerframework:checker-qual:jar:3.12.0:test -[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.11.0:test -[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:test -[INFO] | +- org.apache.httpcomponents.client5:httpclient5:jar:5.1.3:test -[INFO] | | +- org.apache.httpcomponents.core5:httpcore5:jar:5.1.3:test -[INFO] | | +- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.1.3:test -[INFO] | | \- commons-codec:commons-codec:jar:1.15:test -[INFO] | +- org.xmlunit:xmlunit-core:jar:2.9.0:test -[INFO] | | \- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test -[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:test -[INFO] | +- org.xmlunit:xmlunit-legacy:jar:2.9.0:test -[INFO] | +- org.xmlunit:xmlunit-placeholders:jar:2.9.0:test -[INFO] | +- net.javacrumbs.json-unit:json-unit-core:jar:2.36.0:test -[INFO] | | \- org.hamcrest:hamcrest-core:jar:2.2:test -[INFO] | | \- org.hamcrest:hamcrest:jar:2.2:test -[INFO] | +- com.jayway.jsonpath:json-path:jar:2.7.0:test -[INFO] | | \- net.minidev:json-smart:jar:2.4.7:test -[INFO] | | \- net.minidev:accessors-smart:jar:2.4.7:test -[INFO] | +- org.ow2.asm:asm:jar:9.4:test -[INFO] | +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:test -[INFO] | +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] | +- com.github.jknack:handlebars:jar:4.3.1:test -[INFO] | +- com.github.jknack:handlebars-helpers:jar:4.3.1:test -[INFO] | +- commons-fileupload:commons-fileupload:jar:1.4:test -[INFO] | +- commons-io:commons-io:jar:2.11.0:test -[INFO] | \- org.slf4j:slf4j-api:jar:1.7.36:compile -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] -----------< software.amazon.lambda:powertools-idempotency >------------ -[INFO] Building Powertools for AWS Lambda (Java) library Idempotency 1.18.0 [12/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-idempotency --- -[INFO] software.amazon.lambda:powertools-idempotency:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] | +- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- software.amazon.awssdk:dynamodb:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.junit-pioneer:junit-pioneer:jar:1.9.1:test -[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-launcher:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:test -[INFO] | \- joda-time:joda-time:jar:2.10.8:test -[INFO] +- com.amazonaws:aws-lambda-java-tests:jar:1.1.1:test -[INFO] | \- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:test -[INFO] +- com.amazonaws:DynamoDBLocal:jar:1.25.1:test -[INFO] | +- org.antlr:antlr4-runtime:jar:4.5:test -[INFO] | | \- org.abego.treelayout:org.abego.treelayout.core:jar:1.0.1:test -[INFO] | +- commons-cli:commons-cli:jar:1.6.0:test -[INFO] | +- com.almworks.sqlite4java:libsqlite4java-linux-i386:so:1.0.392:test -[INFO] | +- com.almworks.sqlite4java:libsqlite4java-linux-amd64:so:1.0.392:test -[INFO] | +- com.almworks.sqlite4java:sqlite4java-win32-x64:dll:1.0.392:test -[INFO] | +- com.almworks.sqlite4java:sqlite4java-win32-x86:dll:1.0.392:test -[INFO] | +- com.almworks.sqlite4java:libsqlite4java-osx:dylib:1.0.392:test -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.17.2:test -[INFO] | +- com.amazonaws:aws-java-sdk-core:jar:1.12.781:test -[INFO] | | +- commons-logging:commons-logging:jar:1.1.3:test -[INFO] | | +- commons-codec:commons-codec:jar:1.15:test -[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:test -[INFO] | | | \- org.apache.httpcomponents:httpcore:jar:4.4.13:test -[INFO] | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:test -[INFO] | +- com.amazonaws:aws-java-sdk-dynamodb:jar:1.12.619:test -[INFO] | | +- com.amazonaws:aws-java-sdk-s3:jar:1.12.619:test -[INFO] | | | \- com.amazonaws:aws-java-sdk-kms:jar:1.12.619:test -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.619:test -[INFO] | +- software.amazon.awssdk:cognitoidentity:jar:2.30.19:test -[INFO] | | +- software.amazon.awssdk:apache-client:jar:2.30.19:test -[INFO] | | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:test -[INFO] | | +- io.netty:netty-codec-http:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-codec-http2:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-codec:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-transport:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-common:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-buffer:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-handler:jar:4.1.118.Final:test -[INFO] | | | \- io.netty:netty-transport-native-unix-common:jar:4.1.118.Final:test -[INFO] | | +- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:test -[INFO] | | \- io.netty:netty-resolver:jar:4.1.118.Final:test -[INFO] | +- software.amazon.awssdk:cognitoidentityprovider:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:pinpoint:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:dynamodb-enhanced:jar:2.30.19:test -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] | +- org.eclipse.jetty:jetty-client:jar:9.4.48.v20220622:test -[INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.4.48.v20220622:test -[INFO] | | | \- org.eclipse.jetty:jetty-util:jar:9.4.48.v20220622:test -[INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.4.48.v20220622:test -[INFO] | +- org.eclipse.jetty:jetty-server:jar:9.4.48.v20220622:test -[INFO] | | \- javax.servlet:javax.servlet-api:jar:3.1.0:test -[INFO] | \- com.google.guava:guava:jar:33.3.0-jre:test -[INFO] | +- com.google.guava:failureaccess:jar:1.0.2:test -[INFO] | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test -[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:test -[INFO] | +- org.checkerframework:checker-qual:jar:3.43.0:test -[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.28.0:test -[INFO] | \- com.google.j2objc:j2objc-annotations:jar:3.0.0:test -[INFO] +- io.github.ganadist.sqlite4java:libsqlite4java-osx-aarch64:dylib:1.0.392:test -[INFO] | \- com.almworks.sqlite4java:sqlite4java:jar:1.0.392:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ----------< software.amazon.lambda:powertools-large-messages >---------- -[INFO] Building Powertools for AWS Lambda (Java) library Large messages 1.18.0 [13/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-large-messages --- -[INFO] software.amazon.lambda:powertools-large-messages:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | \- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- software.amazon.payloadoffloading:payloadoffloading-common:jar:2.2.0:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | +- org.slf4j:slf4j-api:jar:1.7.36:compile -[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:s3:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-xml-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:aws-query-protocol:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:arns:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:crt-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.junit-pioneer:junit-pioneer:jar:1.9.1:test -[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-launcher:jar:1.10.0:test -[INFO] +- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:test -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:test -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ------------< software.amazon.lambda:powertools-e2e-tests >------------- -[INFO] Building Powertools for AWS Lambda (Java)library End-to-end tests 1.18.0 [14/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-e2e-tests --- -[INFO] software.amazon.lambda:powertools-e2e-tests:jar:1.18.0 -[INFO] +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:test -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:test -[INFO] | +- org.slf4j:slf4j-api:jar:2.0.9:test -[INFO] | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:test -[INFO] +- software.amazon.awssdk:lambda:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:test -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:sdk-core:jar:2.30.19:test -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:test -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:test -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:test -[INFO] | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:test -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:test -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:json-utils:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:apache-client:jar:2.30.19:test -[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:test -[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.16:test -[INFO] | | \- commons-codec:commons-codec:jar:1.17.1:test -[INFO] | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:test -[INFO] | +- io.netty:netty-codec-http:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-codec-http2:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-codec:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-transport:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-common:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-buffer:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-handler:jar:4.1.118.Final:test -[INFO] | | \- io.netty:netty-transport-native-unix-common:jar:4.1.118.Final:test -[INFO] | +- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:test -[INFO] | \- io.netty:netty-resolver:jar:4.1.118.Final:test -[INFO] +- software.amazon.awssdk:dynamodb:jar:2.30.19:test -[INFO] | \- software.amazon.awssdk:profiles:jar:2.30.19:test -[INFO] +- software.amazon.awssdk:kinesis:jar:2.30.19:test -[INFO] | \- software.amazon.awssdk:aws-cbor-protocol:jar:2.30.19:test -[INFO] | \- software.amazon.awssdk:third-party-jackson-dataformat-cbor:jar:2.30.19:test -[INFO] +- software.amazon.awssdk:cloudwatch:jar:2.30.19:test -[INFO] | \- software.amazon.awssdk:aws-query-protocol:jar:2.30.19:test -[INFO] +- software.amazon.awssdk:xray:jar:2.30.19:test -[INFO] +- software.amazon.awssdk:sqs:jar:2.30.19:test -[INFO] +- com.amazonaws:amazon-sqs-java-extended-client-lib:jar:2.0.4:test -[INFO] | +- software.amazon.payloadoffloading:payloadoffloading-common:jar:2.2.0:test -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:test -[INFO] | \- commons-logging:commons-logging:jar:1.2:test -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.30.19:test -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- commons-io:commons-io:jar:2.16.1:compile -[INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- com.evanlennick:retry4j:jar:0.15.0:test -[INFO] +- software.amazon.awscdk:aws-cdk-lib:jar:2.130.0:test -[INFO] | +- software.amazon.awscdk:cdk-asset-awscli-v1:jar:2.2.223:test (version selected from constraint [2.2.202,3.0.0)) -[INFO] | +- software.amazon.awscdk:cdk-asset-kubectl-v20:jar:2.1.4:test (version selected from constraint [2.1.2,3.0.0)) -[INFO] | +- software.amazon.awscdk:cdk-asset-node-proxy-agent-v6:jar:2.1.0:test (version selected from constraint [2.0.1,3.0.0)) -[INFO] | +- software.amazon.jsii:jsii-runtime:jar:1.106.0:test (version selected from constraint [1.94.0,2.0.0)) -[INFO] | | \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.17.2:test -[INFO] | +- org.jetbrains:annotations:jar:19.0.0:test (version selected from constraint [16.0.3,20.0.0)) -[INFO] | \- javax.annotation:javax.annotation-api:jar:1.3.2:test (version selected from constraint [1.3.2,1.4.0)) -[INFO] +- software.constructs:constructs:jar:10.3.0:test -[INFO] +- software.amazon.awssdk:s3:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:aws-xml-protocol:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:arns:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:crt-core:jar:2.30.19:test -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:test -[INFO] | \- software.amazon.awssdk:checksums-spi:jar:2.30.19:test -[INFO] +- software.amazon.awssdk:cloudformation:jar:2.30.19:test -[INFO] +- software.amazon.awssdk:sts:jar:2.30.19:test -[INFO] +- org.yaml:snakeyaml:jar:2.2:test -[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- software.amazon.lambda:powertools-serialization:jar:1.18.0:test -[INFO] | +- io.burt:jmespath-jackson:jar:0.6.0:test -[INFO] | | \- io.burt:jmespath-core:jar:0.6.0:test -[INFO] | +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:test -[INFO] | | \- joda-time:joda-time:jar:2.10.8:test -[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:test -[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] --------------< software.amazon.lambda:powertools-batch >--------------- -[INFO] Building Powertools for AWS Lambda (Java) batch messages 1.18.0 [15/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-batch --- -[INFO] software.amazon.lambda:powertools-batch:jar:1.18.0 -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] | +- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] | +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | | +- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | | \- org.apache.logging.log4j:log4j-core:jar:2.22.1:runtime -[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.assertj:assertj-core:jar:3.26.0:test -[INFO] +- com.amazonaws:aws-lambda-java-tests:jar:1.1.1:test -[INFO] | +- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:test -[INFO] | +- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] | \- org.apache.commons:commons-lang3:jar:3.14.0:test -[INFO] \- org.mockito:mockito-core:jar:5.6.0:test -[INFO] +- net.bytebuddy:byte-buddy:jar:1.14.8:test -[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.14.8:test -[INFO] \- org.objenesis:objenesis:jar:3.3:test -[INFO] -[INFO] ----< software.amazon.lambda.examples:powertools-examples-core-sam >---- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Core 1.18.0 [16/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-core-sam --- -[INFO] software.amazon.lambda.examples:powertools-examples-core-sam:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- software.amazon.lambda:powertools-metrics:jar:1.18.0:compile -[INFO] | \- software.amazon.cloudwatchlogs:aws-embedded-metrics:jar:1.0.6:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.1:runtime -[INFO] | \- org.javatuples:javatuples:jar:1.2:runtime -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] \- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] +- commons-codec:commons-codec:jar:1.15:compile -[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile -[INFO] \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] -[INFO] ----< software.amazon.lambda.examples:powertools-examples-core-cdk >---- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Core 1.17.0 [17/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-core-cdk --- -[INFO] software.amazon.lambda.examples:powertools-examples-core-cdk:jar:1.17.0 -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.17.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.17.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.20.129:compile -[INFO] | | | \- software.amazon.awssdk:json-utils:jar:2.20.129:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.20.129:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.20.129:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.20.129:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.14.0:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.14.0:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.14.0:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.14.0:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.17.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.15.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.15.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.15.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.20.0:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.20.0:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.6:compile -[INFO] +- software.amazon.lambda:powertools-metrics:jar:1.17.0:compile -[INFO] | \- software.amazon.cloudwatchlogs:aws-embedded-metrics:jar:1.0.6:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.1:runtime -[INFO] | \- org.javatuples:javatuples:jar:1.2:runtime -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] \- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] +- commons-codec:commons-codec:jar:1.15:compile -[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile -[INFO] \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] -[INFO] ----------------< software.amazon.lambda.examples:cdk >----------------- -[INFO] Building cdk 1.18.0 [18/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ cdk --- -[INFO] software.amazon.lambda.examples:cdk:jar:1.18.0 -[INFO] +- software.amazon.awscdk:aws-cdk-lib:jar:2.130.0:compile -[INFO] | +- software.amazon.awscdk:cdk-asset-awscli-v1:jar:2.2.223:compile (version selected from constraint [2.2.202,3.0.0)) -[INFO] | +- software.amazon.awscdk:cdk-asset-kubectl-v20:jar:2.1.4:compile (version selected from constraint [2.1.2,3.0.0)) -[INFO] | +- software.amazon.awscdk:cdk-asset-node-proxy-agent-v6:jar:2.1.0:compile (version selected from constraint [2.0.1,3.0.0)) -[INFO] | +- software.amazon.jsii:jsii-runtime:jar:1.106.0:compile (version selected from constraint [1.94.0,2.0.0)) -[INFO] | | +- com.fasterxml.jackson.core:jackson-core:jar:2.13.5:compile (version selected from constraint [2.11.3,2.14-a0)) -[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.5:compile (version selected from constraint [2.11.3,2.14-a0)) -[INFO] | | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.5:compile -[INFO] | | \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.5:compile (version selected from constraint [2.11.3,2.14-a0)) -[INFO] | +- org.jetbrains:annotations:jar:19.0.0:compile (version selected from constraint [16.0.3,20.0.0)) -[INFO] | \- javax.annotation:javax.annotation-api:jar:1.3.2:compile (version selected from constraint [1.3.2,1.4.0)) -[INFO] +- software.constructs:constructs:jar:10.4.2:compile -[INFO] \- org.junit.jupiter:junit-jupiter:jar:5.10.0:test -[INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test -[INFO] | +- org.opentest4j:opentest4j:jar:1.3.0:test -[INFO] | +- org.junit.platform:junit-platform-commons:jar:1.10.0:test -[INFO] | \- org.apiguardian:apiguardian-api:jar:1.1.2:test -[INFO] +- org.junit.jupiter:junit-jupiter-params:jar:5.10.0:test -[INFO] \- org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test -[INFO] \- org.junit.platform:junit-platform-engine:jar:1.10.0:test -[INFO] -[INFO] --< software.amazon.lambda.examples:powertools-examples-core-serverless >-- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Core 1.18.0 [19/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-core-serverless --- -[INFO] software.amazon.lambda.examples:powertools-examples-core-serverless:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- software.amazon.lambda:powertools-metrics:jar:1.18.0:compile -[INFO] | \- software.amazon.cloudwatchlogs:aws-embedded-metrics:jar:1.0.6:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.1:runtime -[INFO] | \- org.javatuples:javatuples:jar:1.2:runtime -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] \- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] +- commons-codec:commons-codec:jar:1.15:compile -[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile -[INFO] \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] -[INFO] --< software.amazon.lambda.examples:powertools-examples-core-terraform >-- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Core 1.18.0 [20/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-core-terraform --- -[INFO] software.amazon.lambda.examples:powertools-examples-core-terraform:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- software.amazon.lambda:powertools-metrics:jar:1.18.0:compile -[INFO] | \- software.amazon.cloudwatchlogs:aws-embedded-metrics:jar:1.0.6:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.1:runtime -[INFO] | \- org.javatuples:javatuples:jar:1.2:runtime -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.2:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] \- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] +- commons-codec:commons-codec:jar:1.15:compile -[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile -[INFO] \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] -[INFO] --< software.amazon.lambda.examples:powertools-examples-idempotency >--- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Idempotency 1.18.0 [21/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-idempotency --- -[INFO] software.amazon.lambda.examples:powertools-examples-idempotency:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- software.amazon.lambda:powertools-idempotency:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] | | \- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] | +- software.amazon.awssdk:dynamodb:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] \- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] +- commons-codec:commons-codec:jar:1.15:compile -[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile -[INFO] \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] -[INFO] ---< software.amazon.lambda.examples:powertools-examples-parameters >--- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Parameters 1.18.0 [22/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-parameters --- -[INFO] software.amazon.lambda.examples:powertools-examples-parameters:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | \- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- software.amazon.lambda:powertools-parameters:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:ssm:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:secretsmanager:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:dynamodb:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:apache-client:jar:2.30.19:runtime -[INFO] | | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:runtime -[INFO] | | | | \- commons-logging:commons-logging:jar:1.2:runtime -[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.16:runtime -[INFO] | | | \- commons-codec:commons-codec:jar:1.17.1:runtime -[INFO] | | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:runtime -[INFO] | | \- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:runtime -[INFO] | \- software.amazon.awssdk:appconfigdata:jar:2.30.19:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- io.netty:netty-codec-http:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-buffer:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-transport:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-resolver:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-codec:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-base:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-compression:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-protobuf:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-codec-marshalling:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-handler:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-transport-native-unix-common:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-codec-http2:jar:4.2.0.RC3:compile -[INFO] \- io.netty:netty-common:jar:4.2.0.RC3:compile -[INFO] -[INFO] --< software.amazon.lambda.examples:powertools-examples-serialization >-- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Serialization 1.18.0 [23/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-serialization --- -[INFO] software.amazon.lambda.examples:powertools-examples-serialization:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | \- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] | \- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] \- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] \- joda-time:joda-time:jar:2.10.8:compile -[INFO] -[INFO] ------< software.amazon.lambda.examples:powertools-examples-sqs >------- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - SQS 1.18.0 [24/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-sqs --- -[INFO] software.amazon.lambda.examples:powertools-examples-sqs:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | \- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- software.amazon.lambda:powertools-sqs:jar:1.18.0:compile -[INFO] | +- software.amazon.payloadoffloading:payloadoffloading-common:jar:2.2.0:compile -[INFO] | +- software.amazon.awssdk:sqs:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | | \- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:apache-client:jar:2.30.19:runtime -[INFO] | | | +- org.apache.httpcomponents:httpclient:jar:4.5.13:runtime -[INFO] | | | | \- commons-logging:commons-logging:jar:1.2:runtime -[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4.16:runtime -[INFO] | | | \- commons-codec:commons-codec:jar:1.17.1:runtime -[INFO] | | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:runtime -[INFO] | | \- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:runtime -[INFO] | \- software.amazon.awssdk:s3:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-xml-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:aws-query-protocol:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:arns:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:crt-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.27.12:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.27.12:compile -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.27.12:compile -[INFO] | \- software.amazon.awssdk:http-client-spi:jar:2.27.12:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.17.2:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] +- junit:junit:jar:4.13.2:test -[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test -[INFO] +- io.netty:netty-codec-http:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-buffer:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-transport:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-resolver:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-codec:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-base:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-compression:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-protobuf:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-codec-marshalling:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-handler:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-transport-native-unix-common:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-codec-http2:jar:4.2.0.RC3:compile -[INFO] \- io.netty:netty-common:jar:4.2.0.RC3:compile -[INFO] -[INFO] -----< software.amazon.lambda.examples:powertools-examples-batch >------ -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Batch 1.18.0 [25/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-batch --- -[INFO] software.amazon.lambda.examples:powertools-examples-batch:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-tracing:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-core:jar:2.18.1:compile -[INFO] | | \- com.amazonaws:aws-java-sdk-xray:jar:1.12.228:compile -[INFO] | | \- com.amazonaws:jmespath-java:jar:1.12.228:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core:jar:2.18.1:compile -[INFO] | +- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2:jar:2.18.1:compile -[INFO] | \- com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor:jar:2.18.1:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] +- software.amazon.lambda:powertools-batch:jar:1.18.0:compile -[INFO] | +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] | \- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | +- org.slf4j:slf4j-api:jar:1.7.36:compile -[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] +- software.amazon.awssdk:sqs:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-json-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:apache-client:jar:2.30.19:runtime -[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.16:compile -[INFO] | \- software.amazon.awssdk:netty-nio-client:jar:2.30.19:runtime -[INFO] | +- io.netty:netty-transport-classes-epoll:jar:4.1.118.Final:runtime -[INFO] | \- io.netty:netty-resolver:jar:4.1.118.Final:compile -[INFO] +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:dynamodb-enhanced:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:dynamodb:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:kinesis:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:aws-cbor-protocol:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:third-party-jackson-dataformat-cbor:jar:2.30.19:compile -[INFO] +- com.amazonaws:aws-java-sdk-core:jar:1.12.781:compile -[INFO] | +- commons-logging:commons-logging:jar:1.1.3:compile -[INFO] | +- commons-codec:commons-codec:jar:1.15:compile -[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.17.2:compile -[INFO] | \- joda-time:joda-time:jar:2.12.7:compile -[INFO] +- io.netty:netty-codec-http:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-buffer:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-transport:jar:4.2.0.RC3:compile -[INFO] | +- io.netty:netty-codec:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-base:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-compression:jar:4.2.0.RC3:compile -[INFO] | | +- io.netty:netty-codec-protobuf:jar:4.2.0.RC3:compile -[INFO] | | \- io.netty:netty-codec-marshalling:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-handler:jar:4.2.0.RC3:compile -[INFO] | \- io.netty:netty-transport-native-unix-common:jar:4.2.0.RC3:compile -[INFO] +- io.netty:netty-codec-http2:jar:4.2.0.RC3:compile -[INFO] \- io.netty:netty-common:jar:4.2.0.RC3:compile -[INFO] -[INFO] ---< software.amazon.lambda.examples:powertools-examples-validation >--- -[INFO] Building Powertools for AWS Lambda (Java) library Examples - Validation 1.18.0 [26/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-validation --- -[INFO] software.amazon.lambda.examples:powertools-examples-validation:jar:1.18.0 -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] | +- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] | +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] | \- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- software.amazon.lambda:powertools-validation:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-serialization:jar:1.18.0:compile -[INFO] | +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] | +- io.burt:jmespath-jackson:jar:0.6.0:compile -[INFO] | | \- io.burt:jmespath-core:jar:0.6.0:compile -[INFO] | +- com.networknt:json-schema-validator:jar:1.0.87:compile -[INFO] | | +- com.ethlo.time:itu:jar:1.7.0:compile -[INFO] | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.15.2:compile -[INFO] | | \- org.yaml:snakeyaml:jar:2.0:compile -[INFO] | \- com.amazonaws:aws-lambda-java-serialization:jar:1.1.5:compile -[INFO] \- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] -[INFO] --< software.amazon.lambda.examples:powertools-examples-cloudformation >-- -[INFO] Building AWS Lambda Powertools for Java library Examples - CloudFormation 1.18.0 [27/28] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples-cloudformation --- -[INFO] software.amazon.lambda.examples:powertools-examples-cloudformation:jar:1.18.0 -[INFO] +- com.amazonaws:aws-lambda-java-core:jar:1.2.3:compile -[INFO] +- com.amazonaws:aws-lambda-java-events:jar:3.11.4:compile -[INFO] | \- joda-time:joda-time:jar:2.10.8:compile -[INFO] +- software.amazon.lambda:powertools-cloudformation:jar:1.18.0:compile -[INFO] | +- software.amazon.awssdk:http-client-spi:jar:2.30.19:compile -[INFO] | | \- org.reactivestreams:reactive-streams:jar:1.0.4:compile -[INFO] | +- software.amazon.awssdk:url-connection-client:jar:2.30.19:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.2:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.17.2:compile -[INFO] | \- org.aspectj:aspectjrt:jar:1.9.7:compile -[INFO] +- software.amazon.lambda:powertools-logging:jar:1.18.0:compile -[INFO] | +- software.amazon.lambda:powertools-core:jar:1.18.0:compile -[INFO] | +- org.apache.logging.log4j:log4j-layout-template-json:jar:2.22.1:compile -[INFO] | \- org.apache.logging.log4j:log4j-slf4j2-impl:jar:2.22.1:compile -[INFO] | \- org.slf4j:slf4j-api:jar:2.0.9:compile -[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.22.1:compile -[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.22.1:compile -[INFO] +- software.amazon.awssdk:s3:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-xml-protocol:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:aws-query-protocol:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:protocol-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:arns:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:profiles:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:crt-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:identity-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:http-auth-aws:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:checksums-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:retries-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:sdk-core:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:retries:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:auth:jar:2.30.19:compile -[INFO] | | +- software.amazon.awssdk:http-auth-aws-eventstream:jar:2.30.19:compile -[INFO] | | \- software.amazon.eventstream:eventstream:jar:1.0.1:compile -[INFO] | +- software.amazon.awssdk:regions:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:annotations:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:utils:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:aws-core:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:metrics-spi:jar:2.30.19:compile -[INFO] | +- software.amazon.awssdk:json-utils:jar:2.30.19:compile -[INFO] | | \- software.amazon.awssdk:third-party-jackson-core:jar:2.30.19:compile -[INFO] | \- software.amazon.awssdk:endpoints-spi:jar:2.30.19:compile -[INFO] +- software.amazon.awssdk:apache-client:jar:2.30.19:compile -[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile -[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.16:compile -[INFO] | \- commons-codec:commons-codec:jar:1.17.1:compile -[INFO] \- org.apache.logging.log4j:log4j-jcl:jar:2.22.1:compile -[INFO] \- commons-logging:commons-logging:jar:1.3.0:compile -[INFO] -[INFO] -------------< software.amazon.lambda:powertools-examples >------------- -[INFO] Building Powertools for AWS Lambda (Java) library Examples 1.18.0 [28/28] -[INFO] --------------------------------[ pom ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ powertools-examples --- -[INFO] software.amazon.lambda:powertools-examples:pom:1.18.0 -[INFO] ------------------------------------------------------------------------ -[INFO] Reactor Summary: -[INFO] -[INFO] Powertools for AWS Lambda (Java) library Parent 1.18.0 SUCCESS [ 0.377 s] -[INFO] Powertools for AWS Lambda (Java) library Core 1.18.0 SUCCESS [ 0.048 s] -[INFO] Powertools for AWS Lambda (Java) library Serialization Utilities 1.18.0 SUCCESS [ 0.022 s] -[INFO] Powertools for AWS Lambda (Java) library Logging 1.18.0 SUCCESS [ 0.018 s] -[INFO] Powertools for AWS Lambda (Java) library Tracing 1.18.0 SUCCESS [ 0.069 s] -[INFO] Powertools for AWS Lambda (Java) library SQS 1.18.0 SUCCESS [ 0.104 s] -[INFO] Powertools for AWS Lambda (Java) library Metrics 1.18.0 SUCCESS [ 0.011 s] -[INFO] Powertools for AWS Lambda (Java) library Parameters 1.18.0 SUCCESS [ 0.020 s] -[INFO] Powertools for AWS Lambda (Java) validation library 1.18.0 SUCCESS [ 0.014 s] -[INFO] Powertools for AWS Lambda (Java) library Test Suite 1.18.0 SUCCESS [ 0.022 s] -[INFO] Powertools for AWS Lambda (Java)library Cloudformation 1.18.0 SUCCESS [ 0.061 s] -[INFO] Powertools for AWS Lambda (Java) library Idempotency 1.18.0 SUCCESS [ 0.067 s] -[INFO] Powertools for AWS Lambda (Java) library Large messages 1.18.0 SUCCESS [ 0.011 s] -[INFO] Powertools for AWS Lambda (Java)library End-to-end tests 1.18.0 SUCCESS [ 0.643 s] -[INFO] Powertools for AWS Lambda (Java) batch messages 1.18.0 SUCCESS [ 0.005 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core 1.18.0 SUCCESS [ 0.146 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core 1.17.0 SUCCESS [ 0.042 s] -[INFO] cdk 1.18.0 ......................................... SUCCESS [ 0.569 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core 1.18.0 SUCCESS [ 0.015 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Core 1.18.0 SUCCESS [ 0.011 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Idempotency 1.18.0 SUCCESS [ 0.015 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Parameters 1.18.0 SUCCESS [ 0.011 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Serialization 1.18.0 SUCCESS [ 0.004 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - SQS 1.18.0 SUCCESS [ 0.066 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Batch 1.18.0 SUCCESS [ 0.012 s] -[INFO] Powertools for AWS Lambda (Java) library Examples - Validation 1.18.0 SUCCESS [ 0.004 s] -[INFO] AWS Lambda Powertools for Java library Examples - CloudFormation 1.18.0 SUCCESS [ 0.011 s] -[INFO] Powertools for AWS Lambda (Java) library Examples 1.18.0 SUCCESS [ 0.002 s] -[INFO] ------------------------------------------------------------------------ -[INFO] BUILD SUCCESS -[INFO] ------------------------------------------------------------------------ -[INFO] Total time: 3.209 s -[INFO] Finished at: 2025-02-17T16:34:24Z -[INFO] ------------------------------------------------------------------------ From 819f6ab7adc7a94be21c27eff1c6f6ac3fc57b30 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 13:50:45 +0000 Subject: [PATCH 03/45] set spotbugs to be manual only --- .github/workflows/spotbugs.yml | 37 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/spotbugs.yml b/.github/workflows/spotbugs.yml index 41174c7e2..88589f1a5 100644 --- a/.github/workflows/spotbugs.yml +++ b/.github/workflows/spotbugs.yml @@ -1,24 +1,25 @@ name: SpotBugs on: - pull_request: - branches: - - main - - v2 - paths: - - 'powertools-cloudformation/**' - - 'powertools-core/**' - - 'powertools-serialization/**' - - 'powertools-logging/**' - - 'powertools-sqs/**' - - 'powertools-tracing/**' - - 'powertools-validation/**' - - 'powertools-parameters/**' - - 'powertools-idempotency/**' - - 'powertools-metrics/**' - - 'powertools-test-suite/**' - - 'pom.xml' - - '.github/workflows/**' + # pull_request: + # branches: + # - main + # - v2 + # paths: + # - 'powertools-cloudformation/**' + # - 'powertools-core/**' + # - 'powertools-serialization/**' + # - 'powertools-logging/**' + # - 'powertools-sqs/**' + # - 'powertools-tracing/**' + # - 'powertools-validation/**' + # - 'powertools-parameters/**' + # - 'powertools-idempotency/**' + # - 'powertools-metrics/**' + # - 'powertools-test-suite/**' + # - 'pom.xml' + # - '.github/workflows/**' + workflow_dispatch: {} permissions: contents: read From bc4ae6f400ae51c3a81cec40cda00df42876f798 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 14:10:47 +0000 Subject: [PATCH 04/45] remove all workflows --- .github/{workflows => workflows-old}/build-docs.yml | 0 .github/{workflows => workflows-old}/dispatch_analytics.yml | 0 .github/{workflows => workflows-old}/docs.yml | 0 .github/{workflows => workflows-old}/openssf_scorecard.yml | 0 .github/{workflows => workflows-old}/osv.yml | 0 .github/{workflows => workflows-old}/post_release.js | 0 .github/{workflows => workflows-old}/pr_artifacts_size.yml | 0 .github/{workflows => workflows-old}/pr_build.yml | 0 .github/{workflows => workflows-old}/pr_build_v2.yml | 0 .github/{workflows => workflows-old}/pr_iac_lint.yml | 0 .github/{workflows => workflows-old}/publish.yml | 0 .github/{workflows => workflows-old}/release-drafter.yml | 0 .github/{workflows => workflows-old}/release-prep.yml | 0 .github/{workflows => workflows-old}/run-e2e-tests-v2.yml | 0 .github/{workflows => workflows-old}/run-e2e-tests.yml | 0 .github/{workflows => workflows-old}/secure_workflows.yml | 0 .github/{workflows => workflows-old}/spotbugs.yml | 0 17 files changed, 0 insertions(+), 0 deletions(-) rename .github/{workflows => workflows-old}/build-docs.yml (100%) rename .github/{workflows => workflows-old}/dispatch_analytics.yml (100%) rename .github/{workflows => workflows-old}/docs.yml (100%) rename .github/{workflows => workflows-old}/openssf_scorecard.yml (100%) rename .github/{workflows => workflows-old}/osv.yml (100%) rename .github/{workflows => workflows-old}/post_release.js (100%) rename .github/{workflows => workflows-old}/pr_artifacts_size.yml (100%) rename .github/{workflows => workflows-old}/pr_build.yml (100%) rename .github/{workflows => workflows-old}/pr_build_v2.yml (100%) rename .github/{workflows => workflows-old}/pr_iac_lint.yml (100%) rename .github/{workflows => workflows-old}/publish.yml (100%) rename .github/{workflows => workflows-old}/release-drafter.yml (100%) rename .github/{workflows => workflows-old}/release-prep.yml (100%) rename .github/{workflows => workflows-old}/run-e2e-tests-v2.yml (100%) rename .github/{workflows => workflows-old}/run-e2e-tests.yml (100%) rename .github/{workflows => workflows-old}/secure_workflows.yml (100%) rename .github/{workflows => workflows-old}/spotbugs.yml (100%) diff --git a/.github/workflows/build-docs.yml b/.github/workflows-old/build-docs.yml similarity index 100% rename from .github/workflows/build-docs.yml rename to .github/workflows-old/build-docs.yml diff --git a/.github/workflows/dispatch_analytics.yml b/.github/workflows-old/dispatch_analytics.yml similarity index 100% rename from .github/workflows/dispatch_analytics.yml rename to .github/workflows-old/dispatch_analytics.yml diff --git a/.github/workflows/docs.yml b/.github/workflows-old/docs.yml similarity index 100% rename from .github/workflows/docs.yml rename to .github/workflows-old/docs.yml diff --git a/.github/workflows/openssf_scorecard.yml b/.github/workflows-old/openssf_scorecard.yml similarity index 100% rename from .github/workflows/openssf_scorecard.yml rename to .github/workflows-old/openssf_scorecard.yml diff --git a/.github/workflows/osv.yml b/.github/workflows-old/osv.yml similarity index 100% rename from .github/workflows/osv.yml rename to .github/workflows-old/osv.yml diff --git a/.github/workflows/post_release.js b/.github/workflows-old/post_release.js similarity index 100% rename from .github/workflows/post_release.js rename to .github/workflows-old/post_release.js diff --git a/.github/workflows/pr_artifacts_size.yml b/.github/workflows-old/pr_artifacts_size.yml similarity index 100% rename from .github/workflows/pr_artifacts_size.yml rename to .github/workflows-old/pr_artifacts_size.yml diff --git a/.github/workflows/pr_build.yml b/.github/workflows-old/pr_build.yml similarity index 100% rename from .github/workflows/pr_build.yml rename to .github/workflows-old/pr_build.yml diff --git a/.github/workflows/pr_build_v2.yml b/.github/workflows-old/pr_build_v2.yml similarity index 100% rename from .github/workflows/pr_build_v2.yml rename to .github/workflows-old/pr_build_v2.yml diff --git a/.github/workflows/pr_iac_lint.yml b/.github/workflows-old/pr_iac_lint.yml similarity index 100% rename from .github/workflows/pr_iac_lint.yml rename to .github/workflows-old/pr_iac_lint.yml diff --git a/.github/workflows/publish.yml b/.github/workflows-old/publish.yml similarity index 100% rename from .github/workflows/publish.yml rename to .github/workflows-old/publish.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows-old/release-drafter.yml similarity index 100% rename from .github/workflows/release-drafter.yml rename to .github/workflows-old/release-drafter.yml diff --git a/.github/workflows/release-prep.yml b/.github/workflows-old/release-prep.yml similarity index 100% rename from .github/workflows/release-prep.yml rename to .github/workflows-old/release-prep.yml diff --git a/.github/workflows/run-e2e-tests-v2.yml b/.github/workflows-old/run-e2e-tests-v2.yml similarity index 100% rename from .github/workflows/run-e2e-tests-v2.yml rename to .github/workflows-old/run-e2e-tests-v2.yml diff --git a/.github/workflows/run-e2e-tests.yml b/.github/workflows-old/run-e2e-tests.yml similarity index 100% rename from .github/workflows/run-e2e-tests.yml rename to .github/workflows-old/run-e2e-tests.yml diff --git a/.github/workflows/secure_workflows.yml b/.github/workflows-old/secure_workflows.yml similarity index 100% rename from .github/workflows/secure_workflows.yml rename to .github/workflows-old/secure_workflows.yml diff --git a/.github/workflows/spotbugs.yml b/.github/workflows-old/spotbugs.yml similarity index 100% rename from .github/workflows/spotbugs.yml rename to .github/workflows-old/spotbugs.yml From b0eff4f80c5340c02f76d27cbff023d3744ce0c2 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 14:11:08 +0000 Subject: [PATCH 05/45] remove worfkflows --- .github/workflows-old/build-docs.yml | 41 ------- .github/workflows-old/dispatch_analytics.yml | 44 ------- .github/workflows-old/docs.yml | 41 ------- .github/workflows-old/openssf_scorecard.yml | 48 -------- .github/workflows-old/osv.yml | 26 ---- .github/workflows-old/post_release.js | 112 ------------------ .github/workflows-old/pr_artifacts_size.yml | 71 ----------- .github/workflows-old/pr_build.yml | 118 ------------------- .github/workflows-old/pr_build_v2.yml | 96 --------------- .github/workflows-old/pr_iac_lint.yml | 56 --------- .github/workflows-old/publish.yml | 47 -------- .github/workflows-old/release-drafter.yml | 20 ---- .github/workflows-old/release-prep.yml | 86 -------------- .github/workflows-old/run-e2e-tests-v2.yml | 61 ---------- .github/workflows-old/run-e2e-tests.yml | 60 ---------- .github/workflows-old/secure_workflows.yml | 33 ------ .github/workflows-old/spotbugs.yml | 47 -------- 17 files changed, 1007 deletions(-) delete mode 100644 .github/workflows-old/build-docs.yml delete mode 100644 .github/workflows-old/dispatch_analytics.yml delete mode 100644 .github/workflows-old/docs.yml delete mode 100644 .github/workflows-old/openssf_scorecard.yml delete mode 100644 .github/workflows-old/osv.yml delete mode 100644 .github/workflows-old/post_release.js delete mode 100644 .github/workflows-old/pr_artifacts_size.yml delete mode 100644 .github/workflows-old/pr_build.yml delete mode 100644 .github/workflows-old/pr_build_v2.yml delete mode 100644 .github/workflows-old/pr_iac_lint.yml delete mode 100644 .github/workflows-old/publish.yml delete mode 100644 .github/workflows-old/release-drafter.yml delete mode 100644 .github/workflows-old/release-prep.yml delete mode 100644 .github/workflows-old/run-e2e-tests-v2.yml delete mode 100644 .github/workflows-old/run-e2e-tests.yml delete mode 100644 .github/workflows-old/secure_workflows.yml delete mode 100644 .github/workflows-old/spotbugs.yml diff --git a/.github/workflows-old/build-docs.yml b/.github/workflows-old/build-docs.yml deleted file mode 100644 index c61d20b09..000000000 --- a/.github/workflows-old/build-docs.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Build Docs - -on: - pull_request: - branches: - - main - - v2 - paths: - - 'docs/**' - - 'mkdocs.yml' - - 'Makefile' - - push: - branches: - - main - paths: - - 'docs/**' - - 'mkdocs.yml' - - 'Makefile' - -permissions: - contents: read - -jobs: - docs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Set up Python - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 - with: - python-version: "3.8" - - name: Capture branch and tag - id: branch_name - run: | - echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV - echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - - name: Build docs website - run: | - echo "GIT_PYTHON_REFRESH=quiet" - make build-docs-website \ No newline at end of file diff --git a/.github/workflows-old/dispatch_analytics.yml b/.github/workflows-old/dispatch_analytics.yml deleted file mode 100644 index d12e2ca62..000000000 --- a/.github/workflows-old/dispatch_analytics.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Dispatch analytics - -on: - workflow_dispatch: - - schedule: - - cron: '0 * * * *' - -permissions: - contents: read - -jobs: - dispatch_token: - permissions: - id-token: write - actions: read - checks: read - deployments: read - issues: read - discussions: read - packages: read - pages: read - pull-requests: read - repository-projects: read - security-events: read - statuses: read - concurrency: - group: analytics - runs-on: ubuntu-latest - environment: analytics - steps: - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0 - with: - aws-region: eu-central-1 - role-to-assume: ${{ secrets.AWS_ANALYTICS_ROLE_ARN }} - - - name: Invoke Lambda function - run: | - payload=$(echo -n '{"githubToken": "${{ secrets.GITHUB_TOKEN }}"}' | base64) - aws lambda invoke \ - --function-name ${{ secrets.AWS_ANALYTICS_DISPATCHER_ARN }} \ - --payload "$payload" response.json - cat response.json diff --git a/.github/workflows-old/docs.yml b/.github/workflows-old/docs.yml deleted file mode 100644 index f3326a4a2..000000000 --- a/.github/workflows-old/docs.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Docs - -on: - release: - types: - - published - workflow_dispatch: {} - -permissions: - contents: read - -jobs: - docs: - runs-on: ubuntu-latest - environment: Docs - permissions: - id-token: write - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Set up Python - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 - with: - python-version: "3.8" - - name: Capture branch and tag - id: branch_name - run: | - echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV - echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - - name: Build docs website - run: | - make build-docs-website - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef - with: - aws-region: us-east-1 - role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }} - - name: Deploy Docs - run: | - aws s3 sync \ - dist \ - s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/ diff --git a/.github/workflows-old/openssf_scorecard.yml b/.github/workflows-old/openssf_scorecard.yml deleted file mode 100644 index f56673213..000000000 --- a/.github/workflows-old/openssf_scorecard.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Scorecard supply-chain security -on: - # For Branch-Protection check. Only the default branch is supported. See - # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection - branch_protection_rule: - schedule: - - cron: "0 9 * * *" - push: - branches: [main] - workflow_dispatch: - -permissions: read-all - -jobs: - analysis: - name: Scorecard analysis - runs-on: ubuntu-latest - # environment: scorecard - permissions: - security-events: write # update code-scanning dashboard - id-token: write # confirm org+repo identity before publish results - - steps: - - name: "Checkout code" - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - - name: "Run analysis" - uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 - with: - results_file: results.sarif - results_format: sarif - publish_results: true # publish to OSSF Scorecard REST API - # repo_token: ${{ secrets.SCORECARD_TOKEN }} # read-only fine-grained token to read branch protection settings - - - name: "Upload results" - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 - with: - name: SARIF file - path: results.sarif - retention-days: 5 - - # Upload the results to GitHub's code scanning dashboard. - - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 - with: - sarif_file: results.sarif diff --git a/.github/workflows-old/osv.yml b/.github/workflows-old/osv.yml deleted file mode 100644 index e10a31e59..000000000 --- a/.github/workflows-old/osv.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: OSV-Scanner - -# Change "main" to your default branch if you use a different name, i.e. "master" -on: - pull_request: - branches: [main] - merge_group: - branches: [main] - workflow_dispatch: {} - - schedule: - - cron: "30 12 * * 1" - # Change "main" to your default branch if you use a different name, i.e. "master" - push: - branches: [main] - -permissions: - contents: read - -jobs: - scan-pr: - permissions: - actions: read - contents: read - security-events: write - uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638" diff --git a/.github/workflows-old/post_release.js b/.github/workflows-old/post_release.js deleted file mode 100644 index 648236421..000000000 --- a/.github/workflows-old/post_release.js +++ /dev/null @@ -1,112 +0,0 @@ -const STAGED_LABEL = "status/staged-next-release"; - -/** - * Fetch issues using GitHub REST API - * - * @param {object} gh_client - Pre-authenticated REST client (Octokit) - * @param {string} org - GitHub Organization - * @param {string} repository - GitHub repository - * @param {string} state - GitHub issue state (open, closed) - * @param {string} label - Comma-separated issue labels to fetch - * @return {Object[]} issues - Array of issues matching params - * @see {@link https://octokit.github.io/rest.js/v18#usage|Octokit client} - */ -const fetchIssues = async ({ - gh_client, - org, - repository, - state = "open", - label = STAGED_LABEL, - }) => { - - try { - const { data: issues } = await gh_client.rest.issues.listForRepo({ - owner: org, - repo: repository, - state: state, - labels: label, - }); - - return issues; - - } catch (error) { - console.error(error); - throw new Error("Failed to fetch issues") - } - -}; - -/** - * Notify new release and close staged GitHub issue - * - * @param {object} gh_client - Pre-authenticated REST client (Octokit) - * @param {string} owner - GitHub Organization - * @param {string} repository - GitHub repository - * @param {string} release_version - GitHub Release version - * @see {@link https://octokit.github.io/rest.js/v18#usage|Octokit client} - */ -const notifyRelease = async ({ - gh_client, - owner, - repository, - release_version, - }) => { - const release_url = `https://github.com/${owner}/${repository}/releases/tag/v${release_version}`; - - const issues = await fetchIssues({ - gh_client: gh_client, - org: owner, - repository: repository, - }); - - issues.forEach(async (issue) => { - console.info(`Updating issue number ${issue.number}`); - - const comment = `This is now released under [${release_version}](${release_url}) version!`; - try { - await gh_client.rest.issues.createComment({ - owner: owner, - repo: repository, - body: comment, - issue_number: issue.number, - }); - } catch (error) { - console.error(error); - throw new Error(`Failed to update issue ${issue.number} about ${release_version} release`) - } - - - // Close issue and remove staged label; keep existing ones - const labels = issue.labels - .filter((label) => label.name != STAGED_LABEL) - .map((label) => label.name); - - try { - await gh_client.rest.issues.update({ - repo: repository, - owner: owner, - issue_number: issue.number, - state: "closed", - labels: labels, - }); - } catch (error) { - console.error(error); - throw new Error("Failed to close issue") - } - - console.info(`Issue number ${issue.number} closed and updated`); - }); -}; - -// context: https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts -module.exports = async ({ github, context }) => { - const { RELEASE_TAG_VERSION } = process.env; - console.log(`Running post-release script for ${RELEASE_TAG_VERSION} version`); - - await notifyRelease({ - gh_client: github, - owner: context.repo.owner, - repository: context.repo.repo, - release_version: RELEASE_TAG_VERSION, - }); -}; \ No newline at end of file diff --git a/.github/workflows-old/pr_artifacts_size.yml b/.github/workflows-old/pr_artifacts_size.yml deleted file mode 100644 index be0f2a727..000000000 --- a/.github/workflows-old/pr_artifacts_size.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: Artifacts Size - -on: - pull_request: - branches: - - main - - v2 - paths: - - 'powertools-batch/**' - - 'powertools-cloudformation/**' - - 'powertools-core/**' # not in v2 - - 'powertools-common/**' # v2 only - - 'powertools-e2e-tests/**' - - 'powertools-idempotency/**' - - 'powertools-large-messages/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-sqs/**' # not in v2 - - 'powertools-test-suite/**' # not in v2 - - 'powertools-tracing/**' - - 'powertools-validation/**' - - 'pom.xml' - - '.github/workflows/pr_artifacts_size.yml' - -permissions: - contents: read - -jobs: - codecheck: - runs-on: ubuntu-latest - permissions: - pull-requests: write - issues: read - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java JDK 11 - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: 11 - - name: Build with Maven - run: mvn clean package --file pom.xml -DskipTests artifact:buildinfo - - name: Get artifacts size & build report - id: artifacts-size-report - run: | - echo '## :floppy_disk: Artifacts Size Report' > report.md - echo '| Module | Version | Size (KB) |' >> report.md - echo '| --- | --- | --- |' >> report.md - artifact_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) - for artifact in $(cat target/powertools-parent-*.buildinfo | grep 'outputs.*.jar' | grep -v 'sources.jar'); do - artifact_name=$(echo "$artifact" | cut -d '=' -f2) - artifact_name=${artifact_name%-$artifact_version.jar} - artifact_size=$(grep "${artifact%%.filename*}.length" target/powertools-parent-*.buildinfo | cut -d '=' -f2) - printf "| %s | %s | %.2f |\n" "$artifact_name" "$artifact_version" "$(bc <<< "scale=2; $artifact_size/1000")" >> report.md - done - - name: Find potential existing report - uses: peter-evans/find-comment@a54c31d7fa095754bfef525c0c8e5e5674c4b4b1 # 2.4.0 - id: find-comment - with: - issue-number: ${{ github.event.pull_request.number }} - comment-author: 'github-actions[bot]' - body-includes: Artifacts Size Report - - name: Write artifacts size report in comment - uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # 3.0.2 - with: - comment-id: ${{ steps.find-comment.outputs.comment-id }} - issue-number: ${{ github.event.pull_request.number }} - body-path: 'report.md' - edit-mode: replace diff --git a/.github/workflows-old/pr_build.yml b/.github/workflows-old/pr_build.yml deleted file mode 100644 index 34cb90924..000000000 --- a/.github/workflows-old/pr_build.yml +++ /dev/null @@ -1,118 +0,0 @@ -name: Build - -on: - pull_request: - branches: - - main - paths: - - 'powertools-batch/**' - - 'powertools-cloudformation/**' - - 'powertools-core/**' - - 'powertools-e2e-tests/**' - - 'powertools-idempotency/**' - - 'powertools-large-messages/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-sqs/**' - - 'powertools-test-suite/**' - - 'powertools-tracing/**' - - 'powertools-validation/**' - - 'examples/**' - - 'pom.xml' - - 'examples/pom.xml' - - '.github/workflows/**' - push: - branches: - - main - paths: - - 'powertools-batch/**' - - 'powertools-cloudformation/**' - - 'powertools-core/**' - - 'powertools-e2e-tests/**' - - 'powertools-idempotency/**' - - 'powertools-large-messages/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-sqs/**' - - 'powertools-test-suite/**' - - 'powertools-tracing/**' - - 'powertools-validation/**' - - 'examples/**' - - 'pom.xml' - - 'examples/pom.xml' - - '.github/workflows/**' - -permissions: - contents: read - -jobs: - build-corretto: - runs-on: ubuntu-latest - strategy: - max-parallel: 5 - matrix: - java: [8, 11, 17, 21] - name: Java ${{ matrix.java }} - env: - JAVA: ${{ matrix.java }} - AWS_REGION: eu-west-1 - permissions: - id-token: write # needed to interact with GitHub's OIDC Token endpoint. - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: ${{ matrix.java }} - cache: 'maven' - - name: Build with Maven - run: mvn -B install --file pom.xml - - name: Build Gradle Setup - if: ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8 - working-directory: examples/powertools-examples-core/gradle - run: | - curl -L -o gradle/wrapper/gradle.zip https:$(cat gradle/wrapper/gradle-wrapper.properties | grep distributionUrl | cut -d ':' -f 2) - unzip gradle/wrapper/gradle.zip -d gradle/wrapper/gradle - ./gradle/wrapper/gradle/gradle-8.2.1/bin/gradle wrapper - - name: Build Gradle Example - Java - if: ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8 - working-directory: examples/powertools-examples-core/gradle - run: ./gradlew build - - - name: Build Gradle Setup (Kotlin) - if: ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8 - working-directory: examples/powertools-examples-core/kotlin - run: | - curl -L -o gradle/wrapper/gradle.zip https:$(cat gradle/wrapper/gradle-wrapper.properties | grep distributionUrl | cut -d ':' -f 2) - unzip gradle/wrapper/gradle.zip -d gradle/wrapper/gradle - ./gradle/wrapper/gradle/gradle-8.2.1/bin/gradle wrapper - - name: Build Gradle Example - Kotlin - if: ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8 - working-directory: examples/powertools-examples-core/kotlin - run: ./gradlew build - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 - if: ${{ matrix.java == '11' }} # publish results once - with: - files: ./powertools-cloudformation/target/site/jacoco/jacoco.xml,./powertools-core/target/site/jacoco/jacoco.xml,./powertools-idempotency/target/site/jacoco/jacoco.xml,./powertools-logging/target/site/jacoco/jacoco.xml,./powertools-metrics/target/site/jacoco/jacoco.xml,./powertools-parameters/target/site/jacoco/jacoco.xml,./powertools-serialization/target/site/jacoco/jacoco.xml,./powertools-sqs/target/site/jacoco/jacoco.xml,./powertools-tracing/target/site/jacoco/jacoco.xml,./powertools-validation/target/site/jacoco/jacoco.xml,./powertools-large-messages/target/site/jacoco/jacoco.xml,./powertools-batch/target/site/jacoco/jacoco.xml - savepr: - runs-on: ubuntu-latest - name: Save PR number if running on PR by dependabot - if: github.actor == 'dependabot[bot]' - steps: - - name: Create Directory and save issue - run: | - mkdir -p ./pr - echo ${{ github.event.number }} - echo ${{ github.event.number }} > ./pr/NR - - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 - name: Upload artifact - with: - name: pr - path: pr/ diff --git a/.github/workflows-old/pr_build_v2.yml b/.github/workflows-old/pr_build_v2.yml deleted file mode 100644 index 7f9d0fd5a..000000000 --- a/.github/workflows-old/pr_build_v2.yml +++ /dev/null @@ -1,96 +0,0 @@ -name: Build - -on: - pull_request: - branches: - - v2 - paths: - - 'powertools-batch/**' - - 'powertools-cloudformation/**' - - 'powertools-common/**' - - 'powertools-e2e-tests/**' - - 'powertools-idempotency/**' - - 'powertools-large-messages/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-tracing/**' - - 'powertools-validation/**' - - 'examples/**' - - 'pom.xml' - - 'examples/pom.xml' - - '.github/workflows/**' - push: - branches: - - v2 - paths: - - 'powertools-batch/**' - - 'powertools-cloudformation/**' - - 'powertools-common/**' - - 'powertools-e2e-tests/**' - - 'powertools-idempotency/**' - - 'powertools-large-messages/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-tracing/**' - - 'powertools-validation/**' - - 'examples/**' - - 'pom.xml' - - 'examples/pom.xml' - - '.github/workflows/**' - -permissions: - contents: read - -jobs: - build-corretto: - runs-on: ubuntu-latest - strategy: - max-parallel: 5 - matrix: - java: [11, 17, 21] - name: Java ${{ matrix.java }} - env: - JAVA: ${{ matrix.java }} - AWS_REGION: eu-west-1 - permissions: - id-token: write # needed to interact with GitHub's OIDC Token endpoint. - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: ${{ matrix.java }} - cache: 'maven' - - name: Build with Maven - run: mvn -B install --file pom.xml - - name: Build Gradle Example - Java - working-directory: examples/powertools-examples-core/gradle - run: ./gradlew build - - name: Build Gradle Example - Kotlin - working-directory: examples/powertools-examples-core/kotlin - run: ./gradlew build - - name: Upload coverage to Codecov - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 - if: ${{ matrix.java == '11' }} # publish results once - with: - files: ./powertools-cloudformation/target/site/jacoco/jacoco.xml,./powertools-core/target/site/jacoco/jacoco.xml,./powertools-idempotency/target/site/jacoco/jacoco.xml,./powertools-logging/target/site/jacoco/jacoco.xml,./powertools-metrics/target/site/jacoco/jacoco.xml,./powertools-parameters/target/site/jacoco/jacoco.xml,./powertools-serialization/target/site/jacoco/jacoco.xml,./powertools-sqs/target/site/jacoco/jacoco.xml,./powertools-tracing/target/site/jacoco/jacoco.xml,./powertools-validation/target/site/jacoco/jacoco.xml,./powertools-large-messages/target/site/jacoco/jacoco.xml,./powertools-batch/target/site/jacoco/jacoco.xml - savepr: - runs-on: ubuntu-latest - name: Save PR number if running on PR by dependabot - if: github.actor == 'dependabot[bot]' - steps: - - name: Create Directory and save issue - run: | - mkdir -p ./pr - echo ${{ github.event.number }} - echo ${{ github.event.number }} > ./pr/NR - - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 - name: Upload artifact - with: - name: pr - path: pr/ diff --git a/.github/workflows-old/pr_iac_lint.yml b/.github/workflows-old/pr_iac_lint.yml deleted file mode 100644 index b81dcc5eb..000000000 --- a/.github/workflows-old/pr_iac_lint.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Validate IaC - -on: - push: - branches: - - main - - v2 - pull_request: - branches: - - main - - v2 - paths: - - 'examples/**' - -permissions: - contents: read - -jobs: - linter: - runs-on: ubuntu-latest - strategy: - matrix: - project: ["sam", "gradle", "kotlin"] - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java JDK - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: 11 - - name: Build Project - working-directory: . - run: | - mvn install -DskipTests - - name: Run SAM validator to check syntax of IaC templates - Java - working-directory: examples/powertools-examples-core/${{ matrix.project }} - run: | - sam build - sam validate --lint - - name: Setup Terraform - uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 #v2.0.3 - - name: Run Terraform validator to check syntax of IaC templates and produce a plan of changes - working-directory: examples/powertools-examples-core/terraform - run: | - mvn install - terraform -version - terraform init -backend=false - terraform validate - - name: Setup Terraform lint - uses: terraform-linters/setup-tflint@a5a1af8c6551fb10c53f1cd4ba62359f1973746f # v3.1.1 - - name: Run Terraform lint to check for best practices, errors, deprecated syntax etc. - working-directory: examples/powertools-examples-core/terraform - run: | - tflint --version - tflint --init - tflint -f compact \ No newline at end of file diff --git a/.github/workflows-old/publish.yml b/.github/workflows-old/publish.yml deleted file mode 100644 index aa56350a3..000000000 --- a/.github/workflows-old/publish.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Publish package to the Maven Central Repository -on: - release: - types: - - published - workflow_dispatch: {} - -permissions: - contents: read - -jobs: - publish: - runs-on: ubuntu-latest - environment: Release - permissions: - id-token: write - issues: write - contents: write - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Set up Maven Central Repository - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: 8 - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - # TODO: use environments https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment - gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} # Value of the GPG private key to import - gpg-passphrase: GPG_PASSPHRASE # env variable for GPG private key passphrase - - name: Set release notes tag - run: | - RELEASE_TAG_VERSION=${{ github.event.release.tag_name }} - echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION:1}" >> $GITHUB_ENV - - name: Publish package - run: mvn -Prelease clean deploy -DskipTests - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - - name: Close issues related to this release - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 - with: - script: | - const post_release = require('.github/workflows/post_release.js') - await post_release({github, context, core}) diff --git a/.github/workflows-old/release-drafter.yml b/.github/workflows-old/release-drafter.yml deleted file mode 100644 index b24e9b82e..000000000 --- a/.github/workflows-old/release-drafter.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Release Drafter - -on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - -permissions: - contents: read - -jobs: - update_release_draft: - runs-on: ubuntu-latest - permissions: - id-token: write - steps: - - uses: release-drafter/release-drafter@569eb7ee3a85817ab916c8f8ff03a5bd96c9c83e # v5.23.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows-old/release-prep.yml b/.github/workflows-old/release-prep.yml deleted file mode 100644 index 0392d0177..000000000 --- a/.github/workflows-old/release-prep.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: Prepare for maven central release -on: - workflow_dispatch: - inputs: - targetRelease: - description: 'Release number to upgrade to. For example X.X.X. Follow Semantic Versioning when deciding on next version.' - required: true - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - permissions: - id-token: write - pull-requests: write - contents: write - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Get current date - id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - - name: Set current release version env variable - run: | - echo "CURRENT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV - - name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in mkdocs.yml - uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0 - with: - find: 'version: ${{ env.CURRENT_VERSION }}' - replace: 'version: ${{ github.event.inputs.targetRelease }}' - regex: false - include: "mkdocs.yml" - - name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in main pom.xml - uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0 - with: - find: ${{ env.CURRENT_VERSION }} - replace: ${{ github.event.inputs.targetRelease }} - regex: false - include: "pom.xml" - - name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in modules pom.xml - uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0 - with: - find: ${{ env.CURRENT_VERSION }} - replace: ${{ github.event.inputs.targetRelease }} - regex: false - include: "**/*pom.xml" - - name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in build.gradle - uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0 - with: - find: ${{ env.CURRENT_VERSION }} - replace: ${{ github.event.inputs.targetRelease }} - regex: false - include: "**/*build.gradle" - - name: Find and Replace ${{ env.CURRENT_VERSION }} with ${{ github.event.inputs.targetRelease }} in README.md - uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0 - with: - find: ${{ env.CURRENT_VERSION }} - replace: ${{ github.event.inputs.targetRelease }} - regex: false - include: "README.md" - - name: Create changelog placeholder for ${{ github.event.inputs.targetRelease }} - uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0 - with: - find: '## [Unreleased]' - replace: | - ## [Unreleased] - - ## [${{ github.event.inputs.targetRelease }}] - ${{ steps.date.outputs.date }} - - - - regex: false - include: CHANGELOG.md - - name: Create Release Pull Request - uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0 - with: - commit-message: chore:prep release ${{ github.event.inputs.targetRelease }} - signoff: false - branch: prep-release-${{ github.event.inputs.targetRelease }} - delete-branch: true - title: chore:Prep release ${{ github.event.inputs.targetRelease }} - body: | - This is automated release prep. Remember to update [CHANGELOG.md](https://github.com/aws-powertools/powertools-lambda-java/blob/prep-release-${{ github.event.inputs.targetRelease }}/CHANGELOG.md) to capture changes in this release. Please review changes carefully before merging. - - * [ ] Updated CHANGELOG.md diff --git a/.github/workflows-old/run-e2e-tests-v2.yml b/.github/workflows-old/run-e2e-tests-v2.yml deleted file mode 100644 index 7b0adaf7e..000000000 --- a/.github/workflows-old/run-e2e-tests-v2.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Run end-to-end tests - -on: - workflow_dispatch: - - push: - branches: - - v2 - paths: # add other modules when there are under e2e tests - - 'powertools-e2e-tests/**' - - 'powertools-batch/**' - - 'powertools-core/**' - - 'powertools-common/**' - - 'powertools-idempotency/**' - - 'powertools-large-message/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-tracing/**' - - 'pom.xml' - - '.github/workflows/**' - - pull_request: - branches: - - v2 - paths: - - 'powertools-e2e-tests/**' - -permissions: - contents: read - -jobs: - e2e: - runs-on: ubuntu-latest - strategy: - max-parallel: 4 - matrix: - java: [ 11, 17, 21 ] - name: End-to-end tests java${{ matrix.java }} - env: - AWS_DEFAULT_REGION: eu-west-1 - JAVA_VERSION: ${{ matrix.java }} - permissions: - id-token: write # needed to interact with GitHub's OIDC Token endpoint. - contents: read - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: ${{ matrix.java }} - cache: maven - - name: Setup AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0 - with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN_TO_ASSUME }} - aws-region: ${{ env.AWS_DEFAULT_REGION }} - - name: Run e2e test with Maven - run: mvn -DskipTests install --file pom.xml && mvn -Pe2e -B verify --file powertools-e2e-tests/pom.xml \ No newline at end of file diff --git a/.github/workflows-old/run-e2e-tests.yml b/.github/workflows-old/run-e2e-tests.yml deleted file mode 100644 index 4e005f3e6..000000000 --- a/.github/workflows-old/run-e2e-tests.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Run end-to-end tests - -on: - workflow_dispatch: - - push: - branches: - - main - paths: # add other modules when there are under e2e tests - - 'powertools-e2e-tests/**' - - 'powertools-batch/**' - - 'powertools-core/**' - - 'powertools-common/**' - - 'powertools-idempotency/**' - - 'powertools-large-message/**' - - 'powertools-logging/**' - - 'powertools-metrics/**' - - 'powertools-parameters/**' - - 'powertools-serialization/**' - - 'powertools-tracing/**' - - 'pom.xml' - - '.github/workflows/**' - - pull_request: - branches: - - main - paths: - - 'powertools-e2e-tests/**' - -permissions: - contents: read - -jobs: - e2e: - runs-on: ubuntu-latest - strategy: - max-parallel: 4 - matrix: - java: [ 8, 11, 17, 21 ] - name: End-to-end tests java${{ matrix.java }} - env: - AWS_DEFAULT_REGION: eu-west-1 - JAVA_VERSION: ${{ matrix.java }} - permissions: - id-token: write # needed to interact with GitHub's OIDC Token endpoint. - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: ${{ matrix.java }} - cache: maven - - name: Setup AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0 - with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN_TO_ASSUME }} - aws-region: ${{ env.AWS_DEFAULT_REGION }} - - name: Run e2e test with Maven - run: mvn -DskipTests install --file pom.xml && mvn -Pe2e -B verify --file powertools-e2e-tests/pom.xml \ No newline at end of file diff --git a/.github/workflows-old/secure_workflows.yml b/.github/workflows-old/secure_workflows.yml deleted file mode 100644 index f281b2b33..000000000 --- a/.github/workflows-old/secure_workflows.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Lockdown untrusted workflows - -# PROCESS -# -# 1. Scans for any external GitHub Action being used without version pinning (@ vs @v3) -# 2. Scans for insecure practices for inline bash scripts (shellcheck) -# 3. Fail CI and prevent PRs to be merged if any malpractice is found - -# USAGE -# -# Always triggered on new PR, PR changes and PR merge. - - -on: - push: - paths: - - ".github/workflows/**" - pull_request: - paths: - - ".github/workflows/**" - -permissions: - contents: read - -jobs: - enforce_pinned_workflows: - name: Harden Security - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Ensure 3rd party workflows have SHA pinned - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@555a30da2656b4a7cf47b107800bef097723363e # v2.1.3 diff --git a/.github/workflows-old/spotbugs.yml b/.github/workflows-old/spotbugs.yml deleted file mode 100644 index 88589f1a5..000000000 --- a/.github/workflows-old/spotbugs.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: SpotBugs - -on: - # pull_request: - # branches: - # - main - # - v2 - # paths: - # - 'powertools-cloudformation/**' - # - 'powertools-core/**' - # - 'powertools-serialization/**' - # - 'powertools-logging/**' - # - 'powertools-sqs/**' - # - 'powertools-tracing/**' - # - 'powertools-validation/**' - # - 'powertools-parameters/**' - # - 'powertools-idempotency/**' - # - 'powertools-metrics/**' - # - 'powertools-test-suite/**' - # - 'pom.xml' - # - '.github/workflows/**' - workflow_dispatch: {} - -permissions: - contents: read - -jobs: - codecheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Setup java JDK 1.8 - uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 - with: - distribution: 'corretto' - java-version: 8 - # https://github.com/jwgmeligmeyling/spotbugs-github-action/issues/6 - # https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/ - # Avoid complexity of git action with publishing report. Just build with spotbugs profile. -# - name: Build with Maven for spotbugs check to gather reports -# run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=false -# - uses: jwgmeligmeyling/spotbugs-github-action@master -# with: -# path: '**/spotbugsXml.xml' -# # Can be simplified post this issue is fixed https://github.com/jwgmeligmeyling/spotbugs-github-action/issues/9 - - name: Build with Maven for spotbugs check to mark build as fail if voilations found - run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=true \ No newline at end of file From 72e0a55d3676584250477c28a20d894289a20ca4 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 14:39:05 +0000 Subject: [PATCH 06/45] add scorecard workflow --- .github/workflows/security-scorecard.yml | 48 ++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/security-scorecard.yml diff --git a/.github/workflows/security-scorecard.yml b/.github/workflows/security-scorecard.yml new file mode 100644 index 000000000..db9f40162 --- /dev/null +++ b/.github/workflows/security-scorecard.yml @@ -0,0 +1,48 @@ +on: + branch_protection_rule: + schedule: + - cron: "0 9 * * *" + push: + branches: [main] + workflow_dispatch: {} + +name: OpenSSF Scorecard +run-name: OpenSSF Scorecard + +permissions: read-all + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + environment: Security + permissions: + security-events: write + id-token: write + + steps: + - name: "Checkout code" + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + + - name: "Run analysis" + uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + repo_token: ${{ secrets.SCORECARD_TOKEN }} + + - name: "Upload results" + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + # Upload the results to GitHub's code scanning dashboard. + - name: "Upload to code-scanning" + uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 + with: + sarif_file: results.sarif \ No newline at end of file From 3e3f7ccc1aa61cfaa2231c99ab6ae698b99958b5 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 14:42:47 +0000 Subject: [PATCH 07/45] reformatting --- .github/workflows/security-scorecard.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/security-scorecard.yml b/.github/workflows/security-scorecard.yml index db9f40162..3dccaf742 100644 --- a/.github/workflows/security-scorecard.yml +++ b/.github/workflows/security-scorecard.yml @@ -19,13 +19,11 @@ jobs: permissions: security-events: write id-token: write - steps: - name: "Checkout code" uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - - name: "Run analysis" uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 with: @@ -33,15 +31,12 @@ jobs: results_format: sarif publish_results: true repo_token: ${{ secrets.SCORECARD_TOKEN }} - - name: "Upload results" uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: SARIF file path: results.sarif retention-days: 5 - - # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 with: From dc8c11f721a0a9b97ba1a4aba0c20f94fa0c5ea9 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 14:46:49 +0000 Subject: [PATCH 08/45] add OSV workflow --- .github/workflows/security-osv.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/security-osv.yml diff --git a/.github/workflows/security-osv.yml b/.github/workflows/security-osv.yml new file mode 100644 index 000000000..ef266aaff --- /dev/null +++ b/.github/workflows/security-osv.yml @@ -0,0 +1,24 @@ +on: + pull_request: + branches: [main] + merge_group: + branches: [main] + workflow_dispatch: {} + schedule: + - cron: "30 12 * * 1" + push: + branches: [main] + +name: OpenSource Vulnerability Scanner +run-name: OpenSource Vulnerability Scanner + +permissions: + contents: read + +jobs: + scan-pr: + permissions: + actions: read + contents: read + security-events: write + uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638" \ No newline at end of file From fd3a791becb6d169632e58f8e57c8a930e797a23 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 15:41:36 +0000 Subject: [PATCH 09/45] add branch protections workflow --- .github/branch_protection_settings/main.json | 53 ++++++++++++++++++ .../workflows/security-branch-protections.yml | 54 +++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 .github/branch_protection_settings/main.json create mode 100644 .github/workflows/security-branch-protections.yml diff --git a/.github/branch_protection_settings/main.json b/.github/branch_protection_settings/main.json new file mode 100644 index 000000000..d283b3d5f --- /dev/null +++ b/.github/branch_protection_settings/main.json @@ -0,0 +1,53 @@ +{ + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection", + "required_status_checks": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_status_checks", + "strict": true, + "contexts": [ + "SonarCloud" + ], + "contexts_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_status_checks/contexts", + "checks": [ + { + "context": "SonarCloud", + "app_id": 57789 + } + ] + }, + "required_pull_request_reviews": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_pull_request_reviews", + "dismiss_stale_reviews": false, + "require_code_owner_reviews": false, + "require_last_push_approval": false, + "required_approving_review_count": 0 + }, + "required_signatures": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_signatures", + "enabled": false + }, + "enforce_admins": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/enforce_admins", + "enabled": true + }, + "required_linear_history": { + "enabled": false + }, + "allow_force_pushes": { + "enabled": false + }, + "allow_deletions": { + "enabled": false + }, + "block_creations": { + "enabled": false + }, + "required_conversation_resolution": { + "enabled": false + }, + "lock_branch": { + "enabled": false + }, + "allow_fork_syncing": { + "enabled": false + } +} diff --git a/.github/workflows/security-branch-protections.yml b/.github/workflows/security-branch-protections.yml new file mode 100644 index 000000000..d572a2c1e --- /dev/null +++ b/.github/workflows/security-branch-protections.yml @@ -0,0 +1,54 @@ +# Modified copy of: https://github.com/github/docs/blob/main/.github/workflows/alert-changed-branch-protections.yml + +on: + branch_protection_rule: + workflow_dispatch: + schedule: + - cron: '20 16 * * *' # Run daily at 16:20 UTC + pull_request: + paths: + - .github/workflows/security-branch-protections.yml + - .github/branch_protection_settings/*.json + +name: Alert Changed Branch Protections +run-name: Alert Changed Branch Protections + +permissions: + contents: write + +jobs: + check-branch-protections: + runs-on: ubuntu-latest + environment: Security + if: github.repository == 'aws-powertools/powertools-lambda-java' + strategy: + matrix: + # List of branches we want to monitor for protection changes + branch: + - main + - v2 + steps: + - name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: Fetch branch protections + id: fetch + env: + GH_TOKEN: ${{ secrets.BRANCH_PROTECTION_TOKEN }} + run: | + # Fetch branch protections and store them in a file + gh api /repos/${{ github.repository }}/branches/${{ matrix.branch }}/protection \ + > .github/branch_protection_settings/${{ matrix.branch }}.json + - name: Compare branch protections + id: compare + run: | + git diff --quiet .github/branch_protection_settings/${{ matrix.branch }}.json \ + || echo "diff_failed=true" >> $GITHUB_ENV + - name: Send webhook + if: ${{ env.diff_failed == 'true' }} + run: | + curl -X POST -d '{"message": "Branch protections have changed for ${{ github.repository }} on ${{ matrix.branch }}. Please review the changes or revert the changes in GitHub. https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"}' \ + ${{ secrets.SLACK_WEBHOOK_URL }} + - name: Fail workflow + if: ${{ env.diff_failed == 'true' }} + run: | + echo "::error::Branch protections have been changed" \ No newline at end of file From d91ef111ad9fb5a43d530028a4221ebd871aebd4 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 15:43:24 +0000 Subject: [PATCH 10/45] better error handling --- .github/branch_protection_settings/main.json | 2 +- .github/workflows/security-branch-protections.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/branch_protection_settings/main.json b/.github/branch_protection_settings/main.json index d283b3d5f..fa85e3792 100644 --- a/.github/branch_protection_settings/main.json +++ b/.github/branch_protection_settings/main.json @@ -16,7 +16,7 @@ }, "required_pull_request_reviews": { "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_pull_request_reviews", - "dismiss_stale_reviews": false, + "dismiss_stale_reviews": true, "require_code_owner_reviews": false, "require_last_push_approval": false, "required_approving_review_count": 0 diff --git a/.github/workflows/security-branch-protections.yml b/.github/workflows/security-branch-protections.yml index d572a2c1e..e3113e702 100644 --- a/.github/workflows/security-branch-protections.yml +++ b/.github/workflows/security-branch-protections.yml @@ -36,7 +36,7 @@ jobs: GH_TOKEN: ${{ secrets.BRANCH_PROTECTION_TOKEN }} run: | # Fetch branch protections and store them in a file - gh api /repos/${{ github.repository }}/branches/${{ matrix.branch }}/protection \ + gh api /repos/${{ github.repository }}/branches/${{ matrix.branch }}/protection | jq \ > .github/branch_protection_settings/${{ matrix.branch }}.json - name: Compare branch protections id: compare @@ -51,4 +51,5 @@ jobs: - name: Fail workflow if: ${{ env.diff_failed == 'true' }} run: | + git diff .github/branch_protection_settings/${{ matrix.branch }}.json echo "::error::Branch protections have been changed" \ No newline at end of file From 079d922953daabef93ebd377e690c0570d47f2f5 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 15:43:39 +0000 Subject: [PATCH 11/45] fix error in file --- .github/branch_protection_settings/main.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/branch_protection_settings/main.json b/.github/branch_protection_settings/main.json index fa85e3792..d283b3d5f 100644 --- a/.github/branch_protection_settings/main.json +++ b/.github/branch_protection_settings/main.json @@ -16,7 +16,7 @@ }, "required_pull_request_reviews": { "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/main/protection/required_pull_request_reviews", - "dismiss_stale_reviews": true, + "dismiss_stale_reviews": false, "require_code_owner_reviews": false, "require_last_push_approval": false, "required_approving_review_count": 0 From 7721446d48b5b3140829c6eee9acacba59e4acd9 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 5 Mar 2025 15:44:00 +0000 Subject: [PATCH 12/45] add v2 branch --- .github/branch_protection_settings/v2.json | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/branch_protection_settings/v2.json diff --git a/.github/branch_protection_settings/v2.json b/.github/branch_protection_settings/v2.json new file mode 100644 index 000000000..fb9fdebcd --- /dev/null +++ b/.github/branch_protection_settings/v2.json @@ -0,0 +1,63 @@ +{ + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection", + "required_status_checks": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/required_status_checks", + "strict": true, + "contexts": [], + "contexts_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/required_status_checks/contexts", + "checks": [] + }, + "restrictions": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/restrictions", + "users_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/restrictions/users", + "teams_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/restrictions/teams", + "apps_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/restrictions/apps", + "users": [], + "teams": [], + "apps": [] + }, + "required_pull_request_reviews": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/required_pull_request_reviews", + "dismiss_stale_reviews": true, + "require_code_owner_reviews": false, + "require_last_push_approval": true, + "required_approving_review_count": 1, + "dismissal_restrictions": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/dismissal_restrictions", + "users_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/dismissal_restrictions/users", + "teams_url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/dismissal_restrictions/teams", + "users": [], + "teams": [], + "apps": [] + } + }, + "required_signatures": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/required_signatures", + "enabled": false + }, + "enforce_admins": { + "url": "https://api.github.com/repos/aws-powertools/powertools-lambda-java/branches/v2/protection/enforce_admins", + "enabled": false + }, + "required_linear_history": { + "enabled": true + }, + "allow_force_pushes": { + "enabled": false + }, + "allow_deletions": { + "enabled": false + }, + "block_creations": { + "enabled": true + }, + "required_conversation_resolution": { + "enabled": true + }, + "lock_branch": { + "enabled": false + }, + "allow_fork_syncing": { + "enabled": false + } +} From 9fee784e6e74c160c8294fc077fa2c1c8a37f50c Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 10 Mar 2025 13:11:52 +0000 Subject: [PATCH 13/45] add dependency checks --- .github/dependency-review-config.yml | 33 +++++++++++++++++++ .../workflows/security-dependencies-check.yml | 25 ++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/dependency-review-config.yml create mode 100644 .github/workflows/security-dependencies-check.yml diff --git a/.github/dependency-review-config.yml b/.github/dependency-review-config.yml new file mode 100644 index 000000000..e9a921372 --- /dev/null +++ b/.github/dependency-review-config.yml @@ -0,0 +1,33 @@ +allow_licenses: + - 'Apache-1.1' + - 'Apache-2.0' + - 'MIT' + - 'MIT-0' + - 'MIT-Click' + - 'MIT-CMU' + - 'MIT-enna' + - 'MIT-feh' + - 'MIT-Festival' + - 'MIT-Khronos-old' + - 'MIT-Modern-Variant' + - 'MIT-open-group' + - 'MIT-testregex' + - 'MIT-Wu' + - 'BSD-1-Clause' + - 'BSD-2-Clause' + - 'BSD-2-Clause-first-lines' + - 'BSD-2-Clause-Views' + - 'BSD-3-Clause' + - 'BSD-3-Clause-acpica' + - 'BSD-3-Clause-Attribution' + - 'BSD-3-Clause-Clear' + - 'BSD-3-Clause-flex' + - 'BSD-3-Clause-HP' + - 'BSD-3-Clause-LBNL' + - 'BSD-3-Clause-Modification' + - 'BSD-3-Clause-No-Military-License' + - 'BSD-3-Clause-No-Nuclear-License' + - 'BSD-3-Clause-No-Nuclear-License-2014' + - 'BSD-3-Clause-No-Nuclear-Warranty' + - 'BSD-3-Clause-Open-MPI' +comment-summary-in-pr: on-failure \ No newline at end of file diff --git a/.github/workflows/security-dependencies-check.yml b/.github/workflows/security-dependencies-check.yml new file mode 100644 index 000000000..41853117d --- /dev/null +++ b/.github/workflows/security-dependencies-check.yml @@ -0,0 +1,25 @@ +on: + pull_request: + workflow_dispatch: + schedule: + - cron: '0 12 * * *' # Run daily at 12:00 UTC + +name: Verify Dependencies +run-name: Verify Dependencies – ${{ github.event_name }} + +permissions: + contents: read + +jobs: + verify: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: 'Checkout Repository' + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 + - name: 'Verify Contents' + uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # 4.5.0 + with: + config-file: ./.github/dependency-review-config.yml + From b5ec9036b36c9dc4ec236a05bca474cd02ee06fe Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 10 Mar 2025 13:13:08 +0000 Subject: [PATCH 14/45] add trigger --- .github/workflows/security-dependencies-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/security-dependencies-check.yml b/.github/workflows/security-dependencies-check.yml index 41853117d..62bcec3a4 100644 --- a/.github/workflows/security-dependencies-check.yml +++ b/.github/workflows/security-dependencies-check.yml @@ -1,6 +1,8 @@ on: pull_request: workflow_dispatch: + push: + branches: [ main ] schedule: - cron: '0 12 * * *' # Run daily at 12:00 UTC From 566fd2dde000148c2a0657fdceeefefa2c9a165f Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 10 Mar 2025 13:14:04 +0000 Subject: [PATCH 15/45] update permissions --- .github/workflows/security-branch-protections.yml | 4 +++- .github/workflows/security-dependencies-check.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/security-branch-protections.yml b/.github/workflows/security-branch-protections.yml index e3113e702..4a4c7adaf 100644 --- a/.github/workflows/security-branch-protections.yml +++ b/.github/workflows/security-branch-protections.yml @@ -14,11 +14,13 @@ name: Alert Changed Branch Protections run-name: Alert Changed Branch Protections permissions: - contents: write + contents: read jobs: check-branch-protections: runs-on: ubuntu-latest + permissions: + contents: write environment: Security if: github.repository == 'aws-powertools/powertools-lambda-java' strategy: diff --git a/.github/workflows/security-dependencies-check.yml b/.github/workflows/security-dependencies-check.yml index 62bcec3a4..df0fb61e8 100644 --- a/.github/workflows/security-dependencies-check.yml +++ b/.github/workflows/security-dependencies-check.yml @@ -16,6 +16,7 @@ jobs: verify: runs-on: ubuntu-latest permissions: + contents: read pull-requests: write steps: - name: 'Checkout Repository' From 68074ebfb92f63ae884fc9a32f20bfd979e20e72 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 10 Mar 2025 13:17:49 +0000 Subject: [PATCH 16/45] update version strings --- .github/workflows/security-dependencies-check.yml | 4 ++-- .github/workflows/security-osv.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/security-dependencies-check.yml b/.github/workflows/security-dependencies-check.yml index df0fb61e8..9d69c237b 100644 --- a/.github/workflows/security-dependencies-check.yml +++ b/.github/workflows/security-dependencies-check.yml @@ -20,9 +20,9 @@ jobs: pull-requests: write steps: - name: 'Checkout Repository' - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: 'Verify Contents' - uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # 4.5.0 + uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0 with: config-file: ./.github/dependency-review-config.yml diff --git a/.github/workflows/security-osv.yml b/.github/workflows/security-osv.yml index ef266aaff..244a0cda3 100644 --- a/.github/workflows/security-osv.yml +++ b/.github/workflows/security-osv.yml @@ -21,4 +21,4 @@ jobs: actions: read contents: read security-events: write - uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638" \ No newline at end of file + uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638 # v1.9.2 \ No newline at end of file From e1ce78ab1f0a48700823204ea18138e58e8e4f52 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 10 Mar 2025 16:13:14 +0000 Subject: [PATCH 17/45] add release drafter --- .github/workflows/release-drafter.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..9280fb925 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,21 @@ +on: + push: + branches: [ main ] + +name: Release Drafter +run-name: Release Drafter + +permissions: + contents: read + +jobs: + update_release: + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + steps: + - name: Relase Drafter + uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 6846806931e8c88e473932330fbf4b10e9105e5a Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 10 Mar 2025 16:13:26 +0000 Subject: [PATCH 18/45] start of release workflow --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..ab0084f2e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +on: + workflow_dispatch: + inputs: + version: + type: string + description: Semver version to release + snapshot: + type: boolean + description: Create snapshot release + default: true + skip_publish: + type: boolean + description: Ship publish to Maven Central + default: false + +name: Release +run-name: Release + +permissions: + contents: read + +jobs: + noop: + runs-on: ubuntu-latest + steps: + - name: noop + run: | + echo "noop" \ No newline at end of file From 3f14d80293034bead2062cfb1b99683a879deb36 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Tue, 11 Mar 2025 11:52:43 +0000 Subject: [PATCH 19/45] update OSV --- .github/workflows/security-osv.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/security-osv.yml b/.github/workflows/security-osv.yml index 244a0cda3..514574350 100644 --- a/.github/workflows/security-osv.yml +++ b/.github/workflows/security-osv.yml @@ -17,8 +17,11 @@ permissions: jobs: scan-pr: + runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write - uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638 # v1.9.2 \ No newline at end of file + steps: + - name: Run OSV + uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@764c91816374ff2d8fc2095dab36eecd42d61638 # v1.9.2 \ No newline at end of file From bc4d883b9934b58341d285e3916c7a49abbe6f6a Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Tue, 11 Mar 2025 11:52:49 +0000 Subject: [PATCH 20/45] remove quotes --- .github/workflows/check-pmd.yml | 31 +++++++++++++++++++ .../workflows/security-dependencies-check.yml | 4 +-- .github/workflows/security-scorecard.yml | 8 ++--- 3 files changed, 37 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/check-pmd.yml diff --git a/.github/workflows/check-pmd.yml b/.github/workflows/check-pmd.yml new file mode 100644 index 000000000..ce042cc57 --- /dev/null +++ b/.github/workflows/check-pmd.yml @@ -0,0 +1,31 @@ +on: + pull_request: + workflow_dispatch: + schedule: + - cron: '0 12 * * *' # Run daily at 12:00 UTC + +name: PMD +run-name: PMD - ${{ github.event_name }} + +permissions: + contents: read + +jobs: + pmd_analyse: + runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + steps: + - name: Checkout Repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Setup Java + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 + with: + java-version: 21 + distribution: corretto + cache: maven + - uses: pmd/pmd-github-action@d9c1f3c5940cbf5923f1354e83fa858b4496ebaa # v2.0.0 + with: + rulesets: 'ruleset.xml' + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/security-dependencies-check.yml b/.github/workflows/security-dependencies-check.yml index 9d69c237b..94add9932 100644 --- a/.github/workflows/security-dependencies-check.yml +++ b/.github/workflows/security-dependencies-check.yml @@ -19,9 +19,9 @@ jobs: contents: read pull-requests: write steps: - - name: 'Checkout Repository' + - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: 'Verify Contents' + - name: Verify Contents uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0 with: config-file: ./.github/dependency-review-config.yml diff --git a/.github/workflows/security-scorecard.yml b/.github/workflows/security-scorecard.yml index 3dccaf742..78d4839b8 100644 --- a/.github/workflows/security-scorecard.yml +++ b/.github/workflows/security-scorecard.yml @@ -20,24 +20,24 @@ jobs: security-events: write id-token: write steps: - - name: "Checkout code" + - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - - name: "Run analysis" + - name: Run Analysis uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 with: results_file: results.sarif results_format: sarif publish_results: true repo_token: ${{ secrets.SCORECARD_TOKEN }} - - name: "Upload results" + - name: Upload Results uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: SARIF file path: results.sarif retention-days: 5 - - name: "Upload to code-scanning" + - name: Upload to Code-Scanning uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 with: sarif_file: results.sarif \ No newline at end of file From 929ccd005b68e09c6598b8e4a9e0fec3802b9128 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Tue, 11 Mar 2025 13:31:27 +0000 Subject: [PATCH 21/45] add ruleset --- .github/pmd-ruleset.xml | 644 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 644 insertions(+) create mode 100644 .github/pmd-ruleset.xml diff --git a/.github/pmd-ruleset.xml b/.github/pmd-ruleset.xml new file mode 100644 index 000000000..b93fa19b8 --- /dev/null +++ b/.github/pmd-ruleset.xml @@ -0,0 +1,644 @@ + + + Rules to check Powertools for Lambda + + + + + + + + + + + + + 1 + + + 1 + + + 1 + + + 1 + + + + + + + + + + + + + 1 + + + + 1 + + + 1 + + + 1 + + + + 1 + + + + + + + 1 + + + + 1 + + + + 1 + + + 1 + + + 1 + + + 1 + + + + + + + + 1 + + + 1 + + + 1 + + + + + + + + 1 + + + + + + + 1 + + + + + 1 + + + 1 + + + + + 3 + + + + + + + + + + + + + + + + + + + + + + 1 + + + 1 + + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + + + + + + + + + 1 + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + + + + + + + + 1 + + + + 1 + + + 1 + + + 1 + + + + + + + 1 + + + + 1 + + + + + + + 1 + + + 1 + + + + 1 + + + + + + 1 + + + + + 1 + + + + + 1 + + + 1 + + + + + + + 1 + + + + + 1 + + + 1 + + + + 1 + + + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + 1 + + + 1 + + + 1 + + + + + + + + + + + + + 1 + + + + + + + 1 + + + 1 + + + + 1 + + + + 1 + + + + + + + 1 + + + + 1 + + + + 1 + + + 1 + + + + 1 + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + 1 + + + + + + + 1 + + + + 1 + + + + + 1 + + + 1 + + + + + 1 + + + 1 + + + + + + 1 + + + 1 + + + + 1 + + + 1 + + + 1 + + + 1 + + + + 1 + + + + + + + 1 + + + + 1 + + + + + + + + 1 + + + + + + + 1 + + + + + + + + + + + + + + + + + replace o.getClass().equals(MyClass.class) with o instanceof MyClass. Make sure MyClass doesn't have descendants + 1 + + + + + + + + + + + replace MyClass.class.equals(o.getClass()) with o instanceof MyClass. Make sure MyClass doesn't have descendants + 3 + + + + + + + + + + + Calling super.visit breaks the rulechain, by starting a full visitor run from the passed node downwards. Add all needed nodes to the rulechain instead. + 1 + + + + + + + + + + + Just returning without calling super stops visiting of nested nodes like inner classes. + 3 + + + + + + + + + + + + Share the invocation matcher and not create a new one every time + 1 + + + + + + + + + + + Use slf4j: LoggerFactory.getLogger(MyClass.class) + 1 + + + + + + + + + \ No newline at end of file From 69e250e19bc7b1fa76c0ca65eb02e3bfd59936bc Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Tue, 11 Mar 2025 13:31:43 +0000 Subject: [PATCH 22/45] update ruleset location --- .github/workflows/check-pmd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-pmd.yml b/.github/workflows/check-pmd.yml index ce042cc57..c93f41f74 100644 --- a/.github/workflows/check-pmd.yml +++ b/.github/workflows/check-pmd.yml @@ -27,5 +27,5 @@ jobs: cache: maven - uses: pmd/pmd-github-action@d9c1f3c5940cbf5923f1354e83fa858b4496ebaa # v2.0.0 with: - rulesets: 'ruleset.xml' + rulesets: '.github/pmd-ruleset.xml' token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From d8b849a239f31e37c587337c3409f72dc88f9aaf Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 13 Mar 2025 16:34:30 +0000 Subject: [PATCH 23/45] update action --- .github/workflows/security-branch-protections.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security-branch-protections.yml b/.github/workflows/security-branch-protections.yml index 4a4c7adaf..718a00229 100644 --- a/.github/workflows/security-branch-protections.yml +++ b/.github/workflows/security-branch-protections.yml @@ -31,7 +31,7 @@ jobs: - v2 steps: - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Fetch branch protections id: fetch env: From f069d6f17d1fb8817ebc41d8c408961641860587 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 13 Mar 2025 16:34:34 +0000 Subject: [PATCH 24/45] build docs --- .github/workflows/build-docs.yml | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/build-docs.yml diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml new file mode 100644 index 000000000..93729b6f1 --- /dev/null +++ b/.github/workflows/build-docs.yml @@ -0,0 +1,51 @@ +on: + workflow_dispatch: + inputs: + alias: + type: string + required: false + description: | + Alias to deploy the documentation into, this is mostly for testing pre-release + versions of the documentation, such as beta versions or snapshots. + + https://docs.powertools.aws.dev/lambda/java/ + +name: Build Docs +run-name: Build Docs - ${{ contains(github.head_ref, 'main') && 'main' || inputs.alias }} + +permissions: + contents: read + +jobs: + docs: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + environment: Docs + steps: + - name: Sanity Check + if: ${{ github.head_ref != 'main' || inputs.alias == '' }} + run: + echo "::error::No buildable docs" + + - name: Checkout Repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + with: + fetch-depth: 0 + - name: Build + run: | + mkdir -p dist + docker build -t squidfunk/mkdocs-material ./docs/ + docker run --rm -t -v ${PWD}:/docs squidfunk/mkdocs-material build + cp -R site/* dist/ + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 + with: + aws-region: us-east-1 + role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }} + - name: Deploy + run: | + aws s3 sync \ + dist \ + s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/${{ github.head_ref == 'main' && '' || format('{0}/', inputs.alias )}} \ No newline at end of file From fbdc207c70eb4e4cfa64b449b682fe2dcfcbd176 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Fri, 14 Mar 2025 14:22:27 +0000 Subject: [PATCH 25/45] add auto-merge for dependabot PRs --- .github/workflows/security-dependabot.yml | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/security-dependabot.yml diff --git a/.github/workflows/security-dependabot.yml b/.github/workflows/security-dependabot.yml new file mode 100644 index 000000000..1b39d3cfa --- /dev/null +++ b/.github/workflows/security-dependabot.yml @@ -0,0 +1,33 @@ +on: + pull_request: + branches: [ dependabot/* ] + +name: Dependabot updates +run-name: Dependabot + +permissions: + contents: read + +jobs: + dependabot: + runs-on: ubuntu-latest + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'aws-powertools/powertools-lambda-java' }} + permissions: + pull-requests: read + steps: + - id: dependabot-metadata + name: Fetch Dependabot metadata + uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3.0 + - name: Fail workflow + if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-major' }} + run: | + echo "::error::Major version upgrades are not wanted" + - name: Approve PR + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh pr review "${{ github.event.pull_request.html_url }}" --approve --body '🤖 Approved by another robot.' + - name: Enable auto-merge on PR + run: gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From fa64c323596029fbcacd5a5caa65de7bf34fb36f Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Fri, 14 Mar 2025 15:25:10 +0000 Subject: [PATCH 26/45] add workflow_call --- .github/workflows/build-docs.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 93729b6f1..2201ac7cb 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -9,6 +9,16 @@ on: versions of the documentation, such as beta versions or snapshots. https://docs.powertools.aws.dev/lambda/java/ + workflow_call: + inputs: + alias: + type: string + required: false + description: | + Alias to deploy the documentation into, this is mostly for testing pre-release + versions of the documentation, such as beta versions or snapshots. + + https://docs.powertools.aws.dev/lambda/java/ name: Build Docs run-name: Build Docs - ${{ contains(github.head_ref, 'main') && 'main' || inputs.alias }} From 8946409feb6b96dc3136057ed036a6df812ba87f Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 20 Mar 2025 13:03:32 +0000 Subject: [PATCH 27/45] add maven version plugin --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index 4ea0e7e47..226ce85ac 100644 --- a/pom.xml +++ b/pom.xml @@ -95,6 +95,7 @@ 1.0.6 0.6.0 1.12.781 + 2.18.0 @@ -318,6 +319,14 @@ + + org.codehaus.mojo + versions-maven-plugin + ${versions-maven-plugin.version} + + false + + org.apache.maven.plugins maven-compiler-plugin From 30944a84d8935dec54088708f822a89d1a0bd40d Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 20 Mar 2025 13:13:27 +0000 Subject: [PATCH 28/45] add seal action --- .github/actions/seal/action.yml | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 .github/actions/seal/action.yml diff --git a/.github/actions/seal/action.yml b/.github/actions/seal/action.yml new file mode 100644 index 000000000..079496c8c --- /dev/null +++ b/.github/actions/seal/action.yml @@ -0,0 +1,78 @@ +name: Seal and hash source code +description: | + Seals and creates a SHA256SUM of an artifact for storage + + Process: + 1. Create a unique name based on environment details + 2. Compress work directory or specified path + 3. Hash compressed file + 4. Upload archive using `actions/upload-artifact` + + Usage: + ```yml + - id: seal + name: Seal + uses: .github/actions/seal + with: + prefix: foo + ``` + +inputs: + prefix: + description: Prefix to use when exporting artifact + required: true +outputs: + hash: + description: SHA256SUM hash of compressed files + value: ${{ steps.hash.outputs.hash }} + artifact_name: + description: Artifact name + value: ${{ steps.artifact_name.outputs.artifact_name }} + +runs: + using: composite + steps: + - id: adjust_path + name: Adjust path + shell: bash + run: echo "${{ github.action_path }}" >> $GITHUB_PATH + + - id: artifact_name + name: Export final artifact name + env: + GITHUB_RUN_ID: ${{ github.run_id }} + ARTIFACT_PREFIX: ${{ inputs.prefix }} + shell: bash + run: | + echo "artifact_name=${ARTIFACT_PREFIX}-${GITHUB_RUN_ID}" >> "$GITHUB_OUTPUT" + + - id: compress + name: Create tarball for entire source + env: + ARTIFACT_NAME: ${{ steps.artifact_name.outputs.artifact_name }} + shell: bash + run: | + tar --exclude-vcs -cvf "${ARTIFACT_NAME}".tar * + + - id: hash + name: Hash + env: + ARTIFACT_NAME: ${{ steps.artifact_name.outputs.artifact_name }} + shell: bash + run: | + echo "hash=$(openssl dgst -sha256 -binary "${{ ARTIFACT_NAME }}".tar | openssl enc -base64)" >> "$GITHUB_OUTPUT" + + - name: Upload artifacts + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 + with: + if-no-files-found: error + name: ${{ steps.artifact_name.outputs.artifact_name }} + path: ${{ steps.artifact_name.outputs.artifact_name }}.tar + retention-days: 1 + + - name: Remove archive + env: + ARTIFACT_NAME: ${{ steps.artifact_name.outputs.artifact_name }} + shell: bash + run: | + rm -f "${ARTIFACT_NAME}.tar" \ No newline at end of file From 9c161757345abc843093a86c68858b048408b8c8 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 20 Mar 2025 13:13:35 +0000 Subject: [PATCH 29/45] add versioning action --- .github/actions/version/action.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/actions/version/action.yml diff --git a/.github/actions/version/action.yml b/.github/actions/version/action.yml new file mode 100644 index 000000000..9dc593722 --- /dev/null +++ b/.github/actions/version/action.yml @@ -0,0 +1,28 @@ +name: Version Java Project +description: | + ... + +inputs: + new_version: + description: New package version, expressed as SemVer (1.x.y) + required: true + +outputs: + old_version: + description: Current version of project + value: ${{ steps.current_version.outputs.current_version}} + +runs: + using: composite + steps: + - id: current_version + name: Get current version + shell: bash + run: | + echo "current_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV + + - id: replace_version + name: Replace current version + shell: | + run: | + mvn versions:set -DnewVersion=${{ inputs.new_version }} -DprocessAllModules=true -DallowSnapshots=true \ No newline at end of file From e20c3ee23cebc6592256fc4e91e20e5a48f3c791 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 20 Mar 2025 13:22:54 +0000 Subject: [PATCH 30/45] start of release action --- .github/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab0084f2e..3dfe18a07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,9 +20,16 @@ permissions: contents: read jobs: - noop: + version_seal: runs-on: ubuntu-latest steps: - - name: noop - run: | - echo "noop" \ No newline at end of file + - id: version + name: version + uses: ./.github/version + with: + new_version: ${{ inputs.version }} + - id: seal + name: seal + uses: ./.github/seal + with: + prefix: source \ No newline at end of file From 2922075f33dbb7a8d44d06dde84e274f9e1da4dc Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 20 Mar 2025 13:27:23 +0000 Subject: [PATCH 31/45] add checkout --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3dfe18a07..1065aec55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: version_seal: runs-on: ubuntu-latest steps: + - id: checkout + name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: version name: version uses: ./.github/version From 9bc675b32c23acee5215a793b8a3c3bb28114a78 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 20 Mar 2025 15:45:37 +0000 Subject: [PATCH 32/45] add notes --- .github/actions/restore/action.yml | 0 .github/actions/version/action.yml | 15 ++++++++++++++- .github/workflows/release.yml | 13 ++++++++++--- 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 .github/actions/restore/action.yml diff --git a/.github/actions/restore/action.yml b/.github/actions/restore/action.yml new file mode 100644 index 000000000..e69de29bb diff --git a/.github/actions/version/action.yml b/.github/actions/version/action.yml index 9dc593722..8c60fac92 100644 --- a/.github/actions/version/action.yml +++ b/.github/actions/version/action.yml @@ -1,6 +1,19 @@ name: Version Java Project description: | - ... + Versions the maven project using an input + + Process: + 1. Grab current version from project.version variable from maven + 2. Set new version using maven-versions-plugin + + Usage: + ```yml + - id: version + name: version + uses: .github/actions/version + with: + new_version: 1.20.0 +``` inputs: new_version: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1065aec55..7fe48d403 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,18 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: version name: version - uses: ./.github/version + uses: ./.github/actions/version with: new_version: ${{ inputs.version }} - id: seal name: seal - uses: ./.github/seal + uses: ./.github/actions/seal with: - prefix: source \ No newline at end of file + prefix: source + + quality: + runs-on: ubuntu-latest + steps: + - id: restore + name: restore + uses: ./.github/restore \ No newline at end of file From 08a3d41b3a177a1f3f585d427250248dbfc34f6f Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 3 Apr 2025 10:19:35 +0000 Subject: [PATCH 33/45] add empty gradle action --- .github/actions/gradle/action.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/actions/gradle/action.yml diff --git a/.github/actions/gradle/action.yml b/.github/actions/gradle/action.yml new file mode 100644 index 000000000..e69de29bb From 0015b572ef203946068316d0045d52a8c331d3bc Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 3 Apr 2025 10:20:26 +0000 Subject: [PATCH 34/45] update workflows --- .github/workflows/check-build.yml | 50 ++++++++++++++++ .github/workflows/check-pmd.yml | 2 +- .github/workflows/check-spotbugs.yml | 46 +++++++++++++++ .github/workflows/release.yml | 87 +++++++++++++++++++++++++--- 4 files changed, 176 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/check-build.yml create mode 100644 .github/workflows/check-spotbugs.yml diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml new file mode 100644 index 000000000..6ed79efdd --- /dev/null +++ b/.github/workflows/check-build.yml @@ -0,0 +1,50 @@ +on: + workflow_dispatch: + pull_request: + paths: + - 'powertools-batch/**' + - 'powertools-cloudformation/**' + - 'powertools-core/**' + - 'powertools-e2e-tests/**' + - 'powertools-idempotency/**' + - 'powertools-large-messages/**' + - 'powertools-logging/**' + - 'powertools-metrics/**' + - 'powertools-parameters/**' + - 'powertools-serialization/**' + - 'powertools-sqs/**' + - 'powertools-test-suite/**' + - 'powertools-tracing/**' + - 'powertools-validation/**' + - 'examples/**' + - 'pom.xml' + - 'examples/pom.xml' + - '.github/workflows/**' + push: + branches: + - main + paths: + - 'powertools-batch/**' + - 'powertools-cloudformation/**' + - 'powertools-core/**' + - 'powertools-e2e-tests/**' + - 'powertools-idempotency/**' + - 'powertools-large-messages/**' + - 'powertools-logging/**' + - 'powertools-metrics/**' + - 'powertools-parameters/**' + - 'powertools-serialization/**' + - 'powertools-sqs/**' + - 'powertools-test-suite/**' + - 'powertools-tracing/**' + - 'powertools-validation/**' + - 'examples/**' + - 'pom.xml' + - 'examples/pom.xml' + - '.github/workflows/**' + +name: Build +run-name: Build - ${{ github.event_name }} + +jobs: + ... \ No newline at end of file diff --git a/.github/workflows/check-pmd.yml b/.github/workflows/check-pmd.yml index c93f41f74..3894c095a 100644 --- a/.github/workflows/check-pmd.yml +++ b/.github/workflows/check-pmd.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: schedule: - cron: '0 12 * * *' # Run daily at 12:00 UTC - + name: PMD run-name: PMD - ${{ github.event_name }} diff --git a/.github/workflows/check-spotbugs.yml b/.github/workflows/check-spotbugs.yml new file mode 100644 index 000000000..90db296f0 --- /dev/null +++ b/.github/workflows/check-spotbugs.yml @@ -0,0 +1,46 @@ +on: + pull_request: + branches: + - main + paths: + - 'powertools-cloudformation/**' + - 'powertools-core/**' + - 'powertools-serialization/**' + - 'powertools-logging/**' + - 'powertools-sqs/**' + - 'powertools-tracing/**' + - 'powertools-validation/**' + - 'powertools-parameters/**' + - 'powertools-idempotency/**' + - 'powertools-metrics/**' + - 'powertools-test-suite/**' + - 'pom.xml' + - '.github/workflows/**' + +name: SpotBugs +run-name: SpotBugs + +permissions: + contents: read + +jobs: + codecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - name: Setup java JDK 1.8 + uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 + with: + distribution: 'corretto' + java-version: 8 + # https://github.com/jwgmeligmeyling/spotbugs-github-action/issues/6 + # https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/ + # Avoid complexity of git action with publishing report. Just build with spotbugs profile. +# - name: Build with Maven for spotbugs check to gather reports +# run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=false +# - uses: jwgmeligmeyling/spotbugs-github-action@master +# with: +# path: '**/spotbugsXml.xml' +# # Can be simplified post this issue is fixed https://github.com/jwgmeligmeyling/spotbugs-github-action/issues/9 + - name: Build with Maven for spotbugs check to mark build as fail if voilations found + run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=true \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fe48d403..0704489b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,18 @@ on: type: boolean description: Create snapshot release default: true + skip_checks: + type: boolean + description: Skip quality checks + default: false skip_publish: type: boolean description: Ship publish to Maven Central default: false + conintue_on_error: + type: boolean + description: + default: false name: Release run-name: Release @@ -22,6 +30,8 @@ permissions: jobs: version_seal: runs-on: ubuntu-latest + outputs: + source_hash: ${{ steps.upload_source.outputs.artifact-digest }} steps: - id: checkout name: Checkout repository @@ -31,15 +41,76 @@ jobs: uses: ./.github/actions/version with: new_version: ${{ inputs.version }} - - id: seal - name: seal - uses: ./.github/actions/seal + - id: upload_source + name: Upload artifacts + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: - prefix: source - + if-no-files-found: error + name: source + path: | + * + !.git/* + include-hidden-files: true + retention-days: 1 + quality: runs-on: ubuntu-latest + needs: + - version_seal + if: ${{ inputs.skip_checks }} + permissions: + contents: write + id-token: write steps: - - id: restore - name: restore - uses: ./.github/restore \ No newline at end of file + - id: download_source + name: Download artifacts + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + with: + name: source + - name: Setup Java + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + with: + distribution: corretto + java-version: 21 + cache: maven + # non-exhuastive, but gives a fair indication if the final build will succeed, tests will run when we build later + - name: Run unit tests + run: mvn -B test --file pom.xml + continue-on-error: ${{ inputs.conintue_on_error }} + - name: Run Spotbugs + run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=${{ inputs.conintue_on_error }} + continue-on-error: ${{ inputs.conintue_on_error }} + - uses: pmd/pmd-github-action@d9c1f3c5940cbf5923f1354e83fa858b4496ebaa # v2.0.0 + with: + rulesets: '.github/pmd-ruleset.xml' + token: ${{ secrets.GITHUB_TOKEN }} + uploadSarifReport: false + + build: + runs-on: ubuntu-latest + needs: + - quality + strategy: + matrix: + java_version: + - 8 + - 11 + - 17 + - 21 + steps: + - id: download_source + name: Download artifacts + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + with: + name: source + - name: Setup Java + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + with: + distribution: corretto + java-version: ${{ matrix.java_version }} + cache: maven + - id: build-maven + name: Build (Maven) + run: | + mvn -B install --file pom.xml + From 22a07ff0042a2a99e637d8f0008b9efd01db0a29 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 3 Apr 2025 11:03:31 +0000 Subject: [PATCH 35/45] add snapshot releases to release pipeline --- .github/actions/version/action.yml | 19 ++++++++++++++++--- .github/workflows/release.yml | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/actions/version/action.yml b/.github/actions/version/action.yml index 8c60fac92..3f342a1fa 100644 --- a/.github/actions/version/action.yml +++ b/.github/actions/version/action.yml @@ -13,12 +13,16 @@ description: | uses: .github/actions/version with: new_version: 1.20.0 -``` + ``` inputs: new_version: description: New package version, expressed as SemVer (1.x.y) required: true + snapshot: + description: New version is a SNAPSHOT release + required: true + default: 'false' outputs: old_version: @@ -36,6 +40,15 @@ runs: - id: replace_version name: Replace current version - shell: | + shell: bash + run: | + mvn versions:set -DnewVersion=${{ inputs.new_version }} -DprocessAllModules=true -DallowSnapshots=true + + - id: asset_veersion + name: Replace version for assets + if: ${{ inputs.snapshot == 'true' }} + env: + current_version: ${{ steps.current_version.outputs.current_version }} + shell: bash run: | - mvn versions:set -DnewVersion=${{ inputs.new_version }} -DprocessAllModules=true -DallowSnapshots=true \ No newline at end of file + grep "${{ env.current_version }}" -r . --include build.gradle --include build.gradle.kts --include mkdocs.yml --include README.md -l | xargs sed -i 's#${{ env.current_version }}#${{ inputs.new_version }}#' \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0704489b7..c8ac47222 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,7 @@ jobs: uses: ./.github/actions/version with: new_version: ${{ inputs.version }} + snapshot: ${{ inputs.snapshot}} - id: upload_source name: Upload artifacts uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 From a3ff73afc4b66be824a1a86e756817f5ccca0b4b Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 10 Apr 2025 18:58:37 +0000 Subject: [PATCH 36/45] build workflow --- .github/workflows/check-build.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 6ed79efdd..30f053a42 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -47,4 +47,26 @@ name: Build run-name: Build - ${{ github.event_name }} jobs: - ... \ No newline at end of file + build: + runs-on: ubuntu-latest + strategy: + matrix: + java_version: + - 8 + - 11 + - 17 + - 21 + steps: + - id: checkout + name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Setup Java + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + with: + distribution: corretto + java-version: ${{ matrix.java_version }} + cache: maven + - id: build-maven + name: Build (Maven) + run: | + mvn -B install --file pom.xml \ No newline at end of file From dc85eeede0eda8e23daf672e4e8bb0de7f18cf56 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 10 Apr 2025 19:05:27 +0000 Subject: [PATCH 37/45] add publish --- .github/workflows/release.yml | 76 ++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8ac47222..8552dad0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,10 @@ run-name: Release permissions: contents: read +env: + RELEASE_COMMIT: ${{ github.sha }} + RELEASE_TAG_VERSION: ${{ inputs.version }} + jobs: version_seal: runs-on: ubuntu-latest @@ -114,4 +118,74 @@ jobs: name: Build (Maven) run: | mvn -B install --file pom.xml - + + publish: + runs-on: ubuntu-latest + needs: + - build + environment: Release + steps: + - id: download_source + name: Download artifacts + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + with: + name: source + - name: Setup Java + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + with: + distribution: corretto + java-version: 21 + cache: maven + - name: Publish package + run: mvn -Prelease clean deploy -DskipTests + env: + MAVEN_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + + create_pr: + runs-on: ubuntu-latest + if: ${{ inputs.snapshot == false }} + needs: + - publish + permissions: + pull-requests: write + contents: write + steps: + - id: checkout + name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: ${{ env.RELEASE_COMMIT }} + - id: download_source + name: Download artifacts + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + with: + name: source + - id: setup-git + name: Git client setup and refresh tip + run: | + git config user.name "Powertools for AWS Lambda (Java) Bot" + git config user.email "151832416+aws-powertools-bot@users.noreply.github.com" + git config pull.rebase true + git config remote.origin.url >&- + - id: branch + name: Create branch + run: | + git checkout -b ci-${{ github.run_id }} + git commit -am "chore(ci): bump version to ${{ inputs.version }}" + git push origin ci-${{ github.run_id }} + - id: create_pr + name: Create PR + run: | + gh pr create \ + --title "chore(ci): bump version to ${{ inputs.version }}" \ + --body "This is an automated PR created from the following workflow: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - id: tag + name: Create release + run: | + gh release create v${{ inputs.version }} --target $(git rev-parse HEAD) + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 292a91d53648ff943696616bc4d8c28180c19477 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 11:36:55 +0000 Subject: [PATCH 38/45] update version --- .github/workflows/release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8552dad0d..d4e55a883 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,8 +32,20 @@ env: RELEASE_TAG_VERSION: ${{ inputs.version }} jobs: + process_version: + runs-on: ubuntu-latest + outputs: + version: ${{ steps.version.outputs.version }} + steps: + - id: version + name: Version + run: | + echo version="$(grep -q "SNAPSHOT" <<< "${{ inputs.version }}" && echo "${{ inputs.version }}" || echo "${{ inputs.version }}-SNAPSHOT")" >> "$GITHUB_OUTPUT" + version_seal: runs-on: ubuntu-latest + needs: + - process_version outputs: source_hash: ${{ steps.upload_source.outputs.artifact-digest }} steps: @@ -44,7 +56,7 @@ jobs: name: version uses: ./.github/actions/version with: - new_version: ${{ inputs.version }} + new_version: ${{ needs.process_version.outputs.version }} snapshot: ${{ inputs.snapshot}} - id: upload_source name: Upload artifacts From 2b8ed06bd6497e94934f5c6dc50dd9e69d4c5ae8 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 12:02:30 +0000 Subject: [PATCH 39/45] fix version --- .github/workflows/release.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4e55a883..48ff209ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,12 +35,18 @@ jobs: process_version: runs-on: ubuntu-latest outputs: - version: ${{ steps.version.outputs.version }} + version: ${{ format('{0}{1}', steps.version_release.outputs.version, steps.version_snapshot.outputs.version) }} steps: - - id: version - name: Version - run: | - echo version="$(grep -q "SNAPSHOT" <<< "${{ inputs.version }}" && echo "${{ inputs.version }}" || echo "${{ inputs.version }}-SNAPSHOT")" >> "$GITHUB_OUTPUT" + - id: version_snapshot + if: ${{ inputs.snapshot }} + name: Version + run: | + echo version="$(grep -q "SNAPSHOT" <<< "${{ inputs.version }}" && echo "${{ inputs.version }}" || echo "${{ inputs.version }}-SNAPSHOT")" >> "$GITHUB_OUTPUT" + - id: version_release + if: ${{ !inputs.snapshot }} + name: Version + run: | + echo version="${{ inputs.version }}" >> "$GITHUB_OUTPUT" version_seal: runs-on: ubuntu-latest From b55921860b8a685e921728f039dba4b9f8a5f80a Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 12:08:37 +0000 Subject: [PATCH 40/45] update graph --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48ff209ff..c01e2aaf9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,6 @@ jobs: runs-on: ubuntu-latest needs: - version_seal - if: ${{ inputs.skip_checks }} permissions: contents: write id-token: write @@ -113,6 +112,7 @@ jobs: runs-on: ubuntu-latest needs: - quality + - version_seal strategy: matrix: java_version: From e451e47d4e2539fce912f80198c6f8e22ddc4402 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 13:14:07 +0000 Subject: [PATCH 41/45] add ship for publish --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c01e2aaf9..7c2fc8779 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,6 +139,7 @@ jobs: publish: runs-on: ubuntu-latest + if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' }} needs: - build environment: Release @@ -166,6 +167,7 @@ jobs: if: ${{ inputs.snapshot == false }} needs: - publish + - build permissions: pull-requests: write contents: write From 8a7fc415e818327de109328177ece3148a3a8472 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 13:24:08 +0000 Subject: [PATCH 42/45] test --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c2fc8779..6bb09056f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,7 +100,7 @@ jobs: run: mvn -B test --file pom.xml continue-on-error: ${{ inputs.conintue_on_error }} - name: Run Spotbugs - run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=${{ inputs.conintue_on_error }} + run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=${{ !inputs.conintue_on_error }} continue-on-error: ${{ inputs.conintue_on_error }} - uses: pmd/pmd-github-action@d9c1f3c5940cbf5923f1354e83fa858b4496ebaa # v2.0.0 with: @@ -166,7 +166,6 @@ jobs: runs-on: ubuntu-latest if: ${{ inputs.snapshot == false }} needs: - - publish - build permissions: pull-requests: write From 220eb2e53ff10be2b5f8165ceac2179d99f07e77 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 13:39:48 +0000 Subject: [PATCH 43/45] remove release --- .github/workflows/release.yml | 104 +++++++++++++++++----------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bb09056f..917671da9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,59 +108,59 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} uploadSarifReport: false - build: - runs-on: ubuntu-latest - needs: - - quality - - version_seal - strategy: - matrix: - java_version: - - 8 - - 11 - - 17 - - 21 - steps: - - id: download_source - name: Download artifacts - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 - with: - name: source - - name: Setup Java - uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 - with: - distribution: corretto - java-version: ${{ matrix.java_version }} - cache: maven - - id: build-maven - name: Build (Maven) - run: | - mvn -B install --file pom.xml + # build: + # runs-on: ubuntu-latest + # needs: + # - quality + # - version_seal + # strategy: + # matrix: + # java_version: + # - 8 + # - 11 + # - 17 + # - 21 + # steps: + # - id: download_source + # name: Download artifacts + # uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + # with: + # name: source + # - name: Setup Java + # uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + # with: + # distribution: corretto + # java-version: ${{ matrix.java_version }} + # cache: maven + # - id: build-maven + # name: Build (Maven) + # run: | + # mvn -B install --file pom.xml - publish: - runs-on: ubuntu-latest - if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' }} - needs: - - build - environment: Release - steps: - - id: download_source - name: Download artifacts - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 - with: - name: source - - name: Setup Java - uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 - with: - distribution: corretto - java-version: 21 - cache: maven - - name: Publish package - run: mvn -Prelease clean deploy -DskipTests - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + # publish: + # runs-on: ubuntu-latest + # if: ${{ github.repository == 'aws-powertools/powertools-lambda-java' }} + # needs: + # - build + # environment: Release + # steps: + # - id: download_source + # name: Download artifacts + # uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + # with: + # name: source + # - name: Setup Java + # uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + # with: + # distribution: corretto + # java-version: 21 + # cache: maven + # - name: Publish package + # run: mvn -Prelease clean deploy -DskipTests + # env: + # MAVEN_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }} + # MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }} + # GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} create_pr: runs-on: ubuntu-latest From d73cd2f739121e2c9bba668aa2a830c097de68ca Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Apr 2025 13:39:58 +0000 Subject: [PATCH 44/45] I flicked too hard --- .github/workflows/release.yml | 56 +++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 917671da9..82bdeb037 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,34 +108,34 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} uploadSarifReport: false - # build: - # runs-on: ubuntu-latest - # needs: - # - quality - # - version_seal - # strategy: - # matrix: - # java_version: - # - 8 - # - 11 - # - 17 - # - 21 - # steps: - # - id: download_source - # name: Download artifacts - # uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 - # with: - # name: source - # - name: Setup Java - # uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 - # with: - # distribution: corretto - # java-version: ${{ matrix.java_version }} - # cache: maven - # - id: build-maven - # name: Build (Maven) - # run: | - # mvn -B install --file pom.xml + build: + runs-on: ubuntu-latest + needs: + - quality + - version_seal + strategy: + matrix: + java_version: + - 8 + - 11 + - 17 + - 21 + steps: + - id: download_source + name: Download artifacts + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + with: + name: source + - name: Setup Java + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 + with: + distribution: corretto + java-version: ${{ matrix.java_version }} + cache: maven + - id: build-maven + name: Build (Maven) + run: | + mvn -B install --file pom.xml # publish: # runs-on: ubuntu-latest From 6c4ea9fd884c47e0bde73add39598d8539cd3172 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 24 Apr 2025 10:17:45 +0000 Subject: [PATCH 45/45] add docs to release --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82bdeb037..8f4dc0352 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ on: default: false name: Release -run-name: Release +run-name: Release – ${{ inputs.version }} permissions: contents: read @@ -207,4 +207,34 @@ jobs: run: | gh release create v${{ inputs.version }} --target $(git rev-parse HEAD) env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + docs: + runs-on: ubuntu-latest + if: ${{ inputs.snapshot == false }} + permissions: + contents: read + id-token: write + environment: Docs + steps: + - id: download_source + name: Download artifacts + uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1 + with: + name: source + - name: Build + run: | + mkdir -p dist + docker build -t squidfunk/mkdocs-material ./docs/ + docker run --rm -t -v ${PWD}:/docs squidfunk/mkdocs-material build + cp -R site/* dist/ + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 + with: + aws-region: us-east-1 + role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }} + - name: Deploy + run: | + aws s3 sync \ + dist \ + s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/ \ No newline at end of file