From 3d56c82e9bff90ccd03e1a3ea3073b829248d921 Mon Sep 17 00:00:00 2001
From: Josiah Noel <32279667+SentryMan@users.noreply.github.com>
Date: Tue, 3 Sep 2024 20:02:11 -0400
Subject: [PATCH] it's module time
---
.../module-info.java | 10 +++++++
.../pom.xml | 21 +++++++++++++++
aws-lambda-java-events/module-info.java | 11 ++++++++
aws-lambda-java-events/pom.xml | 25 ++++++++++++++++++
aws-lambda-java-log4j2/module-info.java | 9 +++++++
aws-lambda-java-log4j2/pom.xml | 26 ++++++++++++++++++-
.../module-info.java | 16 ++++++++++++
.../pom.xml | 21 +++++++++++++++
.../module-info.java | 18 +++++++++++++
aws-lambda-java-serialization/pom.xml | 25 ++++++++++++++++--
10 files changed, 179 insertions(+), 3 deletions(-)
create mode 100644 aws-lambda-java-events-sdk-transformer/module-info.java
create mode 100644 aws-lambda-java-events/module-info.java
create mode 100644 aws-lambda-java-log4j2/module-info.java
create mode 100644 aws-lambda-java-runtime-interface-client/module-info.java
create mode 100644 aws-lambda-java-serialization/module-info.java
diff --git a/aws-lambda-java-events-sdk-transformer/module-info.java b/aws-lambda-java-events-sdk-transformer/module-info.java
new file mode 100644
index 00000000..c4ab43ef
--- /dev/null
+++ b/aws-lambda-java-events-sdk-transformer/module-info.java
@@ -0,0 +1,10 @@
+module aws.lambda.events.sdk.transformer {
+
+ exports com.amazonaws.services.lambda.runtime.events.transformers.v1;
+ exports com.amazonaws.services.lambda.runtime.events.transformers.v1.dynamodb;
+ exports com.amazonaws.services.lambda.runtime.events.transformers.v2;
+ exports com.amazonaws.services.lambda.runtime.events.transformers.v2.dynamodb;
+
+ requires transitive aws.lambda.events;
+ requires static aws.java.sdk.dynamodb;
+}
diff --git a/aws-lambda-java-events-sdk-transformer/pom.xml b/aws-lambda-java-events-sdk-transformer/pom.xml
index 6a2b1735..4c66d7f4 100644
--- a/aws-lambda-java-events-sdk-transformer/pom.xml
+++ b/aws-lambda-java-events-sdk-transformer/pom.xml
@@ -85,6 +85,27 @@
maven-failsafe-plugin
2.22.2
+
+ org.moditect
+ moditect-maven-plugin
+ 1.0.0.Final
+
+
+ add-module-infos
+ package
+
+ add-module-info
+
+
+ true
+
+ ./module-info.java
+
+
+
+
+
+
diff --git a/aws-lambda-java-events/module-info.java b/aws-lambda-java-events/module-info.java
new file mode 100644
index 00000000..5b1172c9
--- /dev/null
+++ b/aws-lambda-java-events/module-info.java
@@ -0,0 +1,11 @@
+module aws.lambda.events {
+
+ exports com.amazonaws.services.lambda.runtime.events;
+ exports com.amazonaws.services.lambda.runtime.events.models;
+ exports com.amazonaws.services.lambda.runtime.events.models.dynamodb;
+ exports com.amazonaws.services.lambda.runtime.events.models.kinesis;
+ exports com.amazonaws.services.lambda.runtime.events.models.s3;
+
+ requires static lombok;
+ requires org.joda.time;
+}
diff --git a/aws-lambda-java-events/pom.xml b/aws-lambda-java-events/pom.xml
index e13d5bb2..35c206c3 100644
--- a/aws-lambda-java-events/pom.xml
+++ b/aws-lambda-java-events/pom.xml
@@ -80,6 +80,31 @@
+
+
+
+ org.moditect
+ moditect-maven-plugin
+ 1.0.0.Final
+
+
+ add-module-infos
+ package
+
+ add-module-info
+
+
+ true
+
+ ./module-info.java
+
+
+
+
+
+
+
+
dev
diff --git a/aws-lambda-java-log4j2/module-info.java b/aws-lambda-java-log4j2/module-info.java
new file mode 100644
index 00000000..80a39ba1
--- /dev/null
+++ b/aws-lambda-java-log4j2/module-info.java
@@ -0,0 +1,9 @@
+module aws.lambda.log4j2 {
+
+ exports com.amazonaws.services.lambda.runtime.log4j2;
+
+ requires aws.lambda.core;
+ requires org.apache.logging.log4j;
+ requires org.apache.logging.log4j.core;
+
+}
diff --git a/aws-lambda-java-log4j2/pom.xml b/aws-lambda-java-log4j2/pom.xml
index b33300ef..6061a846 100644
--- a/aws-lambda-java-log4j2/pom.xml
+++ b/aws-lambda-java-log4j2/pom.xml
@@ -61,7 +61,31 @@
${log4j.version}
-
+
+
+
+ org.moditect
+ moditect-maven-plugin
+ 1.0.0.Final
+
+
+ add-module-infos
+ package
+
+ add-module-info
+
+
+ true
+
+ ./module-info.java
+
+
+
+
+
+
+
+
dev
diff --git a/aws-lambda-java-runtime-interface-client/module-info.java b/aws-lambda-java-runtime-interface-client/module-info.java
new file mode 100644
index 00000000..99bca665
--- /dev/null
+++ b/aws-lambda-java-runtime-interface-client/module-info.java
@@ -0,0 +1,16 @@
+module aws.lambda.runtime.client {
+
+ exports com.amazonaws.services.lambda.crac;
+ exports com.amazonaws.services.lambda.runtime.api.client;
+ exports com.amazonaws.services.lambda.runtime.api.client.api;
+ exports com.amazonaws.services.lambda.runtime.api.client.logging;
+ exports com.amazonaws.services.lambda.runtime.api.client.runtimeapi;
+ exports com.amazonaws.services.lambda.runtime.api.client.runtimeapi.converters;
+ exports com.amazonaws.services.lambda.runtime.api.client.runtimeapi.dto;
+ exports com.amazonaws.services.lambda.runtime.api.client.util;
+
+ requires transitive aws.lambda.core;
+ requires transitive aws.lambda.serialization;
+ requires jdk.unsupported;
+
+}
diff --git a/aws-lambda-java-runtime-interface-client/pom.xml b/aws-lambda-java-runtime-interface-client/pom.xml
index b5ea2721..f13875b7 100644
--- a/aws-lambda-java-runtime-interface-client/pom.xml
+++ b/aws-lambda-java-runtime-interface-client/pom.xml
@@ -265,6 +265,27 @@
+
+ org.moditect
+ moditect-maven-plugin
+ 1.0.0.Final
+
+
+ add-module-infos
+ package
+
+ add-module-info
+
+
+ true
+
+ ./module-info.java
+
+
+
+
+
+
diff --git a/aws-lambda-java-serialization/module-info.java b/aws-lambda-java-serialization/module-info.java
new file mode 100644
index 00000000..74e83f8e
--- /dev/null
+++ b/aws-lambda-java-serialization/module-info.java
@@ -0,0 +1,18 @@
+module aws.lambda.serialization {
+
+ exports com.amazonaws.services.lambda.runtime.serialization;
+ exports com.amazonaws.services.lambda.runtime.serialization.events;
+ exports com.amazonaws.services.lambda.runtime.serialization.events.mixins;
+ exports com.amazonaws.services.lambda.runtime.serialization.events.modules;
+ exports com.amazonaws.services.lambda.runtime.serialization.events.serializers;
+ exports com.amazonaws.services.lambda.runtime.serialization.factories;
+ exports com.amazonaws.services.lambda.runtime.serialization.util;
+
+ requires transitive com.fasterxml.jackson.databind;
+ requires static com.fasterxml.jackson.datatype.joda;
+ requires static org.json;
+ requires static com.google.gson;
+ requires static com.fasterxml.jackson.datatype.jsr310;
+ requires static com.fasterxml.jackson.datatype.jdk8;
+
+}
diff --git a/aws-lambda-java-serialization/pom.xml b/aws-lambda-java-serialization/pom.xml
index 07ccecc8..3b838ee4 100644
--- a/aws-lambda-java-serialization/pom.xml
+++ b/aws-lambda-java-serialization/pom.xml
@@ -266,6 +266,27 @@
-
-
+
+ org.moditect
+ moditect-maven-plugin
+ 1.0.0.Final
+
+
+ add-module-infos
+ package
+
+ add-module-info
+
+
+ true
+
+ ./module-info.java
+
+
+
+
+
+
+
+