168 lines
6.4 KiB
XML
168 lines
6.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>ru.copperside</groupId>
|
|
<artifactId>AuthServer</artifactId>
|
|
<version>1.0</version>
|
|
<packaging>jar</packaging>
|
|
<name>AuthServer</name>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.5.5</version>
|
|
<relativePath/>
|
|
</parent>
|
|
|
|
<properties>
|
|
<maven.compiler.source>25</maven.compiler.source>
|
|
<maven.compiler.target>25</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<!-- основные версии -->
|
|
<springdoc.version>2.8.14</springdoc.version>
|
|
<oracle.driver.version>23.4.0.24.05</oracle.driver.version>
|
|
<ojdbc.version>23.3.0.23.09</ojdbc.version>
|
|
<commons-lang3.version>3.18.0</commons-lang3.version>
|
|
<swagger-core-jakarta.version>2.2.39</swagger-core-jakarta.version>
|
|
<!-- плагины -->
|
|
<maven.compiler.plugin.version>3.11.0</maven.compiler.plugin.version>
|
|
<maven.enforcer.plugin.version>3.2.1</maven.enforcer.plugin.version>
|
|
</properties>
|
|
<!-- dependencyManagement -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang3.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
<artifactId>swagger-core-jakarta</artifactId>
|
|
<version>${swagger-core-jakarta.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- Spring Boot Web with Jetty -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Lombok -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Spring Data JDBC -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Oracle JDBC drivers (runtime) -->
|
|
<dependency>
|
|
<groupId>com.oracle.database.nls</groupId>
|
|
<artifactId>orai18n</artifactId>
|
|
<version>${ojdbc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.oracle.database.jdbc</groupId>
|
|
<artifactId>ojdbc11</artifactId>
|
|
<version>${ojdbc.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Swagger / springdoc -->
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
<version>${springdoc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!-- конфигурирование maven-compiler-plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven.compiler.plugin.version}</version>
|
|
<configuration>
|
|
<release>17</release>
|
|
<compilerArgs>
|
|
<arg>-parameters</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<!-- оставляем spring-boot-maven-plugin (версия берется от parent) -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Enforcer: базовые правила -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>${maven.enforcer.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce</id>
|
|
<goals><goal>enforce</goal></goals>
|
|
<configuration>
|
|
<rules>
|
|
<!-- Требуем JDK 17 -->
|
|
<requireJavaVersion>
|
|
<version>17</version>
|
|
</requireJavaVersion>
|
|
</rules>
|
|
<fail>true</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- (опционально) dependency plugin для быстрых проверок -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |