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>
|
|
|
|
<artifactId>jjwt</artifactId>
|
2016-09-12 20:37:12 -04:00
|
|
|
<version>0.8.0-SNAPSHOT</version>
|
2014-09-18 22:14:22 -04:00
|
|
|
<name>JSON Web Token support for the JVM</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<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>
|
2016-09-12 20:37:12 -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
|
|
|
|
2016-09-11 15:48:48 -04:00
|
|
|
<maven.jar.version>3.0.2</maven.jar.version>
|
|
|
|
<maven.compiler.version>3.5.1</maven.compiler.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
|
|
|
<jdk.version>1.6</jdk.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<buildNumber>${user.name}-${maven.build.timestamp}</buildNumber>
|
|
|
|
|
2016-09-11 15:48:48 -04:00
|
|
|
<jackson.version>2.8.2</jackson.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
|
|
|
<!-- Optional Runtime Dependencies: -->
|
2016-09-11 15:48:48 -04:00
|
|
|
<bouncycastle.version>1.55</bouncycastle.version>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
|
|
|
<!-- Test Dependencies: Only required for testing when building. Not required by users at runtime: -->
|
2016-09-11 15:48:48 -04:00
|
|
|
<groovy.version>2.4.7</groovy.version>
|
|
|
|
<logback.version>1.1.7</logback.version>
|
|
|
|
<easymock.version>3.4</easymock.version>
|
2015-05-08 23:22:22 -04:00
|
|
|
<junit.version>4.12</junit.version>
|
2016-09-11 15:48:48 -04:00
|
|
|
<powermock.version>1.6.5</powermock.version>
|
|
|
|
<failsafe.plugin.version>2.19.1</failsafe.plugin.version>
|
2014-09-19 22:00:39 -04:00
|
|
|
|
2014-09-18 22:14:22 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Optional Dependencies: -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<version>${bouncycastle.version}</version>
|
2015-05-07 01:41:53 -04:00
|
|
|
<scope>compile</scope>
|
2014-09-18 22:14:22 -04:00
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2015-04-03 22:06:42 -04:00
|
|
|
<!-- Provided scope: only used in Android environments - not downloaded as a transitive dependency.
|
2015-05-08 23:22:22 -04:00
|
|
|
This dependency is only a stub of the actual implementation, which means we can't use it at test time.
|
|
|
|
An Android environment is required to test for real. -->
|
2015-04-03 22:06:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android</artifactId>
|
|
|
|
<version>4.1.1.4</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
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>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<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>
|
|
|
|
<version>4.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-09-18 22:14:22 -04:00
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-09-19 22:00:39 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
<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>
|
|
|
|
<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>
|
2015-04-24 12:20:43 -04:00
|
|
|
<manifestFile>
|
|
|
|
${project.build.outputDirectory}/META-INF/MANIFEST.MF
|
|
|
|
</manifestFile>
|
2014-09-18 22:14:22 -04:00
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Allow for writing tests in Groovy: -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmaven</groupId>
|
|
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<configuration>
|
|
|
|
<providerSelection>2.0</providerSelection>
|
2014-09-19 23:37:10 -04:00
|
|
|
<source />
|
2014-09-18 22:14:22 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>generateStubs</goal>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>generateTestStubs</goal>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.gmaven.runtime</groupId>
|
|
|
|
<artifactId>gmaven-runtime-2.0</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<version>${groovy.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>2.17</version>
|
|
|
|
<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>
|
2016-07-03 23:38:25 -04:00
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.7.6.201602180812</version>
|
2015-05-11 16:21:22 -04:00
|
|
|
<configuration>
|
2016-07-03 23:38:25 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/io/jsonwebtoken/lang/*</exclude>
|
|
|
|
</excludes>
|
2015-05-11 16:21:22 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-07-03 23:38:25 -04:00
|
|
|
<id>prepare-agent</id>
|
2015-05-11 16:21:22 -04:00
|
|
|
<goals>
|
2016-07-03 23:38:25 -04:00
|
|
|
<goal>prepare-agent</goal>
|
2015-05-11 16:21:22 -04:00
|
|
|
</goals>
|
2014-09-18 22:14:22 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
|
|
<artifactId>maven-scm-provider-gitexe</artifactId>
|
|
|
|
<version>1.9</version>
|
|
|
|
</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>
|
2016-02-22 16:22:23 -05:00
|
|
|
<version>3.0.1</version>
|
2015-04-24 12:20:43 -04:00
|
|
|
<extensions>true</extensions>
|
|
|
|
<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>
|
|
|
|
<Import-Package><![CDATA[
|
|
|
|
android.util;resolution:=optional,
|
|
|
|
org.bouncycastle.jce;resolution:=optional,
|
|
|
|
org.bouncycastle.jce.spec;resolution:=optional,
|
|
|
|
*
|
|
|
|
]]>
|
|
|
|
</Import-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
2015-04-24 12:20:43 -04:00
|
|
|
</plugin>
|
2015-10-27 22:01:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
|
|
<version>4.0.0</version>
|
|
|
|
</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>
|
|
|
|
<id>jdk8</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>1.8</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<!-- Turn off JDK 8's lint checks: -->
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</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>
|
|
|
|
<version>1.5</version>
|
|
|
|
<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>
|
|
|
|
<version>2.3</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>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-10-27 22:01:36 -04:00
|
|
|
</project>
|