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

Deploying a Java web application to Amazon ECS

Creating a Publish/Subscription Spring Boot Application

How to play an Audio file located in an Amazon S3 bucket in your web page