263 lines
9.6 KiB
XML
263 lines
9.6 KiB
XML
<?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">
|
|
<parent>
|
|
<artifactId>czlis</artifactId>
|
|
<groupId>com.czlis</groupId>
|
|
<version>8.0.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>lis-system</artifactId>
|
|
|
|
<description>
|
|
system系统模块
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<!-- spring-boot-devtools -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
</dependency>
|
|
|
|
|
|
<!-- 通用工具-->
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>lis-common</artifactId>
|
|
</dependency>
|
|
|
|
<!--lis工作站-->
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>liswork</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 门诊采血-->
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>mzcx</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 住院采血-->
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>zycx</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 住院报告查询-->
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>zybgcx</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>transitPF</artifactId>
|
|
</dependency>
|
|
|
|
<!--定时任务-->
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>lis-quartz</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.czlis</groupId>
|
|
<artifactId>lisresources</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot Web容器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot 拦截器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 阿里数据库连接池 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 验证码 -->
|
|
<dependency>
|
|
<groupId>pro.fessional</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>servlet-api</artifactId>
|
|
<groupId>javax.servlet</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 获取系统信息 -->
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.com.kingbase</groupId>
|
|
<artifactId>kingbase8</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.dameng</groupId>
|
|
<artifactId>DmJdbcDriver8</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.jsqlparser</groupId>
|
|
<artifactId>jsqlparser</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<!--打包时去除第三方依赖-->
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>2.5.15</version>
|
|
<configuration>
|
|
<layout>ZIP</layout>
|
|
<includes>
|
|
<include>
|
|
<groupId>non-exists</groupId>
|
|
<artifactId>non-exists</artifactId>
|
|
</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
<configuration>
|
|
<!-- 不打包资源文件(配置文件和依赖包分开) -->
|
|
<excludes>
|
|
<exclude>*.yml</exclude>
|
|
<include>*.xml</include>
|
|
<exclude>*.properties</exclude>
|
|
<exclude>static/**</exclude>
|
|
</excludes>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<!-- MANIFEST.MF 中 Class-Path 加入前缀 -->
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
<!-- jar包不包含唯一版本标识 -->
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
<!--指定入口类 -->
|
|
<mainClass>com.czlis.system.RuoYiApplication</mainClass>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<!--MANIFEST.MF 中 Class-Path 加入资源文件目录 -->
|
|
<Class-Path>
|
|
./config/
|
|
lis-common-8.0.0.jar
|
|
lis-interfaceCommon-8.0.0.jar
|
|
lis-quartz-8.0.0.jar
|
|
liswork-8.0.0.jar
|
|
mzcx-8.0.0.jar
|
|
zybgcx-8.0.0.jar
|
|
zycx-8.0.0.jar
|
|
lisresources-8.0.0.jar
|
|
transitPF-8.0.0.jar
|
|
</Class-Path>
|
|
</manifestEntries>
|
|
</archive>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- 该插件的作用是用于复制依赖的jar包到指定的文件夹里 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/lib/</outputDirectory>
|
|
<excludeGroupIds>com.czlis</excludeGroupIds>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!--打包自定义jar包-->
|
|
<execution>
|
|
<id>copy-custom-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
<includeGroupIds>com.czlis</includeGroupIds>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- 该插件的作用是用于复制指定的文件 -->
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<executions>
|
|
<execution> <!-- 复制配置文件 -->
|
|
<id>copy-resources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>*.yml</include>
|
|
<include>*.xml</include>
|
|
<include>*.properties</include>
|
|
<include>static/**</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<outputDirectory>${project.build.directory}/config</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>${project.artifactId}</finalName>
|
|
</build>
|
|
|
|
</project> |