99 lines
3.4 KiB
XML
99 lines
3.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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
|
||
|
|
<parent>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
|
<version>3.3.5</version>
|
||
|
|
<relativePath/>
|
||
|
|
</parent>
|
||
|
|
|
||
|
|
<groupId>com.devassistant</groupId>
|
||
|
|
<artifactId>dev-assistant-spring-boot-starter</artifactId>
|
||
|
|
<version>1.0.0</version>
|
||
|
|
<packaging>jar</packaging>
|
||
|
|
<name>dev-assistant-spring-boot-starter</name>
|
||
|
|
<description>Spring Boot Starter for Dev-Assistant AI integration — MDC filters, JSON logging, and health checks</description>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<java.version>21</java.version>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<distributionManagement>
|
||
|
|
<repository>
|
||
|
|
<id>internal-repo</id>
|
||
|
|
<url>http://192.168.31.2:8081/repository/maven-releases/</url>
|
||
|
|
</repository>
|
||
|
|
<snapshotRepository>
|
||
|
|
<id>internal-repo</id>
|
||
|
|
<url>http://192.168.31.2:8081/repository/maven-snapshots/</url>
|
||
|
|
</snapshotRepository>
|
||
|
|
</distributionManagement>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<!-- Core Spring Boot -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Optional: Spring Security (for MdcUserFilter) -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Optional: Actuator (for HealthIndicator) -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- JSON structured logging -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.logstash.logback</groupId>
|
||
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
||
|
|
<version>7.4</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Configuration metadata -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- Test -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<source>${java.version}</source>
|
||
|
|
<target>${java.version}</target>
|
||
|
|
<compilerArgs>
|
||
|
|
<arg>--enable-preview</arg>
|
||
|
|
</compilerArgs>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
</project>
|