jap/pom.xml

421 lines
13 KiB
XML
Raw Normal View History

2021-01-12 11:52:49 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
2021-01-12 11:52:49 +08:00
<groupId>com.fujieid</groupId>
<artifactId>jap</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
2021-01-12 11:52:49 +08:00
<name>jap</name>
2021-01-28 14:19:14 +08:00
<url>https://gitee.com/fujieid/jap</url>
<description>Just auth for any app</description>
2021-01-12 11:52:49 +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>
</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>
<developers>
<developer>
<name>Yadong.Zhang</name>
<email>yadong.zhang0415@gmail.com</email>
2021-03-07 17:42:44 +08:00
<url>https://github.com/zhangyd-c</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>
<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>
<module>jap-mfa</module>
2021-02-26 15:09:10 +08:00
<module>jap-ids</module>
<module>jap-ids-web</module>
2021-09-14 21:27:20 +08:00
<module>jap-http-api</module>
2021-09-19 20:50:58 +08:00
<module>jap-bom</module>
</modules>
2021-01-12 11:52:49 +08:00
<properties>
<!-- jap version -->
2021-09-24 17:46:45 +08:00
<revision>1.0.6</revision>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- maven -->
<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-flatten.version>1.2.2</maven-flatten.version>
2021-03-07 17:42:44 +08:00
<maven-javadoc.version>3.1.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>
<maven.test.skip>false</maven.test.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>
<!-- java -->
<junit.version>4.13.1</junit.version>
<mockito.version>2.23.4</mockito.version>
<hutool.version>5.5.7</hutool.version>
<jakarta.servlet.version>4.0.4</jakarta.servlet.version>
2021-09-22 18:55:07 +08:00
<justauth.version>1.16.4</justauth.version>
<jose4j.version>0.7.6</jose4j.version>
<slf4j-api.version>1.7.30</slf4j-api.version>
<jedis.version>3.2.0</jedis.version>
2021-09-22 20:40:07 +08:00
<kisso.version>3.7.7</kisso.version>
<simple-json.version>0.0.2</simple-json.version>
2021-09-20 20:09:24 +08:00
<simple-http.version>1.0.5</simple-http.version>
<zxing.version>3.3.3</zxing.version>
2021-09-22 20:54:43 +08:00
<googleauth.version>1.5.0</googleauth.version>
<commons-cli.version>1.4</commons-cli.version>
<jap-http.version>1.0.0</jap-http.version>
<jap-http-jakarta-adapter.version>1.0.2</jap-http-jakarta-adapter.version>
2021-09-22 21:08:15 +08:00
<!-- Only for jap-mfa -->
<httpclient.version>4.5.13</httpclient.version>
</properties>
2021-01-12 11:52:49 +08:00
<dependencies>
2021-02-18 17:05:37 +08:00
<!-- junit start -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
2021-02-18 17:05:37 +08:00
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-http</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
2021-03-03 17:11:36 +08:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
2021-09-19 20:50:58 +08:00
<groupId>com.fujieid.jap.http</groupId>
<artifactId>jap-http</artifactId>
</dependency>
<dependency>
<groupId>com.fujieid.jap.http.adapter</groupId>
2021-09-19 20:50:58 +08:00
<artifactId>jap-http-jakarta-adapter</artifactId>
</dependency>
</dependencies>
2021-01-12 11:52:49 +08:00
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-core</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-simple</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-social</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-oauth2</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-sso</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-oidc</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-mfa</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-ids</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.fujieid</groupId>
<artifactId>jap-ids-web</artifactId>
<version>${revision}</version>
</dependency>
<!-- junit start -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-http</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<!-- junit end -->
<dependency>
<groupId>com.xkcoding.json</groupId>
<artifactId>simple-json</artifactId>
<version>${simple-json.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-core</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-log</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-crypto</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>kisso</artifactId>
<version>${kisso.version}</version>
</dependency>
<dependency>
<groupId>com.xkcoding.http</groupId>
<artifactId>simple-http</artifactId>
<version>${simple-http.version}</version>
</dependency>
<dependency>
<groupId>me.zhyd.oauth</groupId>
<artifactId>JustAuth</artifactId>
<version>${justauth.version}</version>
</dependency>
<dependency>
<groupId>org.bitbucket.b_c</groupId>
<artifactId>jose4j</artifactId>
<version>${jose4j.version}</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${zxing.version}</version>
</dependency>
<dependency>
<groupId>com.warrenstrange</groupId>
<artifactId>googleauth</artifactId>
<version>${googleauth.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
2021-09-22 21:08:15 +08:00
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
2021-09-19 20:50:58 +08:00
<dependency>
<groupId>com.fujieid.jap.http</groupId>
<artifactId>jap-http</artifactId>
<version>${jap-http.version}</version>
</dependency>
<dependency>
<groupId>com.fujieid.jap.http.adapter</groupId>
2021-09-19 20:50:58 +08:00
<artifactId>jap-http-jakarta-adapter</artifactId>
<version>${jap-http-jakarta-adapter.version}</version>
2021-09-19 20:50:58 +08:00
</dependency>
</dependencies>
</dependencyManagement>
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.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${maven-flatten.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
2021-01-22 10:50:15 +08:00
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
2021-01-22 10:50:15 +08:00
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
2021-01-22 10:50:15 +08:00
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source.version}</version>
<inherited>true</inherited>
2021-01-22 10:50:15 +08:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
2021-01-22 10:50:15 +08:00
</goals>
</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>
<excludes>
<exclude>**/AuthRequestTest.java</exclude>
</excludes>
</configuration>
</plugin>
2021-03-07 17:42:44 +08:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura-version}</version>
<configuration>
<formats>
<format>xml</format>
<format>html</format>
<!-- delegate the report aggregation for the coverage tool. -->
<aggregate>true</aggregate>
</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>
2021-01-22 10:50:15 +08:00
</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-javadoc-plugin</artifactId>
<version>${maven-javadoc.version}</version>
2021-01-22 10:50:15 +08:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
2021-01-22 10:50:15 +08:00
</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>
2021-04-28 16:10:30 +08:00
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
2021-01-22 10:50:15 +08:00
</plugin>
</plugins>
</build>
</profile>
</profiles>
<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>
2021-01-12 11:52:49 +08:00
</project>