Skip to content

Commit

Permalink
remove spring boot structure from the jar
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasile-ch committed Dec 21, 2024
1 parent 2496f54 commit 1b3c0fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
<configuration>
<!-- <skip>true</skip> -->
<mainClass>uk.gov.companieshouse.servicesdashboardapi.ServicesDashboardApiApplication</mainClass>
<layout>NONE</layout> <!-- Use plain JAR layout (suitable for AWS lambda, which expects calsses to be in /
instead of nested in the Spring boot structure: BOOT-INF/)-->
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 1b3c0fb

Please sign in to comment.