加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 13.28 KB
一键复制 编辑 原始数据 按行查看 历史
herowjun 提交于 2024-11-03 12:17 . elasticsearch
<?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>
<groupId>com.nexfly</groupId>
<artifactId>nexfly</artifactId>
<version>${revision}</version>
<name>nexfly</name>
<description>nexfly project for Spring Boot</description>
<properties>
<revision>0.0.2-SNAPSHOT</revision>
<spring-boot.version>3.3.2</spring-boot.version>
<spring.cloud.version>2023.0.3</spring.cloud.version>
<spring-cloud-alibaba.version>2023.0.1.2</spring-cloud-alibaba.version>
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
<mybatis-spring-boot-starter.version>3.0.3</mybatis-spring-boot-starter.version>
<pagehelper-spring-boot-starter.version>2.0.0</pagehelper-spring-boot-starter.version>
<!-- Compiler settings properties -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<commons.lang.version>2.6</commons.lang.version>
<commons-io.version>2.16.0</commons-io.version>
<easy-captcha.version>1.6.2</easy-captcha.version>
<reflections.version>0.9.11</reflections.version>
<jsoup.version>1.15.3</jsoup.version>
<jjwt.version>0.11.2</jjwt.version>
<maven-flatten-version>1.1.0</maven-flatten-version>
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
<docker.plugin.version>0.45.1</docker.plugin.version>
</properties>
<scm>
<url>git@gitee.com:xjd2020/nexfly.git</url>
<connection>scm:git@gitee.com:xjd2020/nexfly.git</connection>
<developerConnection>scm:git@gitee.com:xjd2020/nexfly.git</developerConnection>
<tag>nexfly-${revision}</tag>
</scm>
<developers>
<developer>
<id>nexfly</id>
<name>nexfly</name>
<url>http://www.xjd2020.com</url>
<email>wjun_java@163.com</email>
</developer>
</developers>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://gitee.com/xjd2020/nexfly/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<issueManagement>
<system>gitee</system>
<url>https://gitee.com/xjd2020/nexfly/issues</url>
</issueManagement>
<modules>
<module>nexfly-gateway</module>
<module>nexfly-auth</module>
<module>nexfly-common</module>
<module>nexfly-service-api</module>
<module>nexfly-gen</module>
<module>nexfly-system</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>${spring-ai.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis-spring-boot-starter.version}</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper-spring-boot-starter.version}</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>${jjwt.version}</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>${jjwt.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>${jjwt.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.whvcse</groupId>
<artifactId>easy-captcha</artifactId>
<version>${easy-captcha.version}</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>cache-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>mybatis-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>auth-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>cloud-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>wechat-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>email-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>ai-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>oss-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>rocketmq-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.nexfly</groupId>
<artifactId>nexfly-system-api</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<build>
<finalName>${project.name}-${revision}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<configuration>
<finalName>${project.build.finalName}</finalName>
<layers>
<enabled>true</enabled>
</layers>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker.plugin.version}</version>
<configuration>
<images>
<image>
<name>wangjun/${project.name}:${project.version}</name>
<build>
<dockerFile>${project.basedir}/Dockerfile</dockerFile>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<compilerVersion>${maven.compiler.source}</compilerVersion>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArgs>
<compilerArg>-parameters</compilerArg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${maven-flatten-version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<pomElements>
<dependencies>expand</dependencies>
</pomElements>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
<properties>
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>dev</profiles.active>
<nacos.username>nacos</nacos.username>
<nacos.password>nacos</nacos.password>
</properties>
<activation>
<!-- 默认环境 -->
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化