2022-08-17 18:12:43 +08:00
|
|
|
|
<?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>
|
2022-09-17 12:48:40 +08:00
|
|
|
|
<artifactId>zyjblogs-cloud-dependencies</artifactId>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
<groupId>cn.zyjblogs</groupId>
|
2023-02-21 15:33:17 +08:00
|
|
|
|
<version>1.0.0</version>
|
2022-09-17 12:48:40 +08:00
|
|
|
|
<relativePath/>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-08-18 18:52:02 +08:00
|
|
|
|
<groupId>cn.zyjblogs.pubilc</groupId>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
<artifactId>zyjblogs-rbac</artifactId>
|
2023-02-09 10:02:04 +08:00
|
|
|
|
<version>${project.release.version}</version>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
|
|
|
|
|
<properties>
|
2022-11-15 13:16:06 +08:00
|
|
|
|
<maven.compiler.source>15</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>15</maven.compiler.target>
|
|
|
|
|
<!--编译编码-->
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</properties>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
2022-08-26 00:35:57 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<artifactId>zyjblogs-web-spring-boot-starter</artifactId>
|
|
|
|
|
<groupId>cn.zyjblogs.starter</groupId>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</dependency>
|
2022-09-18 14:16:10 +08:00
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.springframework.security.oauth.boot</groupId>-->
|
2022-09-20 22:22:22 +08:00
|
|
|
|
<!-- <artifactId>spring-security-oauth2-cn.zyjblogs.starter.feign.autoconfigure</artifactId>-->
|
2022-09-17 12:48:40 +08:00
|
|
|
|
|
2022-09-18 14:16:10 +08:00
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-cloud-starter-oauth2</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
2022-08-17 18:12:43 +08:00
|
|
|
|
<dependency>
|
2022-09-17 12:48:40 +08:00
|
|
|
|
<groupId>cn.zyjblogs.starter</groupId>
|
|
|
|
|
<artifactId>zyjblogs-oauth-spring-boot-starter</artifactId>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-09-17 12:48:40 +08:00
|
|
|
|
<groupId>cn.zyjblogs.starter</groupId>
|
|
|
|
|
<artifactId>zyjblogs-redis-spring-boot-starter</artifactId>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-09-18 19:08:23 +08:00
|
|
|
|
<groupId>cn.zyjblogs.starter</groupId>
|
|
|
|
|
<artifactId>zyjblogs-mybatisplus-spring-boot-starter</artifactId>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
2022-11-15 13:16:06 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<version>${maven-jar-plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--<outputDirectory>${jar_dir}</outputDirectory>-->
|
|
|
|
|
<archive>
|
|
|
|
|
<manifest>
|
|
|
|
|
<!--启动类 such as: com.test.StartApp-->
|
|
|
|
|
<mainClass>cn.zyjblogs.RbacApplication</mainClass>
|
|
|
|
|
<!-- 把所依赖的 jar 包写入 manifest -->
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
|
<!--定义依赖jar包的相对路径(相对项目jar包)-->
|
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
|
|
|
</manifest>
|
|
|
|
|
<manifestEntries>
|
|
|
|
|
<!--MANIFEST.MF 中 Class-Path 加入资源文件目录-->
|
|
|
|
|
<!--定义静态资源的相对路径(相对项目jar包)-->
|
|
|
|
|
<Class-Path>config/${project.artifactId}/.</Class-Path>
|
|
|
|
|
</manifestEntries>
|
|
|
|
|
</archive>
|
|
|
|
|
<includes>
|
|
|
|
|
<!-- 当前项目的 jar 包内排除静态资源 -->
|
|
|
|
|
<include>**/*.class</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
|
<descriptors>
|
|
|
|
|
<!--assembly配置文件的相对路径-->
|
|
|
|
|
<descriptor>bin/assembly.xml</descriptor>
|
|
|
|
|
</descriptors>
|
|
|
|
|
<!--assembly打包后的输出位置-->
|
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>make-assembly</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|