加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 5.44 KB
一键复制 编辑 原始数据 按行查看 历史
dingwen 提交于 2024-08-29 00:20 . test(test push):
<?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>
<packaging>pom</packaging>
<!--模块-->
<modules>
<!--网关-->
<module>treasure-gateway</module>
<!--公共模块-->
<module>treasure-common</module>
<!--定时任务 quartz 实现-->
<module>treasure-task-quartz</module>
<!--监控模块-->
<module>treasure-admin</module>
<!--业务场景模拟-->
<module>treasure-business</module>
<!--后端文件生成-->
<module>treasure-file-generate</module>
<!--后台管理模块-->
<module>treasure-manage</module>
<!--认证模块-->
<module>treasure-auth</module>
<!--日志模块 mongodb 实现-->
<module>treasure-log</module>
<!--文件服务-->
<module>treasure-file</module>
<!--代码生成-->
<module>treasure-code-generate</module>
<!--慢 SQL -->
<module>treasure-slow-sql</module>
<module>treasure-xxl-job-admin</module>
</modules>
<!--spring boot 父工程-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.2.RELEASE</version>
<!--默认从./pom.xml获取,配置空则始终从远程仓库中获取-->
<relativePath/>
</parent>
<groupId>com.dingwen</groupId>
<artifactId>treasure</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>treasure</name>
<description>模块聚合,依赖管理</description>
<developers>
<!--开发者信息-->
<developer>
<id>1</id>
<name>dingwen</name>
<email>dingwen0314@163.com</email>
</developer>
</developers>
<!--版本号-->
<properties>
<java.version>1.8</java.version>
<spring-javaformat.version>0.0.12</spring-javaformat.version>
<maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
<easyexcel.version>3.1.1</easyexcel.version>
<!--覆盖父亲工程版本-->
<lombok.version>1.18.24</lombok.version>
</properties>
<dependencyManagement>
<dependencies>
<!--treasure 公共版本定义-->
<dependency>
<groupId>com.dingwen</groupId>
<artifactId>common-pom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring-javaformat.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/java</outputDirectory>
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>${querydsl.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<profiles>
<!-- 本地开发环境 -->
<profile>
<id>dev</id>
<properties>
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>dev</profiles.active>
<!--nacos 地址本机-->
<nacos.server.addr>192.168.196.23:8848</nacos.server.addr>
<nacos.namespace>treasure</nacos.namespace>
<nacos.username>nacos</nacos.username>
<nacos.password>nacos2024</nacos.password>
<nacos.group>treasure</nacos.group>
</properties>
<activation>
<!-- 默认环境 -->
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化