mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
142 lines
4.5 KiB
XML
142 lines
4.5 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>youlai-mall</artifactId>
|
||
<groupId>com.youlai</groupId>
|
||
<version>2.1.4</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<artifactId>youlai-auth</artifactId>
|
||
|
||
<properties>
|
||
<!-- K8S属性配置(可忽略) -->
|
||
<service.port>8000</service.port>
|
||
<service.nodeport>32005</service.nodeport>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
<!--Spring Cloud & Alibaba -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 注册中心 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 配置中心 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
</dependency>
|
||
|
||
<!-- OAuth2 认证服务器-->
|
||
<dependency>
|
||
<groupId>org.springframework.security.oauth.boot</groupId>
|
||
<artifactId>spring-security-oauth2-autoconfigure</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.security</groupId>
|
||
<artifactId>spring-security-oauth2-jose</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>ums-api</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>system-api</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>common-web</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>common-core</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>common-redis</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.github.binarywang</groupId>
|
||
<artifactId>weixin-java-miniapp</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Api文档 -->
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>knife4j-micro-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>common-sms</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.youlai</groupId>
|
||
<artifactId>common-mybatis</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
|
||
<resources>
|
||
<!-- 排除 maven 对 keystore.jks 的过滤处理,导致密钥库文件编码格式被转换出现问题:keytool error: java.io.IOException: Invalid keystore format -->
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>true</filtering>
|
||
<excludes>
|
||
<exclude>keystore.jks</exclude>
|
||
</excludes>
|
||
</resource>
|
||
<!-- 下面这段缺少则keystore.jks打包时不会生成到jar包里 -->
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>false</filtering>
|
||
<includes>
|
||
<include>keystore.jks</include>
|
||
</includes>
|
||
</resource>
|
||
</resources>
|
||
</build>
|
||
|
||
|
||
</project>
|