From c8894731d402243af8aff845b7cae7b8e2cfc7cc Mon Sep 17 00:00:00 2001 From: Johannes Geppert Date: Tue, 8 Dec 2020 15:55:13 +0100 Subject: [PATCH 1/3] Remove unused logger instance --- .../serverless/proxy/struts2/Struts2LambdaHandler.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aws-serverless-java-container-struts2/src/main/java/com/amazonaws/serverless/proxy/struts2/Struts2LambdaHandler.java b/aws-serverless-java-container-struts2/src/main/java/com/amazonaws/serverless/proxy/struts2/Struts2LambdaHandler.java index 26a01bd90..b4aee76c9 100644 --- a/aws-serverless-java-container-struts2/src/main/java/com/amazonaws/serverless/proxy/struts2/Struts2LambdaHandler.java +++ b/aws-serverless-java-container-struts2/src/main/java/com/amazonaws/serverless/proxy/struts2/Struts2LambdaHandler.java @@ -16,8 +16,6 @@ import com.amazonaws.serverless.proxy.model.AwsProxyResponse; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.RequestStreamHandler; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStream; @@ -32,8 +30,6 @@ */ public class Struts2LambdaHandler implements RequestStreamHandler { - private static final Logger log = LoggerFactory.getLogger(Struts2LambdaHandler.class); - private final Struts2LambdaContainerHandler handler = Struts2LambdaContainerHandler .getAwsProxyHandler(); From 61cb694797282b7705abc93fa070453a7df6fdb6 Mon Sep 17 00:00:00 2001 From: Johannes Geppert Date: Tue, 8 Dec 2020 15:55:39 +0100 Subject: [PATCH 2/3] Use latest available Apache Struts2 GA version 2.5.26 --- aws-serverless-java-container-struts2/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-serverless-java-container-struts2/pom.xml b/aws-serverless-java-container-struts2/pom.xml index 74f7f0f5a..a345ea738 100644 --- a/aws-serverless-java-container-struts2/pom.xml +++ b/aws-serverless-java-container-struts2/pom.xml @@ -15,7 +15,7 @@ - 2.5.22 + 2.5.26 From 7df802e46fc289fcacf42800d7155c3e56a0b4ac Mon Sep 17 00:00:00 2001 From: Johannes Geppert Date: Tue, 8 Dec 2020 16:24:18 +0100 Subject: [PATCH 3/3] Use latest available dependency in Struts2 archetype --- .../main/resources/archetype-resources/pom.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/pom.xml b/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/pom.xml index 7fbb31949..e8906de56 100644 --- a/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/pom.xml +++ b/aws-serverless-struts2-archetype/src/main/resources/archetype-resources/pom.xml @@ -15,10 +15,10 @@ 1.8 1.8 - 2.5.22 - 2.10.3 - 4.12 - 2.8.2 + 2.5.26 + 2.12.0 + 4.13.1 + 2.14.0 @@ -31,7 +31,7 @@ com.amazonaws aws-lambda-java-core - 1.2.0 + 1.2.1 @@ -63,14 +63,14 @@ com.jgeppert.struts2 struts2-aws-lambda-support-plugin - 1.1.0 + 1.3.0 org.hibernate hibernate-validator - 4.3.2.Final + 5.3.6.Final @@ -110,7 +110,7 @@ com.amazonaws aws-lambda-java-log4j2 - 1.1.0 + 1.2.0