created a separated tomcat profile to run spring-boot with default server

This commit is contained in:
Matteo Steccolini
2023-12-21 16:52:16 +01:00
parent a2a7e7681a
commit 36598c2e7e

15
pom.xml
View File

@@ -560,6 +560,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring_boot_version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
@@ -586,6 +592,15 @@
<version>${spring_boot_version}</version>
</dependency>
</dependencies>
</profile><profile>
<id>tomcat</id>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring_boot_version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>ossrh-repo</id>