3 Star 4 Fork 0

王俊明/hulun-buir

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 20.18 KB
一键复制 编辑 原始数据 按行查看 历史
王俊明 提交于 2024-12-19 11:58 . 添加flowable学习记录
<?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>
<groupId>com.hulunbuir</groupId>
<artifactId>hulun-buir</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>hulun-buir</name>
<description>Clam project for Spring Boot</description>
<properties>
<!--当前工程中的所有模块,版本统一进行控制-->
<revision>1.1.0</revision>
<resource.delimiter>@</resource.delimiter>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.test.skip>true</maven.test.skip>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<!--[BRIEF, DEFAULT, VERBOSE]-->
<maven.plugin.validation>BRIEF</maven.plugin.validation>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<!--
spring-cloud 官网版本对应关系:
https://spring.io/projects/spring-cloud#learn
-->
<spring-cloud.version>2023.0.1</spring-cloud.version>
<spring-boot.version>3.2.4</spring-boot.version>
<!--
spring-cloud-alibaba:
官网:
https://sca.aliyun.com/
官网发布版本对应关系: https://sca.aliyun.com/docs/2023/overview/version-explain/
spring.io 对应官网地址: https://spring.io/projects/spring-cloud-alibaba#overview
-->
<spring-cloud-alibaba.version>2023.0.1.0</spring-cloud-alibaba.version>
<dubbo.version>3.2.12</dubbo.version>
<spring-security.version>6.3.1</spring-security.version>
<knife4j.version>4.5.0</knife4j.version>
<mysql.version>8.4.0</mysql.version>
<mybatis-plus.version>3.5.7</mybatis-plus.version>
<pagehelper.version>2.1.0</pagehelper.version>
<p6spy.version>3.9.1</p6spy.version>
<dynamic-datasource.version>4.3.1</dynamic-datasource.version>
<kryo.version>5.6.0</kryo.version>
<hutool.version>5.8.27</hutool.version>
<guava.version>33.1.0-jre</guava.version>
<protobuf.version>4.26.1</protobuf.version>
<jasypt.version>3.0.5</jasypt.version>
<jwt.version>0.12.5</jwt.version>
<easyexcel.version>4.0.3</easyexcel.version>
<!-- 此处需要单独引入,否则会启动工程时报错 -->
<slf4j.version>2.0.13</slf4j.version>
<snakeyaml.version>2.1</snakeyaml.version>
<jaxb.version>2.1</jaxb.version>
</properties>
<modules>
<module>hulunbuir-common</module>
<module>hulunbuir-redis</module>
<module>hulunbuir-security</module>
<module>hulunbuir-mybatis</module>
<module>hulunbuir-datasource</module>
<module>hulunbuir-sharding</module>
<module>hulunbuir-distributed</module>
<module>hulunbuir-admin</module>
<module>hulunbuir-evening</module>
<module>hulunbuir-study</module>
<module>hulunbuir-es8</module>
<module>hulunbuir-study-work</module>
<module>hulunbuir-study-druid</module>
<module>hulunbuir-study-flowable</module>
</modules>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- 添加读取bootstrap配置文件的依赖 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bootstrap</artifactId>
</dependency>
<!--高并发系统则选用 :
https://blog.csdn.net/weixin_49456013/article/details/110877262
https://blog.csdn.net/qq_39865635/article/details/90375762
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
<exclusions>
<exclusion>
<artifactId>undertow-websockets-jsr</artifactId>
<groupId>io.undertow</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<!-- 配置类处理器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.hulunbuir.common</groupId>
<artifactId>hulunbuir-common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.hulunbuir.distributed</groupId>
<artifactId>hulunbuir-distributed</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.hulunbuir.redis</groupId>
<artifactId>hulunbuir-redis</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.hulunbuir.mybatis</groupId>
<artifactId>hulunbuir-mybatis</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.hulunbuir.datasource</groupId>
<artifactId>hulunbuir-datasource</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.hulunbuir.sharding</groupId>
<artifactId>hulunbuir-sharding</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.hulunbuir.security</groupId>
<artifactId>hulunbuir-security</artifactId>
<version>${revision}</version>
</dependency>
<!-- 以上为本工程的子模块引用 -->
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>${kryo.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>${jasypt.version}</version>
</dependency>
<!-- jwt 开始-->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>${jwt.version}</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>${jwt.version}</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>${jwt.version}</version>
</dependency>
<!-- jwt 结束-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${easyexcel.version}</version>
</dependency>
<!--mybatis start -->
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>${mysql.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
<version>${dynamic-datasource.version}</version>
</dependency>
<!--mybatis end -->
<!-- 基础导入 start -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-dependencies</artifactId>
<version>${knife4j.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-bom</artifactId>
<version>${spring-security.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-bom</artifactId>
<version>${dubbo.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>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.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 基础导入 end -->
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>nexus</id>
<name>nexus</name>
<!--仓库地址 仅仅是 需要拉取jar包, 这个即可使用 -->
<url>http://127.0.0.1:18081/repository/maven-central/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<distributionManagement>
<!-- 如果需要上传jar包, 需要配置此标签 -->
<repository>
<!-- 上传稳定版本的jar包 -->
<id>releases</id>
<url>http://127.0.0.1:18081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<!--上传快照-->
<id>snapshots</id>
<url>http://127.0.0.1:18081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<pluginRepositories>
<pluginRepository>
<!--插件地址-->
<id>nexus</id>
<url>http://127.0.0.1:8181/repository/maven-public/</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>${project.artifactId}</finalName>
<pluginManagement>
<plugins>
<!--maven-compiler-plugin插件可以指定项目源码的jdk版本,编译后的jdk版本,以及编码。-->
<!-- 参考: https://blog.csdn.net/liupeifeng3514/article/details/80236077 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<testSource>${java.version}</testSource>
<testTarget>${java.version}</testTarget>
<encoding>UTF-8</encoding>
<compilerArgs>
<compilerArg>
-parameters
</compilerArg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!--maven-source-plugin 这个插件专门负责将项目源文件打成包的-->
<!--参考: https://blog.csdn.net/liaowenxiong/article/details/124879376 -->
<!--提供项目自动将源码打包并发布的功能, maven会自动将source install到repository -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<!-- 执行生命周期阶段 verify 时会调用该插件的目标 jar-no-fork,该目标会将 jar 文件安装到本地的 Maven 仓库中。 -->
<phase>verify</phase>
<goals>
<!--在生命周期后执行绑定的source插件的goals -->
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<!-- 生成的jar中,包含pom.xml和pom.properties这两个文件 -->
<addMavenDescriptor>true</addMavenDescriptor>
<!-- 生成MANIFEST.MF的设置 -->
<manifest>
<!--这个属性特别关键,如果没有这个属性,有时候我们引用的包maven库
下面可能会有多个包,并且只有一个是正确的,其余的可能是带时间戳的,
此时会在classpath下面把那个带时间戳的给添加上去,
然后我们 在依赖打包的时候,打的是正确的,所以两头会对不上,报错。 -->
<useUniqueVersions>false</useUniqueVersions>
<!-- 为依赖包添加路径, 这些路径会写在MANIFEST文件的Class-Path下 -->
<addClasspath>true</addClasspath>
<!-- 这个jar所依赖的jar包添加classPath的时候的前缀,如果这个jar本身
和依赖包在同一级目录,则不需要添加 -->
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
<!--springboot启动类的jar包-->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<!--
配置参考:
https://blog.csdn.net/tian830937/article/details/119525273
-->
<configuration>
<addResources>true</addResources>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/qjyn/hulun-buir.git
git@gitee.com:qjyn/hulun-buir.git
qjyn
hulun-buir
hulun-buir
master-feauther-v5.0.0

搜索帮助