Add fat-jar build configuration in pom.xml

This commit is contained in:
maksim 2026-02-24 18:37:08 +03:00
parent 950bc5b1d5
commit 868e98d65d
2 changed files with 24 additions and 0 deletions

20
pom.xml
View File

@ -20,6 +20,26 @@
<version>3.5.5</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<addResources>true</addResources>
<layout>JAR</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>

4
stuff.md Normal file
View File

@ -0,0 +1,4 @@
Command to build fat jar:
```bash
mvn clean package spring-boot:repackage
```