2 Star 8 Fork 4

徐晓伟/spring-security-oauth2-authorization-server-redis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 10.80 KB
一键复制 编辑 原始数据 按行查看 历史
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cn.com.xuxiaowei.boot</groupId>
<artifactId>spring-security-oauth2-authorization-server-redis</artifactId>
<version>2.0.1-SNAPSHOT</version>
<name>spring-security-oauth2-authorization-server-redis</name>
<description>spring-security-oauth2-authorization-server 基于 Redis 的实现组件</description>
<properties>
<java.version>8</java.version>
<commons-lang3.version>3.14.0</commons-lang3.version>
<spring-security-oauth2-authorization-server.version>0.4.5</spring-security-oauth2-authorization-server.version>
<maven-gpg-plugin.version>3.2.3</maven-gpg-plugin.version>
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<spring-javaformat-maven-plugin.version>0.0.41</spring-javaformat-maven-plugin.version>
<skipTests>true</skipTests>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-authorization-server</artifactId>
<version>${spring-security-oauth2-authorization-server.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<!-- 依赖传递性:https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>ossrh</id>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>github</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Repository</name>
<url>
https://maven.pkg.github.com/xuxiaowei-com-cn/spring-security-oauth2-authorization-server-redis/
</url>
</repository>
</distributionManagement>
</profile>
<profile>
<!-- 使用 -Pgpg 激活此构建进行文件签名 -->
<id>gpg</id>
<build>
<plugins>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
<!-- 安装:https://www.gpg4win.org/thanks-for-download.html -->
<!--
1、新建密钥对
2、生成密钥对副本
3、上传公钥至目录服务器(手动上传(需要验证邮箱):https://keys.openpgp.org/upload/)
-->
<!--
单个文件签名:
gpg &#45;&#45;armor &#45;&#45;detach-sign 文件名
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<!-- mvn lombok:delombok -->
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok-maven-plugin -->
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>${lombok-maven-plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
<sourceDirectory>src/main/java</sourceDirectory>
<outputDirectory>target/sources/delombok</outputDirectory>
<addOutputDirectory>false</addOutputDirectory>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>delombok</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- mvn lombok:delombok -->
<!-- mvn javadoc:jar deploy -->
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<sourcepath>target/sources/delombok</sourcepath>
<encoding>UTF-8</encoding>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<!--<doclint>none</doclint>-->
</configuration>
</plugin>
<!-- https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>${git-commit-id-plugin.version}</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<!-- 父子项目必须添加 -->
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- 父子项目必须添加 -->
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<offline>true</offline>
<!-- 输出详细内容 -->
<!--<verbose>true</verbose>-->
<dateFormatTimeZone>GMT+8</dateFormatTimeZone>
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
<dateFormatTimeZone>GMT+8</dateFormatTimeZone>
<format>json</format>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.json
</generateGitPropertiesFilename>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
./mvnw spring-javaformat:apply
mvn spring-javaformat:apply
-->
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring-javaformat-maven-plugin.version}</version>
<executions>
<execution>
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuxiaowei-com-cn/spring-security-oauth2-authorization-server-redis.git
git@gitee.com:xuxiaowei-com-cn/spring-security-oauth2-authorization-server-redis.git
xuxiaowei-com-cn
spring-security-oauth2-authorization-server-redis
spring-security-oauth2-authorization-server-redis
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385