Добавление сборки образа через плагин spring-boot-maven-plugin

This commit is contained in:
Struchkov Mark 2022-10-17 15:49:35 +03:00
parent 7f280b7a1e
commit 0283e9e900

View File

@ -5,13 +5,13 @@
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.4</version> <version>2.7.3</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>dev.struchkov.example</groupId> <groupId>dev.struchkov.example</groupId>
<artifactId>spring-boot-docker</artifactId> <artifactId>spring-boot-docker</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.2</version>
<properties> <properties>
<java.version>17</java.version> <java.version>17</java.version>
@ -69,6 +69,7 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<imageName>upagge/spring-boot-docker:maven-plugin</imageName>
<excludes> <excludes>
<exclude> <exclude>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>