|
|
@@ -21,9 +21,10 @@ |
|
|
|
</parent> |
|
|
|
|
|
|
|
<properties> |
|
|
|
<java.version>21</java.version> |
|
|
|
<java.version>17</java.version> |
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
|
|
<start-class>com.example.webapi.WebApiApplication</start-class> |
|
|
|
</properties> |
|
|
|
|
|
|
|
<dependencies> |
|
|
@@ -101,8 +102,42 @@ |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
<pluginManagement> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>build-info</id> |
|
|
|
<goals> |
|
|
|
<goal>build-info</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
<execution> |
|
|
|
<id>repackage</id> |
|
|
|
<goals> |
|
|
|
<goal>repackage</goal> |
|
|
|
</goals> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
<configuration> |
|
|
|
<mainClass>${start-class}</mainClass> |
|
|
|
<!-- |
|
|
|
Enable the line below to have remote debugging of your application on port 5005 |
|
|
|
<jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments> |
|
|
|
--> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</pluginManagement> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|