2014-09-18 22:14:22 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright (C) 2014 jsonwebtoken.io
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
2014-09-19 23:31:00 -04:00
|
|
|
<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">
|
2014-09-18 22:14:22 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
<artifactId>oss-parent</artifactId>
|
|
|
|
<version>7</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
2018-07-12 11:44:14 -04:00
|
|
|
<artifactId>jjwt-root</artifactId>
|
2020-06-11 15:50:09 -04:00
|
|
|
<version>0.11.3-SNAPSHOT</version>
|
2018-07-12 11:44:14 -04:00
|
|
|
<name>JJWT</name>
|
|
|
|
<description>JSON Web Token support for the JVM and Android</description>
|
|
|
|
<packaging>pom</packaging>
|
2017-10-19 22:47:26 -04:00
|
|
|
<url>https://github.com/jwtk/jjwt</url>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
2019-09-17 16:19:07 -04:00
|
|
|
<organization>
|
|
|
|
<name>jsonwebtoken.io</name>
|
|
|
|
<url>https://github.com/jwtk/jjwt</url>
|
|
|
|
</organization>
|
|
|
|
<inceptionYear>2014</inceptionYear>
|
|
|
|
|
2014-09-18 22:14:22 -04:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:https://github.com/jwtk/jjwt.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:jwtk/jjwt.git</developerConnection>
|
|
|
|
<url>git@github.com:jwtk/jjwt.git</url>
|
2020-06-11 15:50:09 -04:00
|
|
|
<tag>HEAD</tag>
|
2014-09-18 22:14:22 -04:00
|
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
|
|
<system>GitHub Issues</system>
|
|
|
|
<url>https://github.com/jwtk/jjwt/issues</url>
|
|
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
|
|
<system>TravisCI</system>
|
|
|
|
<url>https://travis-ci.org/jwtk/jjwt</url>
|
|
|
|
</ciManagement>
|
|
|
|
|
|
|
|
<properties>
|
2014-09-19 22:00:39 -04:00
|
|
|
|
2018-07-12 11:44:14 -04:00
|
|
|
<jjwt.root>${basedir}</jjwt.root>
|
2019-09-27 17:11:19 -04:00
|
|
|
<jjwt.previousVersion>0.10.7</jjwt.previousVersion>
|
2018-07-12 11:44:14 -04:00
|
|
|
|
2016-09-11 15:48:48 -04:00
|
|
|
<maven.jar.version>3.0.2</maven.jar.version>
|
2020-02-04 03:10:39 -05:00
|
|
|
<maven.compiler.version>3.8.0</maven.compiler.version>
|
|
|
|
<maven.javadoc.version>3.1.1</maven.javadoc.version>
|
|
|
|
<gmavenplus.version>1.6.1</gmavenplus.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
2017-10-09 20:16:06 -04:00
|
|
|
<jdk.version>1.7</jdk.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<buildNumber>${user.name}-${maven.build.timestamp}</buildNumber>
|
|
|
|
|
2021-10-11 13:13:16 -04:00
|
|
|
<jackson.version>2.12.5</jackson.version>
|
2018-07-09 16:57:56 -04:00
|
|
|
<orgjson.version>20180130</orgjson.version>
|
2021-10-11 13:13:39 -04:00
|
|
|
<gson.version>2.8.8</gson.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
|
|
|
<!-- Optional Runtime Dependencies: -->
|
2021-11-24 11:23:48 -05:00
|
|
|
<bouncycastle.version>1.67</bouncycastle.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
|
|
|
<!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
|
2020-06-08 14:00:59 -04:00
|
|
|
<groovy.version>2.5.11</groovy.version>
|
2017-05-13 11:28:01 -04:00
|
|
|
<logback.version>1.2.3</logback.version>
|
2018-07-30 13:44:09 -04:00
|
|
|
<easymock.version>3.6</easymock.version>
|
2015-05-08 23:22:22 -04:00
|
|
|
<junit.version>4.12</junit.version>
|
2017-10-09 20:15:18 -04:00
|
|
|
<powermock.version>2.0.0-beta.5</powermock.version> <!-- necessary for Java 9 support -->
|
2018-07-07 15:28:23 -04:00
|
|
|
<failsafe.plugin.version>2.22.0</failsafe.plugin.version>
|
|
|
|
<surefire.plugin.version>2.22.0</surefire.plugin.version>
|
2018-07-09 16:57:56 -04:00
|
|
|
<clover.version>4.2.1</clover.version>
|
2018-07-12 11:44:14 -04:00
|
|
|
<clover.db>${jjwt.root}/target/clover/clover.db</clover.db>
|
2021-10-11 13:13:16 -04:00
|
|
|
<surefire.argLine/>
|
2014-09-19 22:00:39 -04:00
|
|
|
|
2014-09-18 22:14:22 -04:00
|
|
|
</properties>
|
|
|
|
|
2018-07-12 11:44:14 -04:00
|
|
|
<modules>
|
|
|
|
<module>api</module>
|
|
|
|
<module>impl</module>
|
|
|
|
<module>extensions</module>
|
|
|
|
</modules>
|
2018-07-09 16:57:56 -04:00
|
|
|
|
2018-07-12 11:44:14 -04:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-orgjson</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-07-17 16:46:18 -04:00
|
|
|
<dependency>
|
2019-07-16 10:19:23 -04:00
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-gson</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2018-07-12 11:44:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>${orgjson.version}</version>
|
|
|
|
</dependency>
|
2019-07-17 16:46:18 -04:00
|
|
|
<dependency>
|
2019-07-16 10:19:23 -04:00
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>${gson.version}</version>
|
|
|
|
</dependency>
|
2018-08-02 15:31:13 -04:00
|
|
|
|
|
|
|
<!-- Used only during testing for PS256, PS384 and PS512 since JDK <= 10 doesn't support them: -->
|
2018-07-12 11:44:14 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<version>${bouncycastle.version}</version>
|
2018-08-02 15:31:13 -04:00
|
|
|
<scope>test</scope>
|
2018-07-12 11:44:14 -04:00
|
|
|
</dependency>
|
2020-02-04 03:10:39 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
|
<version>${bouncycastle.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-07-12 11:44:14 -04:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2015-04-03 22:06:42 -04:00
|
|
|
|
2018-07-12 11:44:14 -04:00
|
|
|
<dependencies>
|
2014-09-18 22:14:22 -04:00
|
|
|
<!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
2018-07-30 13:44:09 -04:00
|
|
|
<artifactId>groovy</artifactId>
|
2014-09-18 22:14:22 -04:00
|
|
|
<version>${groovy.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<version>${easymock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-05-08 23:22:22 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-easymock</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-core</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-10-13 05:40:13 -04:00
|
|
|
<version>4.13.1</version>
|
2015-05-08 23:22:22 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-09-18 22:14:22 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2018-07-12 11:44:14 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.openclover</groupId>
|
|
|
|
<artifactId>clover-maven-plugin</artifactId>
|
|
|
|
<version>${clover.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<cloverDatabase>${clover.db}</cloverDatabase>
|
|
|
|
<!--
|
|
|
|
cloverDatabase>${user.home}/.clover/${project.groupId}/jjwt/clover.db</cloverDatabase>
|
|
|
|
<snapshot>${user.home}/.clover/${project.groupId}/jjwt/clover.snapshot</snapshot>
|
|
|
|
<historyDir>${user.home}/.clover/${project.groupId}/jjwt</historyDir> -->
|
|
|
|
<excludes>
|
|
|
|
<exclude>io/jsonwebtoken/lang/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
<methodPercentage>100.000000%</methodPercentage>
|
|
|
|
<statementPercentage>100.000000%</statementPercentage>
|
|
|
|
<conditionalPercentage>100.000000%</conditionalPercentage>
|
|
|
|
<targetPercentage>100.000000%</targetPercentage>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-09-17 16:19:07 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.mycila</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<version>3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<skipExistingHeaders>true</skipExistingHeaders>
|
|
|
|
<header>${jjwt.root}/src/license/header.txt</header>
|
|
|
|
<headerDefinitions>
|
|
|
|
<headerDefinition>${jjwt.root}/src/license/header_format.xml</headerDefinition>
|
|
|
|
</headerDefinitions>
|
|
|
|
<properties>
|
|
|
|
<organization.name>${project.organization.name}</organization.name>
|
|
|
|
<year>2019</year>
|
|
|
|
</properties>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.txt</exclude>
|
|
|
|
<exclude>LICENSE</exclude>
|
|
|
|
<exclude>**/lombok.config</exclude>
|
|
|
|
<exclude>**/mvnw</exclude>
|
|
|
|
<exclude>.gitattributes</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-09-24 18:57:06 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.10.4</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${jdk.version}</source>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-09-27 17:11:19 -04:00
|
|
|
<plugin>
|
|
|
|
<!-- japicmp will scan code for binary breaking changes, Open api/target/japicmp/japicmp.html
|
|
|
|
for a report of the changes since ${jjwt.previousVersion} -->
|
|
|
|
<groupId>com.github.siom79.japicmp</groupId>
|
|
|
|
<artifactId>japicmp-maven-plugin</artifactId>
|
2019-09-30 14:59:21 -04:00
|
|
|
<version>0.13.1</version>
|
2019-09-27 17:11:19 -04:00
|
|
|
<configuration>
|
|
|
|
<oldVersion>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
|
|
<version>${jjwt.previousVersion}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
</oldVersion>
|
|
|
|
<parameter>
|
|
|
|
<onlyModified>true</onlyModified>
|
|
|
|
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
|
|
|
|
<!-- TODO: enable after 1.0 -->
|
|
|
|
<!-- <breakBuildBasedOnSemanticVersioning>true</breakBuildBasedOnSemanticVersioning>-->
|
|
|
|
</parameter>
|
|
|
|
</configuration>
|
2019-09-30 14:59:21 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>japicmp</id>
|
|
|
|
<goals>
|
|
|
|
<goal>cmp</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2019-09-27 17:11:19 -04:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- The following plugin section is used in jjwt-jackson and jjwt-orgjson, to repackage (and verify)
|
|
|
|
binary compatibility with previous versions. In v0.11.0 the implementations changed packages to
|
|
|
|
avoid split package issues with Java 9+ see: https://github.com/jwtk/jjwt/issues/399 -->
|
|
|
|
<!-- TODO: remove these deprecated packages and this config before v1.0 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<configuration>
|
|
|
|
<shadedClassifierName>deprecated</shadedClassifierName>
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>${project.groupId}:${project.artifactId}</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
<transformers>
|
2021-10-11 13:13:16 -04:00
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
2019-09-27 17:11:19 -04:00
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-07-12 11:44:14 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2014-09-18 22:14:22 -04:00
|
|
|
<plugins>
|
2014-09-19 22:00:39 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2017-05-13 11:43:43 -04:00
|
|
|
<version>1.4.1</version>
|
2014-09-19 22:00:39 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-banned-dependencies</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<bannedDependencies>
|
|
|
|
<searchTransitive>true</searchTransitive>
|
|
|
|
<excludes>
|
|
|
|
<exclude>commons-logging</exclude>
|
|
|
|
</excludes>
|
|
|
|
</bannedDependencies>
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-09-18 22:14:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven.compiler.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${jdk.version}</source>
|
|
|
|
<target>${jdk.version}</target>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Allow for writing tests in Groovy: -->
|
|
|
|
<plugin>
|
2018-07-07 15:28:23 -04:00
|
|
|
<groupId>org.codehaus.gmavenplus</groupId>
|
|
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
2020-02-04 03:10:39 -05:00
|
|
|
<version>${gmavenplus.version}</version>
|
2014-09-18 22:14:22 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2018-07-07 15:28:23 -04:00
|
|
|
<goal>addSources</goal>
|
|
|
|
<goal>addTestSources</goal>
|
2014-09-18 22:14:22 -04:00
|
|
|
<goal>generateStubs</goal>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>generateTestStubs</goal>
|
2018-07-07 15:28:23 -04:00
|
|
|
<goal>compileTests</goal>
|
|
|
|
<goal>removeStubs</goal>
|
|
|
|
<goal>removeTestStubs</goal>
|
2014-09-18 22:14:22 -04:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
2018-07-30 13:44:09 -04:00
|
|
|
<artifactId>groovy</artifactId>
|
2014-09-18 22:14:22 -04:00
|
|
|
<version>${groovy.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2017-10-09 20:15:18 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${surefire.plugin.version}</version>
|
2018-07-30 13:44:09 -04:00
|
|
|
<configuration>
|
|
|
|
<argLine>${surefire.argLine}</argLine>
|
|
|
|
</configuration>
|
2017-10-09 20:15:18 -04:00
|
|
|
</plugin>
|
2014-09-18 22:14:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2017-10-09 20:15:18 -04:00
|
|
|
<version>${failsafe.plugin.version}</version>
|
2014-09-18 22:14:22 -04:00
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IT.java</include>
|
|
|
|
<include>**/*IT.groovy</include>
|
|
|
|
<include>**/*ITCase.java</include>
|
|
|
|
<include>**/*ITCase.groovy</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*ManualIT.java</exclude>
|
|
|
|
<exclude>**/*ManualIT.groovy</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
2015-05-11 16:21:22 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2017-09-02 20:29:36 -04:00
|
|
|
<groupId>org.openclover</groupId>
|
|
|
|
<artifactId>clover-maven-plugin</artifactId>
|
2018-07-12 11:44:14 -04:00
|
|
|
<!--
|
2015-05-11 16:21:22 -04:00
|
|
|
<configuration>
|
2016-07-03 23:38:25 -04:00
|
|
|
<excludes>
|
2018-07-12 11:44:14 -04:00
|
|
|
<!- - leaving out lang as it mostly comes from other sources - ->
|
2017-09-02 20:29:36 -04:00
|
|
|
<exclude>io/jsonwebtoken/lang/*</exclude>
|
2016-07-03 23:38:25 -04:00
|
|
|
</excludes>
|
2018-07-09 16:57:56 -04:00
|
|
|
<methodPercentage>100.000000%</methodPercentage>
|
|
|
|
<statementPercentage>100.000000%</statementPercentage>
|
|
|
|
<conditionalPercentage>100.000000%</conditionalPercentage>
|
|
|
|
<targetPercentage>100.000000%</targetPercentage>
|
2015-05-11 16:21:22 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-09-02 20:29:36 -04:00
|
|
|
<id>clover</id>
|
|
|
|
<phase>test</phase>
|
2015-05-11 16:21:22 -04:00
|
|
|
<goals>
|
2017-09-02 20:29:36 -04:00
|
|
|
<goal>instrument</goal>
|
2018-07-12 11:44:14 -04:00
|
|
|
<goal>aggregate</goal>
|
2017-09-02 20:29:36 -04:00
|
|
|
<goal>clover</goal>
|
2018-07-09 16:57:56 -04:00
|
|
|
<goal>check</goal>
|
2015-05-11 16:21:22 -04:00
|
|
|
</goals>
|
2014-09-18 22:14:22 -04:00
|
|
|
</execution>
|
2018-07-12 11:44:14 -04:00
|
|
|
</executions> -->
|
2014-09-18 22:14:22 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2017-05-13 11:43:43 -04:00
|
|
|
<version>2.5.3</version>
|
2014-09-18 22:14:22 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
|
|
<artifactId>maven-scm-provider-gitexe</artifactId>
|
2017-05-13 11:43:43 -04:00
|
|
|
<version>1.9.5</version>
|
2014-09-18 22:14:22 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<mavenExecutorId>forked-path</mavenExecutorId>
|
|
|
|
<useReleaseProfile>false</useReleaseProfile>
|
2014-09-19 23:31:00 -04:00
|
|
|
<arguments>-Psonatype-oss-release -Pdocs -Psign</arguments>
|
2014-09-18 22:14:22 -04:00
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-04-24 12:20:43 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
2017-05-13 11:43:43 -04:00
|
|
|
<version>3.3.0</version>
|
2015-04-24 12:20:43 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>bundle-manifest</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2016-02-22 16:22:23 -05:00
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2019-09-27 13:52:45 -04:00
|
|
|
<_include>-bnd.bnd</_include>
|
2016-02-22 16:22:23 -05:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
2015-04-24 12:20:43 -04:00
|
|
|
</plugin>
|
2019-10-09 11:15:30 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven.jar.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestFile>
|
|
|
|
${project.build.outputDirectory}/META-INF/MANIFEST.MF
|
|
|
|
</manifestFile>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-09-02 20:29:36 -04:00
|
|
|
<!-- Temporarily host coveralls SNAPSHOT with clover support locally -->
|
2015-10-27 22:01:36 -04:00
|
|
|
<plugin>
|
2021-07-08 21:41:03 -04:00
|
|
|
<groupId>io.jsonwebtoken.coveralls</groupId>
|
2015-10-27 22:01:36 -04:00
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
2021-07-08 21:41:03 -04:00
|
|
|
<version>4.4.1</version>
|
2015-10-27 22:01:36 -04:00
|
|
|
</plugin>
|
2017-09-02 20:29:36 -04:00
|
|
|
<!-- Temporarily host coveralls SNAPSHOT with clover support locally -->
|
2017-10-09 20:15:18 -04:00
|
|
|
|
|
|
|
<!-- Override OSS parent to support Java 9 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-02-04 03:10:39 -05:00
|
|
|
<version>${maven.javadoc.version}</version>
|
2017-10-09 20:15:18 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2020-02-04 03:10:39 -05:00
|
|
|
<configuration>
|
|
|
|
<failOnError>false</failOnError>
|
|
|
|
</configuration>
|
2017-10-09 20:15:18 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- Workaround for Java 9 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2014-09-18 22:14:22 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-09-19 22:00:39 -04:00
|
|
|
<profiles>
|
2014-09-19 23:34:04 -04:00
|
|
|
<profile>
|
2018-07-07 15:28:23 -04:00
|
|
|
<id>nonJDK7</id>
|
2014-09-19 23:34:04 -04:00
|
|
|
<activation>
|
2018-07-07 15:28:23 -04:00
|
|
|
<jdk>[1.8,)</jdk>
|
2014-09-19 23:34:04 -04:00
|
|
|
</activation>
|
|
|
|
<properties>
|
2018-07-07 15:28:23 -04:00
|
|
|
<!-- Turn off JDK >= 8's lint checks: -->
|
2014-09-19 23:34:04 -04:00
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
2020-02-04 03:10:39 -05:00
|
|
|
<gmavenplus.version>1.8.1</gmavenplus.version>
|
|
|
|
<easymock.version>4.2</easymock.version>
|
|
|
|
<powermock.version>2.0.2</powermock.version>
|
2014-09-19 23:34:04 -04:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2018-07-30 13:44:09 -04:00
|
|
|
<profile>
|
|
|
|
<!-- Added profile to address https://github.com/jwtk/jjwt/issues/364 -->
|
|
|
|
<id>jdk9AndLater</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[1.9,)</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<surefire.argLine>--add-opens java.base/jdk.internal.loader=ALL-UNNAMED</surefire.argLine>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-09-19 22:00:39 -04:00
|
|
|
<profile>
|
|
|
|
<id>sign</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2017-05-13 11:43:43 -04:00
|
|
|
<version>1.6</version>
|
2014-09-19 22:00:39 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>docs</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2017-05-13 11:43:43 -04:00
|
|
|
<version>3.0.1</version>
|
2014-09-19 22:00:39 -04:00
|
|
|
<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>
|
2020-02-04 03:10:39 -05:00
|
|
|
<version>${maven.javadoc.version}</version>
|
2014-09-19 22:00:39 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2017-10-09 20:15:18 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- Workaround for Java 9 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-09-19 22:00:39 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-10-27 22:01:36 -04:00
|
|
|
</project>
|