aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 179 forks source link

AWS upload function not considering pom.xml exclude configurations in eclipse #170

Open harithathammineni opened 4 years ago

harithathammineni commented 4 years ago

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

hunterwerlla commented 4 years ago

We do not currently support this as our Lambda support makes assumptions that are not compatible with layers