<?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>jeecg-module-system</artifactId>
|
|
<groupId>org.jeecgframework.boot</groupId>
|
|
<version>3.7.2</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>jeecg-system-start</artifactId>
|
|
|
|
<dependencies>
|
|
<!-- SYSTEM 系统管理模块 -->
|
|
<dependency>
|
|
<groupId>org.jeecgframework.boot</groupId>
|
|
<artifactId>jeecg-system-biz</artifactId>
|
|
<version>${jeecgboot.version}</version>
|
|
</dependency>
|
|
<!-- DEMO 示例模块 -->
|
|
<dependency>
|
|
<groupId>org.jeecgframework.boot</groupId>
|
|
<artifactId>jeecg-module-demo</artifactId>
|
|
<version>${jeecgboot.version}</version>
|
|
</dependency>
|
|
<!-- 小程序接口模块 -->
|
|
<dependency>
|
|
<groupId>org.jeecgframework.boot</groupId>
|
|
<artifactId>jeecg-module-miniapp</artifactId>
|
|
<version>${jeecgboot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- flyway 数据库自动升级 -->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<!--整体打包-->
|
|
<!-- <build>-->
|
|
<!-- <plugins>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
<!-- <version>2.7.15</version>-->
|
|
<!-- <configuration>-->
|
|
<!-- <includeSystemScope>true</includeSystemScope>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
<!-- </plugins>-->
|
|
<!-- </build>-->
|
|
|
|
<!-- 依赖分离打包 -->
|
|
<build>
|
|
<plugins>
|
|
<!-- Spring Boot Maven Plugin -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<layout>ZIP</layout>
|
|
<includes>
|
|
<include>
|
|
<groupId>nothing</groupId>
|
|
<artifactId>nothing</artifactId>
|
|
</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- 输出所有依赖至lib 文件夹,第一次使用,后续可递增即可 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- 输出目录为 lib 文件夹 -->
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
<!-- 只复制运行时依赖 -->
|
|
<!-- <scope>runtime</scope>-->
|
|
<!-- 不覆盖现有的文件 -->
|
|
<overWriteReleases>false</overWriteReleases>
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|