3 Star 52 Fork 20

唛盟开源/智慧协同办公-唛盟oa后端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 8.93 KB
一键复制 编辑 原始数据 按行查看 历史
Admin 提交于 2024-07-09 16:04 . 3.0.0-RELEASE
<?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>com.oa</groupId>
<artifactId>oa-backend</artifactId>
<packaging>pom</packaging>
<name>oa-backend 智慧办公平台</name>
<description>智慧办公平台</description>
<version>${revision}</version>
<properties>
<easyexcel.version>2.1.6</easyexcel.version>
<revision>3.0.0-RELEASE</revision>
<mdp.version>${revision}</mdp.version>
<lombok.version>1.18.30</lombok.version>
<spring-boot.version>2.6.11</spring-boot.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<!-- Maven 相关 -->
<java.version>1.8</java.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<spring-boot-maven-plugin.version>2.3.5.RELEASE</spring-boot-maven-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<commons-fileupload.version>1.3</commons-fileupload.version>
<poi-ooxml.version>4.1.2</poi-ooxml.version>
<poi.version>4.1.2</poi.version>
<poi-ooxml-schemas.version>4.1.2</poi-ooxml-schemas.version>
</properties>
<modules>
<module>oa</module>
<module>oa-bootstrap</module>
<module>oa-cloud-bootstrap</module>
</modules>
<dependencies>
<dependency>
<groupId>com.mdp</groupId>
<artifactId>mdp-sensitive-word</artifactId>
</dependency>
<dependency>
<groupId>com.mdp</groupId>
<artifactId>mdp-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.mdp</groupId>
<artifactId>mdp-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.mdp</groupId>
<artifactId>mdp-dependencies</artifactId>
<version>${mdp.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.oa</groupId>
<artifactId>oa</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.oa</groupId>
<artifactId>oa-bootstrap</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.oa</groupId>
<artifactId>oa-cloud-bootstrap</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${easyexcel.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<distributionManagement>
<repository>
<id>nexus</id>
<name>User Project Release</name>
<url>https://www.qingqinkj.com/nexus/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>nexus</id>
<name>User Project SNAPSHOTS</name>
<url>https://www.qingqinkj.com/nexus/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<pluginManagement>
<plugins>
<!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
<!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<!-- maven-compiler-plugin 插件,解决 spring-boot-configuration-processor + Lombok + MapStruct 组合 -->
<!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!--spring boot 3.0前的必须指定版本,否则打包出错 -->
<version>${spring-boot-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- 统一 revision 版本 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<updatePomFile>true</updatePomFile>
</configuration>
<executions>
<execution>
<goals>
<goal>flatten</goal>
</goals>
<id>flatten</id>
<phase>process-resources</phase>
</execution>
<execution>
<goals>
<goal>clean</goal>
</goals>
<id>flatten.clean</id>
<phase>clean</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.json</include>
<include>**/*.ftl</include>
</includes>
</resource>
</resources>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/maimengcloud/oa-backend.git
git@gitee.com:maimengcloud/oa-backend.git
maimengcloud
oa-backend
智慧协同办公-唛盟oa后端
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385