fix for tests not working

added required jetty dependencies through spring-boot-starter-jetty so this is the only dependency with scope=testing and transitive dependencies (core jetty libraries) aren't marked as such

mvn -P jetty spring-boot:run seems to work
This commit is contained in:
Matteo Steccolini
2023-12-22 11:49:14 +01:00
parent 142191b2bd
commit bf683478bc

View File

@@ -354,6 +354,13 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
<version>${spring_boot_version}</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>