title: Using maven to create python deployment package for aws lambda
body: <p>I am currently working on deploying python package on aws lambda. Using virtualenv and zip tools, I can create a lambda zip file easily to be uploaded to aws and run it. I use the following blog to create the package: <a href="https://joarleymoraes.com/hassle-free-python-lambda-deployment/" rel="nofollow noreferrer">https://joarleymoraes.com/hassle-free-python-lambda-deployment/</a>.</p>
  
  <p>However, I need to use a build tool to integrate my code with Jenkins in my company. We use maven for building and I need to follow the same.</p>
  
  <p>I looked at <a href="http://www.mojohaus.org/exec-maven-plugin/usage.html" rel="nofollow noreferrer">maven-exec-plugin</a> to see how I can follow the steps in the blog to use virtual env and create a zip file. However, I am not able to follow the steps mentioned in the maven tutorial.</p>
  
  <p>Has anyone come across the same problem? If so, how have you solved it? As in, how have you configured your pom.xml to create a deployment package for python aws lambdas?</p>
  
  <p>Quick help will be highly appreciated. Thanks</p>