oauth2
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.zoreal</groupId>
<artifactId>oauth2</artifactId>
<version>0.1.7</version>
</dependency><?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>com.zoreal</groupId>
<artifactId>oauth2</artifactId>
<version>0.1.7</version>
<packaging>jar</packaging>
<name>ZOREAL OAuth2</name>
<description>Login with ZOREAL for JVM backends: the code exchange, ES256 verification of the ID token, and the userinfo read.</description>
<url>https://github.com/Bynn-Intelligence/zoreal-oauth2-java</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/license/mit/</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/Bynn-Intelligence/zoreal-oauth2-java.git</connection>
<developerConnection>scm:git:git@github.com:Bynn-Intelligence/zoreal-oauth2-java.git</developerConnection>
<url>https://github.com/Bynn-Intelligence/zoreal-oauth2-java</url>
</scm>
<organization>
<name>Bynn Intelligence, Inc.</name>
<url>https://github.com/Bynn-Intelligence</url>
</organization>
<!-- Maven Central refuses a deployment without a developers section. -->
<developers>
<developer>
<name>ZOREAL</name>
<organization>Bynn Intelligence, Inc.</organization>
<organizationUrl>https://zoreal.com</organizationUrl>
</developer>
</developers>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<junit.version>5.10.2</junit.version>
</properties>
<dependencies>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<!-- 9.40 is vulnerable to a nested-JSON denial of service
(CVE-2025-53864) reachable through token parsing; the fix line
for the 9.38+ range is 10.0.2 and later. -->
<version>10.3</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
</plugins>
</build>
<!-- Everything Maven Central demands beyond the jar, off the everyday build
so a plain `mvn verify` needs no GPG key: sources and javadoc jars, GPG
signatures, and the Central Portal deployment. CI activates it with
`mvn -P release deploy`; the `central` server id maps to the portal
token in settings/CI env. -->
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
<configuration>
<!-- CI has no pinentry; the passphrase arrives in
MAVEN_GPG_PASSPHRASE. -->
<bestPractices>true</bestPractices>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>