Skip to content

Commit d05f71d

Browse files
committed
refactor(maven): making use of the dropwizard-bom for consistent versions
1 parent 3a7510d commit d05f71d

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

pom.xml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.toastshaman</groupId>
88
<artifactId>dropwizard-auth-jwt</artifactId>
9-
<version>0.9.0-0-SNAPSHOT</version>
9+
<version>0.9.1-0</version>
1010
<name>dropwizard-auth-jwt</name>
1111
<description>
1212
An implementation of the JSON Web Token (JWT) draft-ietf-oauth-json-web-token-20 for Dropwizard.
@@ -17,8 +17,6 @@
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1919
<dropwizard.version>0.9.0</dropwizard.version>
20-
<jersey.version>2.22.1</jersey.version>
21-
<assertj.version>2.1.0</assertj.version>
2220
</properties>
2321

2422
<licenses>
@@ -59,6 +57,18 @@
5957
<url>https://travis-ci.org/ToastShaman/dropwizard-auth-jwt</url>
6058
</ciManagement>
6159

60+
<dependencyManagement>
61+
<dependencies>
62+
<dependency>
63+
<groupId>io.dropwizard</groupId>
64+
<artifactId>dropwizard-bom</artifactId>
65+
<version>${dropwizard.version}</version>
66+
<type>pom</type>
67+
<scope>import</scope>
68+
</dependency>
69+
</dependencies>
70+
</dependencyManagement>
71+
6272
<dependencies>
6373
<dependency>
6474
<groupId>io.dropwizard</groupId>
@@ -74,19 +84,17 @@
7484
<dependency>
7585
<groupId>org.assertj</groupId>
7686
<artifactId>assertj-core</artifactId>
77-
<version>${assertj.version}</version>
87+
<version>2.1.0</version>
7888
<scope>test</scope>
7989
</dependency>
8090
<dependency>
8191
<groupId>org.glassfish.jersey.test-framework</groupId>
8292
<artifactId>jersey-test-framework-core</artifactId>
83-
<version>${jersey.version}</version>
8493
<scope>test</scope>
8594
</dependency>
8695
<dependency>
8796
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
8897
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
89-
<version>${jersey.version}</version>
9098
<scope>test</scope>
9199
</dependency>
92100
</dependencies>
@@ -190,5 +198,5 @@
190198
</build>
191199
</profile>
192200
</profiles>
193-
201+
194202
</project>

0 commit comments

Comments
 (0)