Skip to content

Commit

Permalink
chore: java21 support in our build (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromevdl authored Oct 24, 2023
1 parent aed398b commit 228c0d8
Show file tree
Hide file tree
Showing 36 changed files with 71 additions and 819 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
java: [8, 11, 15, 16, 17, 18, 19, 20 ]
java: [8, 11, 15, 16, 17, 18, 19, 20, 21 ]
name: Java ${{ matrix.java }}
env:
JAVA: ${{ matrix.java }}
Expand Down
1 change: 1 addition & 0 deletions examples/powertools-examples-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/>
</transformers>
Expand Down
1 change: 1 addition & 0 deletions examples/powertools-examples-cloudformation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/>
</transformers>
Expand Down
8 changes: 1 addition & 7 deletions examples/powertools-examples-core/cdk/app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -105,6 +98,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/>
</transformers>
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion examples/powertools-examples-core/gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ dependencies {
aspect 'software.amazon.lambda:powertools-tracing:1.17.0'
aspect 'software.amazon.lambda:powertools-logging:1.17.0'
aspect 'software.amazon.lambda:powertools-metrics:1.17.0'
testImplementation 'junit:junit:4.13.2'
}

This file was deleted.

8 changes: 1 addition & 7 deletions examples/powertools-examples-core/sam/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -104,6 +97,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer
implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/>
Expand Down

This file was deleted.

8 changes: 1 addition & 7 deletions examples/powertools-examples-core/serverless/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -105,6 +98,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer
implementation="com.github.edwgiz.maven_shade_plugin.log4j2_cache_transformer.PluginsCacheFileTransformer">
Expand Down

This file was deleted.

8 changes: 1 addition & 7 deletions examples/powertools-examples-core/terraform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -105,6 +98,7 @@
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers>
<transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/>
</transformers>
Expand Down

This file was deleted.

Loading

0 comments on commit 228c0d8

Please sign in to comment.