Files
Bruno GaoandQwen-Coder 1849110f3f feat: implement batch 1 skeleton for Java service template
- Create parent POM with multi-module structure
- Set up four modules: tmpl-domain, tmpl-application, tmpl-infrastructure, tmpl-api
- Configure Spring Boot 3.4.1 with Java 21
- Add application configurations for dev/staging/prod
- Set up logging with structured JSON output
- Configure database with PostgreSQL and Flyway
- Add security configuration with minimal setup
- Include docker-compose for local development
- Add all necessary build and dependency management plugins

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-12 12:51:20 +08:00

33 lines
1.1 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>com.ljwx.tmpl</groupId>
<artifactId>java-service-template</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<artifactId>tmpl-domain</artifactId>
<name>tmpl-domain</name>
<description>领域层 - 纯 Java,零框架依赖</description>
<dependencies>
<!-- Jakarta Validation 注解(仅注解,不引入运行时校验器) -->
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- 测试 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>