Skip to content

Commit c8f10d2

Browse files
committed
Cleanup dependencies for blank-java
1 parent 2675a77 commit c8f10d2

File tree

2 files changed

+11
-36
lines changed

2 files changed

+11
-36
lines changed

sample-apps/blank-java/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ dependencies {
1111
implementation platform('com.amazonaws:aws-xray-recorder-sdk-bom:2.4.0')
1212
implementation 'software.amazon.awssdk:lambda'
1313
implementation 'com.amazonaws:aws-xray-recorder-sdk-core'
14-
implementation 'com.amazonaws:aws-xray-recorder-sdk-aws-sdk-core'
15-
implementation 'com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2'
16-
implementation 'com.amazonaws:aws-xray-recorder-sdk-aws-sdk-v2-instrumentor'
1714
implementation 'com.amazonaws:aws-lambda-java-core:1.2.1'
1815
implementation 'com.amazonaws:aws-lambda-java-events:2.2.9'
19-
implementation 'org.apache.logging.log4j:log4j-api:[2.17.1,)'
20-
implementation 'org.apache.logging.log4j:log4j-core:[2.17.1,)'
2116
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j18-impl:[2.17.1,)'
22-
runtimeOnly 'com.amazonaws:aws-lambda-java-log4j2:1.5.0'
2317
testImplementation 'com.amazonaws:aws-lambda-java-tests:1.1.1'
2418
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
2519
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'

sample-apps/blank-java/pom.xml

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,6 @@
2222
<artifactId>aws-lambda-java-events</artifactId>
2323
<version>2.2.9</version>
2424
</dependency>
25-
<dependency>
26-
<groupId>com.amazonaws</groupId>
27-
<artifactId>aws-lambda-java-log4j2</artifactId>
28-
<version>1.5.0</version>
29-
</dependency>
30-
<dependency>
31-
<groupId>org.apache.logging.log4j</groupId>
32-
<artifactId>log4j-api</artifactId>
33-
<version>[2.17.1,)</version>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.apache.logging.log4j</groupId>
37-
<artifactId>log4j-core</artifactId>
38-
<version>[2.17.1,)</version>
39-
</dependency>
4025
<dependency>
4126
<groupId>org.apache.logging.log4j</groupId>
4227
<artifactId>log4j-slf4j18-impl</artifactId>
@@ -52,21 +37,6 @@
5237
<artifactId>aws-xray-recorder-sdk-core</artifactId>
5338
<version>2.4.0</version>
5439
</dependency>
55-
<dependency>
56-
<groupId>com.amazonaws</groupId>
57-
<artifactId>aws-xray-recorder-sdk-aws-sdk-core</artifactId>
58-
<version>2.4.0</version>
59-
</dependency>
60-
<dependency>
61-
<groupId>com.amazonaws</groupId>
62-
<artifactId>aws-xray-recorder-sdk-aws-sdk-v2</artifactId>
63-
<version>2.4.0</version>
64-
</dependency>
65-
<dependency>
66-
<groupId>com.amazonaws</groupId>
67-
<artifactId>aws-xray-recorder-sdk-aws-sdk-v2-instrumentor</artifactId>
68-
<version>2.4.0</version>
69-
</dependency>
7040
<dependency>
7141
<groupId>org.junit.jupiter</groupId>
7242
<artifactId>junit-jupiter-api</artifactId>
@@ -99,6 +69,17 @@
9969
<version>3.2.2</version>
10070
<configuration>
10171
<createDependencyReducedPom>false</createDependencyReducedPom>
72+
<filters>
73+
<filter>
74+
<artifact>*:*</artifact>
75+
<excludes>
76+
<exclude>module-info.class</exclude>
77+
<exclude>META-INF/*</exclude>
78+
<exclude>META-INF/versions/**</exclude>
79+
<exclude>META-INF/services/**</exclude>
80+
</excludes>
81+
</filter>
82+
</filters>
10283
</configuration>
10384
<executions>
10485
<execution>

0 commit comments

Comments
 (0)