244 lines
9.4 KiB
XML
244 lines
9.4 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>sk-module-data</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>sk-module-data-biz</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
|
|
<description>
|
|
data 模块下, 放置自己的业务。
|
|
</description>
|
|
|
|
<dependencies>
|
|
<!-- Spring Cloud 基础 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-env</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 依赖服务 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>sk-module-data-api</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-module-infra-api</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!-- 业务组件 -->
|
|
<!--<dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-biz-data-permission</artifactId>-->
|
|
<!--</dependency>-->
|
|
<!--<dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>-->
|
|
<!--</dependency>-->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-biz-ip</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Web 相关 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- DB 相关 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-mybatis</artifactId>
|
|
</dependency>
|
|
|
|
<!--<dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-redis</artifactId>-->
|
|
<!--</dependency>-->
|
|
|
|
<!-- RPC 远程调用相关 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-rpc</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Registry 注册中心相关 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Config 配置中心相关 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Job 定时任务相关 -->
|
|
<!--<dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-job</artifactId>-->
|
|
<!--</dependency>-->
|
|
|
|
<!-- 消息队列相关 -->
|
|
<!--<dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-mq</artifactId>-->
|
|
<!--</dependency>-->
|
|
|
|
<!-- 服务保障相关 TODO 芋艿:暂时去掉 -->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-protection</artifactId>-->
|
|
<!-- </dependency>-->
|
|
|
|
<!-- Test 测试相关 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- 工具类相关 -->
|
|
<!--<dependency>-->
|
|
<!-- <groupId>cn.iocoder.cloud</groupId>-->
|
|
<!-- <artifactId>yudao-spring-boot-starter-excel</artifactId>-->
|
|
<!--</dependency>-->
|
|
|
|
<!--<dependency>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-starter-mail</artifactId>-->
|
|
<!--</dependency>-->
|
|
|
|
<!-- 监控相关 -->
|
|
<dependency>
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
<artifactId>yudao-spring-boot-starter-monitor</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 三方云服务相关 -->
|
|
<dependency>
|
|
<groupId>com.xingyuv</groupId>
|
|
<artifactId>spring-boot-starter-justauth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.binarywang</groupId>
|
|
<artifactId>wx-java-mp-spring-boot-starter</artifactId> <!-- 微信登录(公众号) -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.binarywang</groupId>
|
|
<artifactId>wx-java-miniapp-spring-boot-starter</artifactId> <!-- 微信登录(小程序) -->
|
|
</dependency>
|
|
|
|
<!--<dependency>-->
|
|
<!-- <groupId>com.xingyuv</groupId>-->
|
|
<!-- <artifactId>spring-boot-starter-captcha-plus</artifactId> <!– 验证码,一般用于登录使用 –>-->
|
|
<!--</dependency>-->
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<!-- 打包时去除依赖包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</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>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>*.**</exclude>
|
|
<exclude>*/*.xml</exclude>
|
|
</excludes>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
<mainClass>cn.iocoder.yudao.module.system.SystemServerApplication</mainClass>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Class-Path>./resources/</Class-Path>
|
|
</manifestEntries>
|
|
</archive>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<!--
|
|
复制配置文件、以及拷贝第三方依赖文件到指定目录
|
|
当依赖包有变化时需使用下面配置,重新生成最新的依赖包
|
|
-->
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<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>*.**</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<outputDirectory>${project.build.directory}/resources</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>lib</outputDirectory>
|
|
<excludeTransitive>false</excludeTransitive>
|
|
<stripVersion>false</stripVersion>
|
|
<includeScope>runtime</includeScope>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>-->
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|