2021-01-12 11:52:49 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-01-12 11:52:49 +08:00
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<groupId>com.fujieid</groupId>
|
|
|
|
|
<artifactId>jap</artifactId>
|
2021-03-03 17:11:36 +08:00
|
|
|
|
<version>1.0.1-alpha</version>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<packaging>pom</packaging>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<name>jap</name>
|
2021-01-28 14:19:14 +08:00
|
|
|
|
<url>https://gitee.com/fujieid/jap</url>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<description>Just auth for any app</description>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<licenses>
|
|
|
|
|
<license>
|
|
|
|
|
<name>LGPL 3.0</name>
|
2021-01-28 11:58:00 +08:00
|
|
|
|
<url>https://gitee.com/fujieid/jap/blob/master/LICENSE</url>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
</license>
|
|
|
|
|
</licenses>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-28 11:58:00 +08:00
|
|
|
|
<issueManagement>
|
|
|
|
|
<system>Gitee Issue</system>
|
|
|
|
|
<url>https://gitee.com/fujieid/jap/issues</url>
|
|
|
|
|
</issueManagement>
|
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<developers>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Yadong.Zhang</name>
|
|
|
|
|
<email>yadong.zhang0415@gmail.com</email>
|
|
|
|
|
<url>https://www.justauth.cn</url>
|
|
|
|
|
</developer>
|
|
|
|
|
</developers>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-28 11:58:00 +08:00
|
|
|
|
<scm>
|
2021-01-28 14:19:14 +08:00
|
|
|
|
<connection>https://gitee.com/fujieid/jap.git</connection>
|
|
|
|
|
<developerConnection>https://gitee.com/fujieid/jap.git</developerConnection>
|
|
|
|
|
<url>https://gitee.com/fujieid/jap</url>
|
2021-01-28 11:58:00 +08:00
|
|
|
|
</scm>
|
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<modules>
|
|
|
|
|
<module>jap-core</module>
|
|
|
|
|
<module>jap-simple</module>
|
|
|
|
|
<module>jap-social</module>
|
|
|
|
|
<module>jap-oauth2</module>
|
|
|
|
|
<module>jap-sso</module>
|
|
|
|
|
<module>jap-oidc</module>
|
2021-02-06 21:55:09 +08:00
|
|
|
|
<module>jap-mfa</module>
|
2021-02-26 15:09:10 +08:00
|
|
|
|
<module>jap-ids</module>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
</modules>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
|
<maven-source.version>2.2.1</maven-source.version>
|
|
|
|
|
<maven-compiler.version>3.8.1</maven-compiler.version>
|
|
|
|
|
<maven-javadoc.version>2.9.1</maven-javadoc.version>
|
2021-01-22 10:50:15 +08:00
|
|
|
|
<maven-surefire-version>2.20</maven-surefire-version>
|
|
|
|
|
<maven-gpg-version>1.6</maven-gpg-version>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<maven.test.skip>false</maven.test.skip>
|
2021-03-03 17:11:36 +08:00
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
2021-01-22 10:50:15 +08:00
|
|
|
|
<cobertura-version>2.7</cobertura-version>
|
2021-02-18 11:31:51 +08:00
|
|
|
|
<jacoco-version>0.8.6</jacoco-version>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<junit.version>4.13.1</junit.version>
|
2021-02-18 17:05:37 +08:00
|
|
|
|
<mockito.version>2.23.4</mockito.version>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<hutool.version>5.5.7</hutool.version>
|
|
|
|
|
<guava.version>RELEASE</guava.version>
|
|
|
|
|
<javax.servlet.version>4.0.1</javax.servlet.version>
|
|
|
|
|
<justauth.version>1.15.9</justauth.version>
|
|
|
|
|
<jose4j.version>0.7.1</jose4j.version>
|
|
|
|
|
<slf4j-api.version>1.7.30</slf4j-api.version>
|
|
|
|
|
<jedis.version>3.2.0</jedis.version>
|
|
|
|
|
<kisso.version>3.7.6</kisso.version>
|
2021-01-29 21:57:22 +08:00
|
|
|
|
<simple-json.version>0.0.2</simple-json.version>
|
2021-01-21 16:39:20 +08:00
|
|
|
|
<simple-http.version>1.0.3</simple-http.version>
|
2021-01-21 14:19:13 +08:00
|
|
|
|
</properties>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<dependencies>
|
2021-02-18 17:05:37 +08:00
|
|
|
|
<!-- junit start -->
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-02-18 17:05:37 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-http</artifactId>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
<version>${mockito.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-03-03 17:11:36 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>1.7.22</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-02-18 17:05:37 +08:00
|
|
|
|
<!-- junit end -->
|
|
|
|
|
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-02-16 11:22:32 +08:00
|
|
|
|
<!--
|
|
|
|
|
To decouple the JSON class library, developers only need to select the appropriate JSON class library to introduce, as follows:
|
|
|
|
|
- jackson
|
|
|
|
|
- fastjson
|
|
|
|
|
- gson
|
|
|
|
|
- hutool-json
|
|
|
|
|
For more information on the use of `simple-json`, please refer to: https://github.com/xkcoding/simple-json
|
|
|
|
|
-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.xkcoding.json</groupId>
|
|
|
|
|
<artifactId>simple-json</artifactId>
|
|
|
|
|
<version>${simple-json.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
|
</dependency>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-extra</artifactId>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-cache</artifactId>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-01-21 16:14:00 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-crypto</artifactId>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-03-03 17:11:36 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bitbucket.b_c</groupId>
|
|
|
|
|
<artifactId>jose4j</artifactId>
|
|
|
|
|
<version>${jose4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-01-21 14:19:13 +08:00
|
|
|
|
<!-- servlet -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
<version>${javax.servlet.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
|
2021-01-22 10:50:15 +08:00
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>${maven-compiler.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
|
<source>${java.version}</source>
|
|
|
|
|
<target>${java.version}</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
<version>${maven-source.version}</version>
|
|
|
|
|
<inherited>true</inherited>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<version>${maven-javadoc.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
</goals>
|
2021-01-23 11:57:08 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
|
</configuration>
|
2021-01-22 10:50:15 +08:00
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>${maven-surefire-version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!-- 包含其他测试类 -->
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*Test.java</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<!-- 排除掉AuthRequestTest测试类,该类只做api演示用 -->
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/AuthRequestTest.java</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2021-01-29 12:16:56 +08:00
|
|
|
|
|
2021-01-22 10:50:15 +08:00
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>release</id>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
<version>${maven-source.version}</version>
|
|
|
|
|
<inherited>true</inherited>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
|
<version>${cobertura-version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<formats>
|
|
|
|
|
<format>html</format>
|
|
|
|
|
<format>xml</format>
|
|
|
|
|
</formats>
|
|
|
|
|
<check/>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
|
<version>${jacoco-version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>report</id>
|
|
|
|
|
<phase>test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>report</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
|
<version>${maven-gpg-version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>verify</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>sign</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
<snapshotRepository>
|
|
|
|
|
<id>sonatype-nexus-snapshots</id>
|
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
|
</snapshotRepository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>sonatype-nexus-staging</id>
|
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
|
</repository>
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2021-01-12 11:52:49 +08:00
|
|
|
|
</project>
|