I'm trying to add an .ebextensions folder to the root level of my jar to be deployed to AWS elastic beanstalk.
My folder structure is:
main:
--src
--resources
--.ebextensions
When I build the jar my .ebextensions
gets placed on the classpath of my target and therefore is not picked up by Elastic Beanstalk on deploy.
Pom.xml
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<addResources>false</addResources>
</configuration>
</plugin>
How can I build so that ebextensions is picked up by ELB?