1 Star 3 Fork 1

徐晓伟 / spring-boot-starter-wechat-miniprogram

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 14.08 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-boot-starter-wechat-miniprogram</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>spring-boot-starter-wechat-miniprogram</name>
<description>支持 OAuth 2.1 JWT 授权的微信小程序开发组件</description>
<url>https://github.com/xuxiaowei-com-cn/spring-boot-starter-wechat-miniprogram</url>
<inceptionYear>2022</inceptionYear>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- OAuth 2.1 依赖 -->
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-oauth2-authorization-server -->
<!-- https://oss.sonatype.org/content/repositories/public/org/springframework/security/spring-security-oauth2-authorization-server -->
<!-- https://repo.spring.io/ui/native/milestone/org/springframework/security/spring-security-oauth2-authorization-server -->
<!-- https://github.com/spring-projects/spring-authorization-server -->
<spring-security-oauth2-authorization-server.version>0.4.4</spring-security-oauth2-authorization-server.version>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/license-maven-plugin -->
<license-maven-plugin.version>2.3.0</license-maven-plugin.version>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok-maven-plugin -->
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
<!-- https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin -->
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
<!-- https://mvnrepository.com/artifact/io.spring.javaformat/spring-javaformat-maven-plugin -->
<!-- https://github.com/spring-io/spring-javaformat/ -->
<!-- 高版本支持 JDK 8:https://github.com/spring-io/spring-javaformat/#java-8-support -->
<spring-javaformat-maven-plugin.version>0.0.40</spring-javaformat-maven-plugin.version>
<!-- 打包时跳过单元测试 -->
<skipTests>true</skipTests>
</properties>
<dependencies>
<!-- OAuth 2.1 依赖,支持 spring-boot 2.7.x -->
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-oauth2-authorization-server -->
<!-- https://oss.sonatype.org/content/repositories/public/org/springframework/security/spring-security-oauth2-authorization-server -->
<!-- https://repo.spring.io/ui/native/milestone/org/springframework/security/spring-security-oauth2-authorization-server -->
<!-- https://github.com/spring-projects/spring-authorization-server -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-authorization-server</artifactId>
<version>${spring-security-oauth2-authorization-server.version}</version>
<!-- 依赖传递性:https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</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>
</dependencies>
<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>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
<license>
<name>996.ICU</name>
<url>https://github.com/996icu/996.ICU/blob/master/LICENSE</url>
<distribution>repo</distribution>
<comments>The name 996.ICU refers to "Work by '996', sick in ICU", an ironic saying among Chinese
developers, which means that by following the "996" work schedule, you are risking yourself getting into
the ICU (Intensive Care Unit).
</comments>
</license>
</licenses>
<scm>
<url>https://github.com/xuxiaowei-com-cn/spring-boot-starter-wechat-miniprogram</url>
<connection>scm:git:https://git@github.com/xuxiaowei-com-cn/spring-boot-starter-wechat-miniprogram.git
</connection>
</scm>
<issueManagement>
<system>Github</system>
<url>https://github.com/xuxiaowei-com-cn/spring-boot-starter-wechat-miniprogram/issues</url>
</issueManagement>
<organization>
<name>徐晓伟工作室</name>
<url>http://xuxiaowei.com.cn</url>
</organization>
<developers>
<developer>
<name>徐晓伟</name>
<email>xuxiaowei@xuxiaowei.com.cn</email>
<organization>徐晓伟工作室</organization>
<organizationUrl>http://xuxiaowei.com.cn</organizationUrl>
</developer>
</developers>
<build>
<!-- mvn clean lombok:delombok -->
<!-- mvn source:jar javadoc:jar deploy -DskipTests -->
<plugins>
<!-- mvn clean deploy -DskipTests -->
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<!-- mvn clean source:jar deploy -->
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
</plugin>
<!-- 列举开源协议:mvn license:license-list -->
<!-- 添加开源协议:mvn license:update-file-header -->
<!-- http://www.mojohaus.org/license-maven-plugin/index.html -->
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/license-maven-plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license-maven-plugin.version}</version>
<configuration>
<licenseName>apache_v2</licenseName>
</configuration>
</plugin>
<!-- 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>
<format>json</format>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.json
</generateGitPropertiesFilename>
</configuration>
</plugin>
<!--
./mvnw spring-javaformat:apply
mvn spring-javaformat:apply
-->
<!-- https://mvnrepository.com/artifact/io.spring.javaformat/spring-javaformat-maven-plugin -->
<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>
<profiles>
<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>
</project>
Java
1
https://gitee.com/xuxiaowei-com-cn/spring-boot-starter-wechat-miniprogram.git
git@gitee.com:xuxiaowei-com-cn/spring-boot-starter-wechat-miniprogram.git
xuxiaowei-com-cn
spring-boot-starter-wechat-miniprogram
spring-boot-starter-wechat-miniprogram
main

搜索帮助