You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.8 KiB
129 lines
3.8 KiB
<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> |
|
<parent> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
<version>2.7.1</version> |
|
</parent> |
|
<groupId>vip.xumy.drools</groupId> |
|
<artifactId>xumy_drools</artifactId> |
|
<version>0.0.0</version> |
|
<name>drools</name> |
|
<description>xumy-drools</description> |
|
<packaging>jar</packaging> |
|
|
|
<properties> |
|
<java.version>17</java.version> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
|
|
<core.version>1.0.0</core.version> |
|
<log4j.version>1.2.17</log4j.version> |
|
<fastjson.version>1.2.46</fastjson.version> |
|
<druid.version>1.1.9</druid.version> |
|
<mybatis-plus.version>3.5.1</mybatis-plus.version> |
|
<mybatis.pagehelper.version>1.4.6</mybatis.pagehelper.version> |
|
<drools.version>8.44.0.Final</drools.version> |
|
<kie.version>7.74.1.Final</kie.version> |
|
</properties> |
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
<groupId>vip.xumy.core</groupId> |
|
<artifactId>xumy_core</artifactId> |
|
<version>${core.version}</version> |
|
</dependency> |
|
|
|
<!-- 代码修改之后可以实时生效,该模块在完整的打包环境下运行的时候会被禁用 --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-devtools</artifactId> |
|
<optional>true</optional> |
|
</dependency> |
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-web</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<exclusions> |
|
<!-- 单元测试不使用Junit4,使用Junit5 --> |
|
<exclusion> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>org.junit.vintage</groupId> |
|
<artifactId>junit-vintage-engine</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<!--junit 测试包--> |
|
<dependency> |
|
<groupId>org.junit.jupiter</groupId> |
|
<artifactId>junit-jupiter-api</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<!-- mysql驱动 --> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<!-- alibaba的druid数据库连接池 --> |
|
<dependency> |
|
<groupId>com.alibaba</groupId> |
|
<artifactId>druid-spring-boot-starter</artifactId> |
|
<version>${druid.version}</version> |
|
</dependency> |
|
|
|
<!-- mybatis plus--> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>mybatis-plus-boot-starter</artifactId> |
|
<version>${mybatis-plus.version}</version> |
|
</dependency> |
|
|
|
<!-- mybatis的pagehelper --> |
|
<dependency> |
|
<groupId>com.github.pagehelper</groupId> |
|
<artifactId>pagehelper-spring-boot-starter</artifactId> |
|
<version>${mybatis.pagehelper.version}</version> |
|
</dependency> |
|
|
|
<!--drools规则引擎--> |
|
<dependency> |
|
<groupId>org.drools</groupId> |
|
<artifactId>drools-mvel</artifactId> |
|
<version>${kie.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.drools</groupId> |
|
<artifactId>drools-decisiontables</artifactId> |
|
<version>${kie.version}</version> |
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
<!-- Package as an executable jar --> |
|
<build> |
|
<finalName>drools</finalName> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
<configuration> |
|
<executable>true</executable> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
</project> |