Create a Lambda Function with a custom JAR

 

To add the local jar to local maven,  you  can use this command:

mvn install:install-file -Dfile="C:/Users/NROLL97/Main.jar" -DgroupId=keydoxWeb -DartifactId=keydoxWebCodec -Dversion=1.0 -Dpackaging=jar

 

Then added it as a dependency like this:

 <dependency>

    <groupId>keydoxWeb</groupId>

    <artifactId>keydoxWebCodec</artifactId>

    <version>1.0</version>

  </dependency>

And then it worked!

Comments

Popular posts from this blog

Building and Deploying a Fargate Container that runs Python and performs CloudWatch Logging

Asynchronous DynamoDB Queries with Java Using GSIs and the AWS SDK v2 Enhanced Async Client

Automate Your API Gateway Setup with Boto3: Rendering HTML from Lambda