mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
f94f03bcc2
Add craftlabs-auth-config.schema.json, Java AuthConfigs model with tests, example configs aligned to BP-10, C/Java/auth-config documentation, native header notes, RELEASING guide, and workflow to verify SDK artifact checksums on release tags. Made-with: Cursor
106 lines
4.0 KiB
XML
106 lines
4.0 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">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<groupId>cn.craftlabs</groupId>
|
||
<artifactId>craftlabs-auth-parent</artifactId>
|
||
<version>1.0.0-SNAPSHOT</version>
|
||
<packaging>pom</packaging>
|
||
<name>CraftLabs Auth SDK (parent)</name>
|
||
|
||
<modules>
|
||
<module>craftlabs-auth-core</module>
|
||
<module>craftlabs-auth-bitanswer</module>
|
||
<module>craftlabs-auth-selfhosted</module>
|
||
<module>craftlabs-auth-tests</module>
|
||
</modules>
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<maven.compiler.release>17</maven.compiler.release>
|
||
<junit.version>5.10.2</junit.version>
|
||
<jackson.version>2.17.2</jackson.version>
|
||
<json-schema-validator.version>1.5.7</json-schema-validator.version>
|
||
<!-- 默认跳过 GPG;发布签名:mvn -Prelease-sign verify(见 RELEASING.md) -->
|
||
<gpg.skip>true</gpg.skip>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>cn.craftlabs</groupId>
|
||
<artifactId>craftlabs-auth-core</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.junit.jupiter</groupId>
|
||
<artifactId>junit-jupiter</artifactId>
|
||
<version>${junit.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.networknt</groupId>
|
||
<artifactId>json-schema-validator</artifactId>
|
||
<version>${json-schema-validator.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<pluginManagement>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.12.1</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>3.2.5</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>3.2.7</version>
|
||
</plugin>
|
||
</plugins>
|
||
</pluginManagement>
|
||
</build>
|
||
|
||
<!-- 对发布 JAR 做 GPG 分离签名(.asc);显式 -Prelease-sign 时启用 -->
|
||
<profiles>
|
||
<profile>
|
||
<id>release-sign</id>
|
||
<properties>
|
||
<gpg.skip>false</gpg.skip>
|
||
</properties>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>sign-release-artifacts</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
</project>
|