I am working on AWS java lambda functions. I am using eclipse for development and uploading maven lambda functions to console directly from eclipse("Amazon Web Services-> Upload function to AWS lambda").
Now I am trying to create Layer functions so I have I made changes in pom.xml to exclude few JARs from package as I moved them to Lambda Layer. So if I create normal maven package using Build options in eclipse then target JAR is getting created and excluded JARs are not part of that package.
But when I am uploading lambda on console directly from eclipse("Amazon Web Services-> Upload function to AWS lambda"), then package is not excluding those JARs. It is not considering exclude configurations which I mentioned in pom.xml.
How can I exclude those JAR when I use AWS upload option?
I am working on AWS java lambda functions. I am using eclipse for development and uploading maven lambda functions to console directly from eclipse("Amazon Web Services-> Upload function to AWS lambda").
Now I am trying to create Layer functions so I have I made changes in pom.xml to exclude few JARs from package as I moved them to Lambda Layer. So if I create normal maven package using Build options in eclipse then target JAR is getting created and excluded JARs are not part of that package.
But when I am uploading lambda on console directly from eclipse("Amazon Web Services-> Upload function to AWS lambda"), then package is not excluding those JARs. It is not considering exclude configurations which I mentioned in pom.xml.
How can I exclude those JAR when I use AWS upload option?
Thanks Haritha