|
1 | | -<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/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | 4 |
|
4 | 5 | <parent> |
|
9 | 10 |
|
10 | 11 | <groupId>com.auth0</groupId> |
11 | 12 | <artifactId>java-jwt</artifactId> |
12 | | - <version>2.1.1-SNAPSHOT</version> |
| 13 | + <version>2.2.1-SNAPSHOT</version> |
13 | 14 |
|
14 | 15 | <name>Java JWT</name> |
15 | | - <description>Java implementation of JSON Web Token developed against draft-ietf-oauth-json-web-token-08.</description> |
| 16 | + <description>Java implementation of JSON Web Token developed against draft-ietf-oauth-json-web-token-08. |
| 17 | + </description> |
16 | 18 | <url>http://www.jwt.io</url> |
17 | 19 |
|
18 | 20 | <properties> |
19 | | - <java.version>1.5</java.version> |
| 21 | + <java.version>1.7</java.version> |
20 | 22 | <repackage.base>com.auth0.jwt.internal</repackage.base> |
21 | 23 | </properties> |
22 | 24 |
|
|
28 | 30 | </license> |
29 | 31 | </licenses> |
30 | 32 |
|
31 | | - <developers> |
32 | | - <developer> |
33 | | - <name>Alberto Pose</name> |
34 | | - <id>pose</id> |
35 | | - <roles> |
36 | | - <role>Developer</role> |
37 | | - </roles> |
38 | | - </developer> |
39 | | - </developers> |
40 | | - |
41 | 33 | <scm> |
42 | 34 | <url>https://github.com/auth0/java-jwt</url> |
43 | 35 | < developerConnection>scm:git: [email protected]:auth0/java-jwt.git</ developerConnection> |
44 | 36 | < connection>scm:git: [email protected]:auth0/java-jwt.git</ connection> |
45 | 37 | </scm> |
46 | 38 |
|
47 | 39 | <dependencies> |
48 | | - <!-- For JWT parsing--> |
| 40 | + |
49 | 41 | <dependency> |
50 | 42 | <groupId>com.fasterxml.jackson.core</groupId> |
51 | 43 | <artifactId>jackson-databind</artifactId> |
52 | 44 | <version>2.0.1</version> |
53 | 45 | </dependency> |
| 46 | + |
| 47 | + <dependency> |
| 48 | + <groupId>org.bouncycastle</groupId> |
| 49 | + <artifactId>bcprov-jdk15on</artifactId> |
| 50 | + <version>1.52</version> |
| 51 | + </dependency> |
| 52 | + |
54 | 53 | <dependency> |
55 | 54 | <groupId>commons-codec</groupId> |
56 | 55 | <artifactId>commons-codec</artifactId> |
57 | 56 | <version>1.4</version> |
58 | 57 | </dependency> |
59 | 58 |
|
| 59 | + <dependency> |
| 60 | + <groupId>org.apache.commons</groupId> |
| 61 | + <artifactId>commons-lang3</artifactId> |
| 62 | + <version>3.4</version> |
| 63 | + </dependency> |
| 64 | + |
| 65 | + <dependency> |
| 66 | + <groupId>org.apache.commons</groupId> |
| 67 | + <artifactId>commons-io</artifactId> |
| 68 | + <version>1.3.2</version> |
| 69 | + </dependency> |
| 70 | + |
| 71 | + <!-- test --> |
| 72 | + |
60 | 73 | <dependency> |
61 | 74 | <groupId>junit</groupId> |
62 | 75 | <artifactId>junit</artifactId> |
63 | 76 | <version>4.11</version> |
64 | 77 | <scope>test</scope> |
65 | 78 | </dependency> |
| 79 | + |
66 | 80 | </dependencies> |
67 | 81 |
|
68 | 82 | <build> |
|
77 | 91 | <encoding>UTF-8</encoding> |
78 | 92 | </configuration> |
79 | 93 | </plugin> |
80 | | - <plugin> |
81 | | - <groupId>org.apache.maven.plugins</groupId> |
82 | | - <artifactId>maven-shade-plugin</artifactId> |
83 | | - <version>2.2</version> |
84 | | - <executions> |
85 | | - <execution> |
86 | | - <phase>package</phase> |
87 | | - <goals> |
88 | | - <goal>shade</goal> |
89 | | - </goals> |
90 | | - <configuration> |
91 | | - <shadedArtifactAttached>false</shadedArtifactAttached> |
92 | | - <createDependencyReducedPom>true</createDependencyReducedPom> |
93 | | - <relocations> |
94 | | - <relocation> |
95 | | - <pattern>com.fasterxml.jackson</pattern> |
96 | | - <shadedPattern>${repackage.base}.com.fasterxml.jackson</shadedPattern> |
97 | | - </relocation> |
98 | | - <relocation> |
99 | | - <pattern>org.apache.commons.codec</pattern> |
100 | | - <shadedPattern>${repackage.base}.org.apache.commons.codec</shadedPattern> |
101 | | - </relocation> |
102 | | - </relocations> |
103 | | - </configuration> |
104 | | - </execution> |
105 | | - </executions> |
106 | | - </plugin> |
| 94 | + <plugin> |
| 95 | + <groupId>org.apache.maven.plugins</groupId> |
| 96 | + <artifactId>maven-shade-plugin</artifactId> |
| 97 | + <version>2.2</version> |
| 98 | + <executions> |
| 99 | + <execution> |
| 100 | + <phase>package</phase> |
| 101 | + <goals> |
| 102 | + <goal>shade</goal> |
| 103 | + </goals> |
| 104 | + <configuration> |
| 105 | + <filters> |
| 106 | + <filter> |
| 107 | + <artifact>*:*</artifact> |
| 108 | + <excludes> |
| 109 | + <exclude>META-INF/*.SF</exclude> |
| 110 | + <exclude>META-INF/*.DSA</exclude> |
| 111 | + <exclude>META-INF/*.RSA</exclude> |
| 112 | + </excludes> |
| 113 | + </filter> |
| 114 | + </filters> |
| 115 | + <shadedArtifactAttached>false</shadedArtifactAttached> |
| 116 | + <createDependencyReducedPom>true</createDependencyReducedPom> |
| 117 | + <relocations> |
| 118 | + <relocation> |
| 119 | + <pattern>com.fasterxml.jackson</pattern> |
| 120 | + <shadedPattern>${repackage.base}.com.fasterxml.jackson</shadedPattern> |
| 121 | + </relocation> |
| 122 | + <relocation> |
| 123 | + <pattern>org.apache.commons.codec</pattern> |
| 124 | + <shadedPattern>${repackage.base}.org.apache.commons.codec</shadedPattern> |
| 125 | + </relocation> |
| 126 | + <relocation> |
| 127 | + <pattern>org.apache.commons.io</pattern> |
| 128 | + <shadedPattern>${repackage.base}.org.apache.commons.io</shadedPattern> |
| 129 | + </relocation> |
| 130 | + <relocation> |
| 131 | + <pattern>org.apache.commons.lang3</pattern> |
| 132 | + <shadedPattern>${repackage.base}.org.apache.commons.lang3</shadedPattern> |
| 133 | + </relocation> |
| 134 | + <relocation> |
| 135 | + <pattern>org.bouncycastle</pattern> |
| 136 | + <shadedPattern>${repackage.base}.org.bouncycastle</shadedPattern> |
| 137 | + </relocation> |
| 138 | + </relocations> |
| 139 | + </configuration> |
| 140 | + </execution> |
| 141 | + </executions> |
| 142 | + </plugin> |
107 | 143 | </plugins> |
108 | 144 | </build> |
109 | 145 | </project> |
0 commit comments