Skip to content

Commit

Permalink
Update pom.xml
Browse files Browse the repository at this point in the history
Added the missing declaration of the Main-Class metadata property from the MANIFEST.MF file.
  • Loading branch information
nhkhai committed May 1, 2024
1 parent 4011482 commit 7cf7bc1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<description>Smart Inventory System</description>
<properties>
<java.version>21</java.version>
<start-class>sg.com.smartinventory.SmartInventoryApplication</start-class>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -96,6 +97,10 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>sg.com.smartinventory.SmartInventoryApplication</mainClass>
<layout>JAR</layout>
</configuration>
<!-- <configuration>
<image>
<builder>paketobuildpacks/builder-jammy-base:latest</builder>
Expand Down

0 comments on commit 7cf7bc1

Please sign in to comment.