Skip to content

Commit 4ef8a8f

Browse files
author
Cristian Douce & Alberto Pose
committed
More pom.xml cleanup.
1 parent 08f3585 commit 4ef8a8f

1 file changed

Lines changed: 58 additions & 50 deletions

File tree

pom.xml

Lines changed: 58 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,69 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>org.sonatype.oss</groupId>
7+
<artifactId>oss-parent</artifactId>
8+
<version>9</version>
9+
</parent>
10+
411
<groupId>com.auth0</groupId>
5-
<artifactId>java-jwt-signer</artifactId>
6-
<version>1.0</version>
7-
<packaging>jar</packaging>
12+
<artifactId>java-jwt</artifactId>
13+
<version>0.3-SNAPSHOT</version>
14+
815
<name>Java JWT</name>
16+
<description>Java implementation of JSON Web Token developed against draft-ietf-oauth-json-web-token-08.</description>
17+
<url>http://www.jwt.io</url>
918

10-
<parent>
11-
<groupId>org.sonatype.oss</groupId>
12-
<artifactId>oss-parent</artifactId>
13-
<version>9</version>
14-
</parent>
19+
<properties>
20+
<java.version>1.6</java.version>
21+
</properties>
22+
23+
<licenses>
24+
<license>
25+
<name>The MIT License</name>
26+
<url>http://www.opensource.org/licenses/mit-license.php</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
1530

16-
<licenses>
17-
<license>
18-
<name>The MIT License</name>
19-
<url>http://www.opensource.org/licenses/mit-license.php</url>
20-
<distribution>repo</distribution>
21-
</license>
22-
</licenses>
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>
2340

24-
<description>Java implementation of JSON Web Token developed against draft-ietf-oauth-json-web-token-08.</description>
25-
<url>http://www.jwt.io</url>
41+
<scm>
42+
<url>https://github.com/auth0/java-jwt</url>
43+
<developerConnection>scm:git:git@github.com:auth0/java-jwt.git</developerConnection>
44+
<connection>scm:git:git@github.com:auth0/java-jwt.git</connection>
45+
</scm>
2646

2747
<dependencies>
28-
<!-- For JWT parsing-->
29-
<dependency>
30-
<groupId>com.fasterxml.jackson.core</groupId>
31-
<artifactId>jackson-databind</artifactId>
32-
<version>2.0.0</version>
33-
</dependency>
34-
<dependency>
35-
<groupId>commons-codec</groupId>
36-
<artifactId>commons-codec</artifactId>
37-
<version>1.4</version>
38-
</dependency>
48+
<!-- For JWT parsing-->
49+
<dependency>
50+
<groupId>com.fasterxml.jackson.core</groupId>
51+
<artifactId>jackson-databind</artifactId>
52+
<version>2.0.0</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>commons-codec</groupId>
56+
<artifactId>commons-codec</artifactId>
57+
<version>1.4</version>
58+
</dependency>
3959

40-
<dependency>
41-
<groupId>junit</groupId>
42-
<artifactId>junit</artifactId>
43-
<version>4.11</version>
44-
<scope>test</scope>
45-
</dependency>
46-
</dependencies>
60+
<dependency>
61+
<groupId>junit</groupId>
62+
<artifactId>junit</artifactId>
63+
<version>4.11</version>
64+
<scope>test</scope>
65+
</dependency>
66+
</dependencies>
4767

4868
<build>
4969
<plugins>
@@ -52,23 +72,11 @@
5272
<artifactId>maven-compiler-plugin</artifactId>
5373
<version>3.1</version>
5474
<configuration>
55-
<source>1.6</source>
56-
<target>1.6</target>
75+
<source>${java.version}</source>
76+
<target>${java.version}</target>
77+
<encoding>UTF-8</encoding>
5778
</configuration>
5879
</plugin>
5980
</plugins>
60-
61-
<sourceDirectory>src/main/java</sourceDirectory>
62-
63-
<resources>
64-
<resource>
65-
<directory>src/main/resources</directory>
66-
<filtering>true</filtering>
67-
<includes>
68-
<include>**/*.xml</include>
69-
<include>**/*.properties</include>
70-
</includes>
71-
</resource>
72-
</resources>
7381
</build>
7482
</project>

0 commit comments

Comments
 (0)