I need to copy the content of the example folder under : src/main/resources/example to the root of the generated jar file by maven
The problem seems to be with spring-boot-maven-plugin which generates this under BOOT-INF folder inside the jar.
<resources>
    <resource>
        <targetPath>example</targetPath>                           
        <directory>${basedir}/src/main/resource/example</directory>
    </resource>
</resource>
I expect the content under the example folder to be compiled to jar's root Actual: Actual behavior
 
     
     
    