Skip to content

chore: update v2 #1409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
bd03d76
build(deps): bump aws.sdk.version from 2.20.119 to 2.20.120 (#1349)
dependabot[bot] Aug 7, 2023
c5725d1
build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (#1350)
dependabot[bot] Aug 7, 2023
28b2f1f
build(deps): bump aws.sdk.version from 2.20.120 to 2.20.121 (#1351)
dependabot[bot] Aug 8, 2023
594b788
build(deps): bump aws.sdk.version from 2.20.121 to 2.20.122 (#1354)
dependabot[bot] Aug 9, 2023
bc71586
build(deps): bump aws.sdk.version from 2.20.122 to 2.20.123 (#1355)
dependabot[bot] Aug 10, 2023
e8cd878
build(deps): bump aws.sdk.version from 2.20.123 to 2.20.124 (#1356)
dependabot[bot] Aug 11, 2023
ae58dd6
build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (#1357)
dependabot[bot] Aug 14, 2023
ef11a64
docs: Adding CDK example (#1321)
AlexeySoshin Aug 14, 2023
6f05396
build(deps-dev): bump org.yaml:snakeyaml from 2.0 to 2.1 (#1344)
dependabot[bot] Aug 14, 2023
f03832b
build(deps): bump org.apache.maven.plugins:maven-compiler-plugin (#1360)
dependabot[bot] Aug 14, 2023
78e8972
build(deps-dev): bump org.junit.jupiter:junit-jupiter (#1362)
dependabot[bot] Aug 15, 2023
3ebd5cc
build(deps): bump aws.sdk.version from 2.20.124 to 2.20.125 (#1361)
dependabot[bot] Aug 15, 2023
adb2a7e
build(deps): bump org.codehaus.mojo:exec-maven-plugin (#1366)
dependabot[bot] Aug 15, 2023
aa40708
build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (#1368)
dependabot[bot] Aug 15, 2023
bca90c9
build(deps): bump aws.sdk.version from 2.20.125 to 2.20.126 (#1367)
dependabot[bot] Aug 15, 2023
be284e2
build(deps): bump aws.sdk.version from 2.20.126 to 2.20.127 (#1372)
dependabot[bot] Aug 16, 2023
424f888
build(deps): bump aws.sdk.version from 2.20.109 to 2.20.128 (#1377)
dependabot[bot] Aug 17, 2023
29f71dd
fix: Roll log4j shade transformer forwards (#1376)
scottgerring Aug 18, 2023
a0ea4c3
build(deps): bump com.amazonaws:aws-lambda-java-core from 1.2.2 to 1.…
dependabot[bot] Aug 18, 2023
e7fb00c
build(deps): bump aws.sdk.version from 2.20.127 to 2.20.129 (#1380)
dependabot[bot] Aug 18, 2023
cfd45bd
chore:Prep release 1.17.0 (#1381)
jeromevdl Aug 21, 2023
7b0af2c
chore: Fix missing version change pieces (#1382)
scottgerring Aug 21, 2023
018e319
We shouldn't deploy CDK (#1383)
scottgerring Aug 21, 2023
1c84795
build(deps): bump aws.sdk.version from 2.20.129 to 2.20.130 (#1386)
dependabot[bot] Aug 21, 2023
99982d6
Fix batch pom (#1385)
scottgerring Aug 21, 2023
b01e3df
Update to snapshot (#1384)
scottgerring Aug 21, 2023
07c31d3
Fix batch logging (#1387)
scottgerring Aug 21, 2023
869192a
build(deps): bump aws.sdk.version from 2.20.130 to 2.20.131 (#1389)
dependabot[bot] Aug 22, 2023
52a1f48
docs: Change link to absolute versioned path for examples (#1374)
scottgerring Aug 22, 2023
7c3e45b
build(deps): bump aws.sdk.version from 2.20.131 to 2.20.132 (#1390)
dependabot[bot] Aug 23, 2023
9f67d21
build(deps): bump aws.sdk.version from 2.20.132 to 2.20.133 (#1392)
dependabot[bot] Aug 24, 2023
46124b4
build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (#1373)
dependabot[bot] Aug 24, 2023
1fb444a
build(deps): bump aws.sdk.version from 2.20.128 to 2.20.133 (#1393)
dependabot[bot] Aug 24, 2023
787aa9d
chore: secure github actions using hash instead of versions (#1232)
jeromevdl Aug 24, 2023
8d03249
docs: Update gradle configuration readme (#1359)
scottgerring Aug 24, 2023
e35de90
maven deploy configuration (skip in tests and examples) (#1388)
jeromevdl Aug 25, 2023
34c6793
build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (#1394)
dependabot[bot] Aug 25, 2023
c21d66d
build(deps): bump aws.sdk.version from 2.20.133 to 2.20.134 (#1396)
dependabot[bot] Aug 25, 2023
9f33fed
build(deps): bump aws.sdk.version from 2.20.134 to 2.20.135 (#1398)
dependabot[bot] Aug 28, 2023
c6932ae
build(deps): bump aws.sdk.version from 2.20.135 to 2.20.136 (#1404)
dependabot[bot] Aug 29, 2023
220b104
chore: Start V2 branch (#1346)
scottgerring Aug 4, 2023
0ef5bb9
v2: fix version (#1348)
scottgerring Aug 7, 2023
be80197
chore: V2 update from main (#1365)
scottgerring Aug 22, 2023
d384e11
chore: [V2] rename 'core' module to 'common' (#1364)
scottgerring Aug 24, 2023
e3115e6
update v2 with main
jeromevdl Aug 30, 2023
8b0bdc6
Merge branch 'v2' into chore/update-v2
jeromevdl Aug 30, 2023
3bd4bcd
core-utilities
jeromevdl Aug 30, 2023
743d605
Apply suggestions from code review
jeromevdl Aug 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' && github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- uses: ahmadnassri/action-workflow-run-wait@v1
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: ahmadnassri/action-workflow-run-wait@2aa3d9e1a12ecaaa9908e368eaf2123bb084323e # v1.4.4
with:
timeout: 300000
- name: 'Download artifact'
uses: actions/[email protected]
uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # v3.1.0
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
Expand All @@ -43,7 +43,7 @@ jobs:
fs.writeFileSync('${{github.workspace}}/pr.zip', Buffer.from(download.data));
- run: unzip pr.zip
- name: Create review
uses: actions/github-script@v3
uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # v3.1.0
with:
script: |
var fs = require('fs');
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: "3.8"
- name: Capture branch and tag
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,22 @@ jobs:
JAVA: ${{ matrix.java }}
AWS_REGION: eu-west-1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup java
uses: actions/setup-java@v3
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
if: ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8
run: |
cd examples/powertools-examples-core-utilities/gradle
./gradlew build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # 3.1.1
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
Expand All @@ -78,7 +83,7 @@ jobs:
mkdir -p ./pr
echo ${{ github.event.number }}
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
name: Upload artifact
with:
name: pr
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dispatch_analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
environment: analytics
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0
with:
aws-region: eu-central-1
role-to-assume: ${{ secrets.AWS_ANALYTICS_ROLE_ARN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest
environment: Docs
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
with:
python-version: "3.8"
- name: Capture branch and tag
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up Maven Central Repository
uses: actions/setup-java@v2
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: 'zulu'
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
Expand All @@ -30,7 +31,7 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Close issues related to this release
uses: actions/github-script@v5
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
const post_release = require('.github/workflows/post_release.js')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@569eb7ee3a85817ab916c8f8ff03a5bd96c9c83e # v5.23.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 8 additions & 8 deletions .github/workflows/release-prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,50 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3 # v2.0.0
with:
find: '## [Unreleased]'
replace: |
Expand All @@ -66,7 +66,7 @@ jobs:
regex: false
include: CHANGELOG.md
- name: Create Release Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
with:
commit-message: chore:prep release ${{ github.event.inputs.targetRelease }}
token: ${{ secrets.RELEASE }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
id-token: write # needed to interact with GitHub's OIDC Token endpoint.
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup java
uses: actions/setup-java@v3
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@v1.6.1
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 }}
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/secure_workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lockdown untrusted workflows

# PROCESS
#
# 1. Scans for any external GitHub Action being used without version pinning (@<commit-sha> 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/**"

jobs:
enforce_pinned_workflows:
name: Harden Security
runs-on: ubuntu-latest
permissions:
contents: read # checkout code and subsequently GitHub action workflows
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
6 changes: 3 additions & 3 deletions .github/workflows/spotbugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
codecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup java JDK 1.8
uses: actions/setup-java@v2
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
distribution: 'zulu'
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/
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ example/HelloWorldFunction/.gradle
example/HelloWorldFunction/build
/example/.gradle/
/example/.java-version
.gradle
build/
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,18 @@ Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lam
<summary><b>Gradle - Java 11+</b></summary>

```groovy

plugins {
id 'java'
id 'io.freefair.aspectj.post-compile-weaving' version '8.1.0'
id 'io.freefair.aspectj.post-compile-weaving' version '8.2.2'
}

// the freefair aspect plugins targets gradle 8.2.1
// https://docs.freefair.io/gradle-plugins/8.2.2/reference/
wrapper {
gradleVersion = "8.2.1"
}

repositories {
mavenCentral()
}
Expand All @@ -145,6 +152,7 @@ Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lam
aspect 'software.amazon.lambda:powertools-logging:{{ powertools.version }}'
aspect 'software.amazon.lambda:powertools-tracing:{{ powertools.version }}'
aspect 'software.amazon.lambda:powertools-metrics:{{ powertools.version }}'
implementation "org.aspectj:aspectjrt:1.9.8.RC3"
}

sourceCompatibility = 11
Expand All @@ -161,6 +169,12 @@ Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lam
id 'io.freefair.aspectj.post-compile-weaving' version '6.6.3'
}

// the freefair aspect plugins targets gradle 7.6.1
// https://docs.freefair.io/gradle-plugins/6.6.3/reference/
wrapper {
gradleVersion = "7.6.1"
}

repositories {
mavenCentral()
}
Expand All @@ -178,7 +192,7 @@ Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lam

## Examples

See the **[examples](examples)** directory for example projects showcasing usage of different utilities.
See the latest release of the **[examples](https://github.com/aws-powertools/powertools-lambda-java/tree/v1.17.0/examples)** for example projects showcasing usage of different utilities.

Have a demo project to contribute which showcase usage of different utilities from powertools? We are happy to accept it [here](CONTRIBUTING.md#security-issue-notifications).

Expand Down
17 changes: 16 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,17 @@ Depending on your version of Java (either Java 1.8 or 11+), the configuration sl
=== "Gradle Java 11+"

```groovy

plugins {
id 'java'
id 'io.freefair.aspectj.post-compile-weaving' version '8.1.0'
id 'io.freefair.aspectj.post-compile-weaving' version '8.2.2'
}

// the freefair aspect plugins targets gradle 8.2.1
// https://docs.freefair.io/gradle-plugins/8.2.2/reference/
wrapper {
gradleVersion = "8.2.1"
}

repositories {
mavenCentral()
Expand All @@ -233,10 +240,18 @@ Depending on your version of Java (either Java 1.8 or 11+), the configuration sl
=== "Gradle Java 1.8"

```groovy

plugins {
id 'java'
id 'io.freefair.aspectj.post-compile-weaving' version '6.6.3'
}

// the freefair aspect plugins targets gradle 7.6.1
// https://docs.freefair.io/gradle-plugins/6.6.3/reference/
wrapper {
gradleVersion = "7.6.1"
}


repositories {
mavenCentral()
Expand Down
16 changes: 12 additions & 4 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@
<module>powertools-examples-cloudformation</module>
</modules>

<!-- Don't deploy the examples -->
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<build>
<plugins>
<!-- Don't deploy the examples -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

</project>
Loading