I have a very standard Spring Boot application (with a application.properties
properties file located in standard /src/main/resources
folder) which I\'
The solution proposed by Lorena Salamanca Spring Boot + Elastic Beanstalk .ebextensions in JAR not works for me... :\
My solution works with Spring 1.5.3.RELEASE
Add .ebextensions in the root of your project and add this snippet at the end in the plugins section:
org.apache.maven.plugins
maven-antrun-plugin
1.6
prepare
package
run
This plugin use ant to unzip the final jar generated by spring boot, copy the .ebextensions in the root and zip (jar) again with the same name. Tested and working in production :)